Skip to content
Snippets Groups Projects
Commit c9f3b346 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

patch for \write-1 for tag 0.95.0 (A. Kakuto)

parent 8d75068d
No related branches found
No related tags found
No related merge requests found
......@@ -525,7 +525,7 @@ void write_out(halfword p)
expand_macros_in_tokenlist(p);
old_setting = selector;
j = write_stream(p);
if (write_open[j]) {
if (file_can_be_written(j)) {
selector = j;
} else if ((j == term_only) && (selector == term_and_log)) {
/* write to the terminal if file isn't open */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment