summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-02 07:41:37 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-02 07:41:37 -0800
commit4c6209c7cceac38a0ce852d3d0990a6f098be87a (patch)
tree3623d0ea6607b6e383a440ef1ca180e106885cec /ChangeLog
parentfb9aba2ed5f2cb69da4737f1f65949da81af6b94 (diff)
downloadtxr-4c6209c7cceac38a0ce852d3d0990a6f098be87a.tar.gz
txr-4c6209c7cceac38a0ce852d3d0990a6f098be87a.tar.bz2
txr-4c6209c7cceac38a0ce852d3d0990a6f098be87a.zip
* 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. (make_stdio_stream_common): Do not use the FILE * handle if it is null. (open_tail): Do not open the file immediately and error out. This is undesirable because log files might not exist at the time open_tail is called on them. Instead, produce a stream which contains a null file handle, and use tail_strategy to poll for the file to come into existence. * utf8.c (w_freopen): Just in case freopen doesn't like a null pointer for the existing stream, use fopen instead if that is the case.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ca50a21c..ed2b531b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
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.
+ (make_stdio_stream_common): Do not use the FILE * handle if it is null.
+ (open_tail): Do not open the file immediately and error out.
+ This is undesirable because log files might not exist at the time
+ open_tail is called on them. Instead, produce a stream which contains
+ a null file handle, and use tail_strategy to poll for the file
+ to come into existence.
+
+ * utf8.c (w_freopen): Just in case freopen doesn't like a null
+ pointer for the existing stream, use fopen instead if that is the case.
+
+2013-12-02 Kaz Kylheku <kaz@kylheku.com>
+
* genvim.txr: Missing catch and finally keywords added.
* txr.vim: Regenerated.