* 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

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