From 26a8bcfb8d95e0a7c9e08884deeb96b61b2ff22a Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 15 Aug 1989 09:06:26 +0000 Subject: [PATCH] prevent core dump when the input file is not present --- util/misc/convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/misc/convert.c b/util/misc/convert.c index a599b976..9306dfdb 100644 --- a/util/misc/convert.c +++ b/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); }