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

This commit is contained in:
DJ Delorie 2000-05-26 18:46:47 +00:00
parent 2114f57b93
commit 3b35ec75cb
2 changed files with 8 additions and 1 deletions

View File

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

View File

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