From: Jim Wilson Date: Wed, 24 Apr 1996 21:46:55 +0000 (-0700) Subject: (handler): Delete export_file when we get a signal. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=421a668df6261f5522ffaf033e0aef7a12fc72a4;p=gcc.git (handler): Delete export_file when we get a signal. From-SVN: r11881 --- diff --git a/gcc/collect2.c b/gcc/collect2.c index 59ea363a5ab..25cd99e20fe 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -433,6 +433,9 @@ handler (signo) if (ldout != 0 && ldout[0]) maybe_unlink (ldout); + if (export_file != 0 && export_file[0]) + maybe_unlink (export_file); + signal (signo, SIG_DFL); kill (getpid (), signo); }