diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stream.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2013-12-02 Kaz Kylheku <kaz@kylheku.com> + * stream.c (stdio_set_prop): Fix reversed boolean. + +2013-12-02 Kaz Kylheku <kaz@kylheku.com> + * stream.c (tail_strategy): Execute the strategy code also in the case that the stream's FILE * handle is null. This handles opening the file for the first time. @@ -241,7 +241,7 @@ static val stdio_set_prop(val stream, val ind, val prop) { if (ind == real_time_k) { struct stdio_handle *h = (struct stdio_handle *) stream->co.handle; - h->is_real_time = prop ? 0 : 1; + h->is_real_time = prop ? 1 : 0; return t; } return nil; |