Przeglądaj źródła

prevent core dump when the input file is not present

ceriel 35 lat temu
rodzic
commit
9407523510
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      util/misc/convert.c

+ 1 - 1
util/misc/convert.c

@@ -84,7 +84,7 @@ error(s,a1,a2,a3,a4)
 fatal(s,a1,a2,a3,a4)
 	char *s;
 {
-	C_close();
+	if (C_busy()) C_close();
 	error(s,a1,a2,a3,a4);
 	exit(1);
 }