2000-06-13 H.J. Lu <hjl@gnu.org>
[binutils-gdb.git] / binutils / resrc.c
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)
     {