Commit f9467be3 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

Include blockinput.h.

(Fredirect_debugging_output): Add BLOCK_INPUT around fclose.
parent 66cd0949
......@@ -33,6 +33,7 @@ Boston, MA 02110-1301, USA. */
#include "dispextern.h"
#include "termchar.h"
#include "intervals.h"
#include "blockinput.h"
Lisp_Object Vstandard_output, Qstandard_output;
......@@ -976,7 +977,11 @@ append to existing target file. */)
Lisp_Object file, append;
{
if (initial_stderr_stream != NULL)
fclose (stderr);
{
BLOCK_INPUT;
fclose (stderr);
UNBLOCK_INPUT;
}
stderr = initial_stderr_stream;
initial_stderr_stream = NULL;
......
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