summaryrefslogtreecommitdiffstats
path: root/HACKING
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 /HACKING
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 'HACKING')
0 files changed, 0 insertions, 0 deletions