From 940752351014e456be7eb635561e109175910a3f 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 a599b9765..9306dfdba 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); }