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

patch for \write-1 for trunk (A. Kakuto)

parent ab25f7e7
Branches
Tags
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.
Please register or to comment