projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956af06
)
(handler): Check whether c_file and o_file are 0.
author
Richard Stallman
<rms@gnu.org>
Thu, 5 Aug 1993 04:06:59 +0000
(
04:06
+0000)
committer
Richard Stallman
<rms@gnu.org>
Thu, 5 Aug 1993 04:06:59 +0000
(
04:06
+0000)
From-SVN: r5073
gcc/collect2.c
patch
|
blob
|
history
diff --git
a/gcc/collect2.c
b/gcc/collect2.c
index 83821dc2915b6132a42dc476cf47c80f65e6d967..b50ab77bf1112a8e000097329e3800fffda5a21f 100644
(file)
--- a/
gcc/collect2.c
+++ b/
gcc/collect2.c
@@
-330,10
+330,10
@@
static void
handler (signo)
int signo;
{
- if (c_file[0])
+ if (c_file
!= 0 && c_file
[0])
maybe_unlink (c_file);
- if (o_file[0])
+ if (o_file
!= 0 && o_file
[0])
maybe_unlink (o_file);
signal (signo, SIG_DFL);