]> git.tue.mpg.de Git - paraslash.git/commitdiff
interactive: Do not close stderr in i9e_close().
authorAndre Noll <maan@systemlinux.org>
Mon, 9 Apr 2012 04:12:14 +0000 (06:12 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2012 19:28:27 +0000 (20:28 +0100)
Closing stderr prevents further log messages from being printed.

interactive.c

index 68891ac10a4f0a48e491a0eaf2c82033a36335ae..2c9de322eaca6f0f023a41e8c39b96f997685dc6 100644 (file)
@@ -196,7 +196,6 @@ void i9e_close(void)
        fprintf(i9ep->stderr_stream, "\n");
        if (hf)
                write_history(hf);
-       fclose(i9ep->stderr_stream);
 }
 
 static void wipe_bottom_line(void)