projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2114f57
)
* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
author
DJ Delorie
<dj@redhat.com>
Fri, 26 May 2000 18:46:47 +0000
(18:46 +0000)
committer
DJ Delorie
<dj@redhat.com>
Fri, 26 May 2000 18:46:47 +0000
(18:46 +0000)
binutils/ChangeLog
patch
|
blob
|
history
binutils/resrc.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index
ec322db
..
9bc3c19
100644
(file)
--- a/
binutils/ChangeLog
+++ b/
binutils/ChangeLog
@@
-1,3
+1,7
@@
+2000-05-25 DJ Delorie <dj@cygnus.com>
+
+ * resrc.c (close_input_stream): zero out cpp_pipe after closing it.
+
2000-05-26 Alan Modra <alan@linuxcare.com.au>
* Makefile.am: Update dependencies with "make dep-am"
diff --git
a/binutils/resrc.c
b/binutils/resrc.c
index
8c3c9a7
..
814809e
100644
(file)
--- a/
binutils/resrc.c
+++ b/
binutils/resrc.c
@@
-499,7
+499,10
@@
static void
close_input_stream ()
{
if (cpp_pipe != NULL)
- pclose (cpp_pipe);
+ {
+ pclose (cpp_pipe);
+ cpp_pipe = NULL;
+ }
if (istream_type == ISTREAM_FILE)
{