Commit 2c157f35 authored by John van Groningen's avatar John van Groningen
Browse files

restore some code for reopening files that was accidently removed

parent 5005d45d
......@@ -3840,8 +3840,14 @@ BECloseFiles (void)
std_error_file_p = stderr;
#else
fclose (StdError);
StdErrorReopened = False;
if (StdOutReopened)
#endif
StdErrorReopened = False;
}
if (StdOutReopened){
#ifdef _SUN_
fclose (std_out_file_p);
std_out_file_p = stdout;
#else
fclose (StdOut);
#endif
StdOutReopened = False;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment