Browse Source

* resrc.c (close_input_stream): zero out cpp_pipe after closing it.

binutils-2_11-branch
DJ Delorie 27 years ago
parent
commit
3b35ec75cb
  1. 4
      binutils/ChangeLog
  2. 5
      binutils/resrc.c

4
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"

5
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)
{

Loading…
Cancel
Save