diff options
author | Alan Modra <amodra@gmail.com> | 2009-11-02 02:01:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-11-02 02:01:15 +0000 |
commit | 8c16928a3ece8ac17bf117ce69e250d0faecf1fa (patch) | |
tree | b2c5adb7887baf685955df6ebc90abbe3e38d2c2 /gas/messages.c | |
parent | a2a375b55ba1acd6276c89e292ced3eeb9cd1c4f (diff) | |
download | gdb-8c16928a3ece8ac17bf117ce69e250d0faecf1fa.zip gdb-8c16928a3ece8ac17bf117ce69e250d0faecf1fa.tar.gz gdb-8c16928a3ece8ac17bf117ce69e250d0faecf1fa.tar.bz2 |
* messages.c (as_fatal): Apply 2001-01-15 change and followup
to second copy of function.
Diffstat (limited to 'gas/messages.c')
-rw-r--r-- | gas/messages.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/messages.c b/gas/messages.c index 69fcf78..396d364 100644 --- a/gas/messages.c +++ b/gas/messages.c @@ -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 */ |