--- hatari/src/uae-cpu/build68k.c 2019/04/01 07:15:37 1.1.1.6 +++ hatari/src/uae-cpu/build68k.c 2019/04/09 08:47:25 1.1.1.7 @@ -10,7 +10,7 @@ * This file is distributed under the GNU Public License, version 2 or at * your option any later version. Read the file gpl.txt for details. */ -const char Build68k_rcsid[] = "Hatari $Id: build68k.c,v 1.1.1.6 2019/04/01 07:15:37 root Exp $"; +const char Build68k_fileid[] = "Hatari build68k.c : " __DATE__ " " __TIME__; #include #include @@ -210,7 +210,11 @@ int main(int argc, char **argv) if (nextch != ':') abort(); - fgets(opcstr, 250, tablef); + if (fgets(opcstr, 250, tablef) == NULL) { + perror("fgets"); + return -1; + } + getnextch(); { int j;