* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
authorDJ Delorie <dj@redhat.com>
Fri, 26 May 2000 18:46:47 +0000 (18:46 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 26 May 2000 18:46:47 +0000 (18:46 +0000)
binutils/ChangeLog
binutils/resrc.c

index ec322db1f53200c9c3ad71582e65ced4e3b56847..9bc3c191bad48821ea33766282728b6151adf1b9 100644 (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"
index 8c3c9a74d2241eb766754fdb7f55f6116be8ab07..814809e240af7c043cedfbac11f89dc4c02dea17 100644 (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)
     {
This page took 0.032564 seconds and 4 git commands to generate.