* messages.c (as_fatal): Apply 2001-01-15 change and followup

to second copy of function.
This commit is contained in:
Alan Modra
2009-11-02 02:01:15 +00:00
parent a2a375b55b
commit 8c16928a3e
2 changed files with 7 additions and 0 deletions

View File

@@ -383,6 +383,8 @@ as_fatal (format, va_alist)
vfprintf (stderr, format, args);
(void) putc ('\n', stderr);
va_end (args);
if (out_file_name != NULL)
unlink_if_ordinary (out_file_name);
xexit (EXIT_FAILURE);
}
#endif /* not NO_STDARG */