* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
This commit is contained in:
parent
2114f57b93
commit
3b35ec75cb
2 changed files with 8 additions and 1 deletions
|
@ -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>
|
2000-05-26 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
* Makefile.am: Update dependencies with "make dep-am"
|
* Makefile.am: Update dependencies with "make dep-am"
|
||||||
|
|
|
@ -499,7 +499,10 @@ static void
|
||||||
close_input_stream ()
|
close_input_stream ()
|
||||||
{
|
{
|
||||||
if (cpp_pipe != NULL)
|
if (cpp_pipe != NULL)
|
||||||
pclose (cpp_pipe);
|
{
|
||||||
|
pclose (cpp_pipe);
|
||||||
|
cpp_pipe = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (istream_type == ISTREAM_FILE)
|
if (istream_type == ISTREAM_FILE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue