diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-04-24 14:46:55 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-04-24 14:46:55 -0700 |
commit | 421a668df6261f5522ffaf033e0aef7a12fc72a4 (patch) | |
tree | 96666d21b1b3b7219f6927e0ae481f3c545d0549 | |
parent | 83cd71472b9fbd93712352ca4bcc58aa910cd6a8 (diff) | |
download | gcc-421a668df6261f5522ffaf033e0aef7a12fc72a4.zip gcc-421a668df6261f5522ffaf033e0aef7a12fc72a4.tar.gz gcc-421a668df6261f5522ffaf033e0aef7a12fc72a4.tar.bz2 |
(handler): Delete export_file when we get a signal.
From-SVN: r11881
-rw-r--r-- | gcc/collect2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 59ea363..25cd99e 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); } |