diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-12-02 19:25:21 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-12-02 19:25:21 -0800 |
commit | b00d0ecc4bb4e881f675af2cead432ae99e98180 (patch) | |
tree | 9bec77756322d4f5887418a8d7c24a80363cc8a7 | |
parent | 4c6209c7cceac38a0ce852d3d0990a6f098be87a (diff) | |
download | txr-b00d0ecc4bb4e881f675af2cead432ae99e98180.tar.gz txr-b00d0ecc4bb4e881f675af2cead432ae99e98180.tar.bz2 txr-b00d0ecc4bb4e881f675af2cead432ae99e98180.zip |
* stream.c (stdio_set_prop): Fix reversed boolean.
-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; |