diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-11-28 00:38:26 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-11-28 00:38:26 -0800 |
commit | 4d5a53b6f2811e82e313b979e4b53fd2071f2107 (patch) | |
tree | c474222a44f186d24b96070da60ea75416ec93af /ChangeLog | |
parent | 900322c2c899af14b991bcbf324b44a0ea7e163e (diff) | |
download | txr-4d5a53b6f2811e82e313b979e4b53fd2071f2107.tar.gz txr-4d5a53b6f2811e82e313b979e4b53fd2071f2107.tar.bz2 txr-4d5a53b6f2811e82e313b979e4b53fd2071f2107.zip |
* stream.c (struct stdio_handle): New member, mode.
(stdio_stream_mark): Mark the new member during gc.
(stdio_seek): When we seek, we should reset the utf8 machine.
(tail_strategy): New function.
(tail_get_line, tail_get_char, tail_get_byte): Use
tail_strategy for polling the file at EOF.
(open_tail): Store the mode in the file handle.
* utf8.c (w_freopen): New function.
* utf8.h (w_freopen): Declared.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2013-11-28 Kaz Kylheku <kaz@kylheku.com> + + * stream.c (struct stdio_handle): New member, mode. + (stdio_stream_mark): Mark the new member during gc. + (stdio_seek): When we seek, we should reset the utf8 machine. + (tail_strategy): New function. + (tail_get_line, tail_get_char, tail_get_byte): Use + tail_strategy for polling the file at EOF. + (open_tail): Store the mode in the file handle. + + * utf8.c (w_freopen): New function. + + * utf8.h (w_freopen): Declared. + 2013-11-27 Kaz Kylheku <kaz@kylheku.com> * Makefile (conftest.clean): Use @ to suppress output. |