prevent core dump when the input file is not present
authorceriel <none@none>
Tue, 15 Aug 1989 09:06:26 +0000 (09:06 +0000)
committerceriel <none@none>
Tue, 15 Aug 1989 09:06:26 +0000 (09:06 +0000)
util/misc/convert.c

index a599b97..9306dfd 100644 (file)
@@ -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);
 }