diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-28 21:49:56 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-28 21:49:56 -0800 |
commit | 1f4a36cb97cb259ce8209de52229f33b341af9cd (patch) | |
tree | c2494be90cd499e28d0b354b9f275e609f2570b5 /mpi-patches/use-txr-allocator | |
parent | 7266ebf56acbd34978d8bb99a2a87a15d0afdea9 (diff) | |
download | txr-1f4a36cb97cb259ce8209de52229f33b341af9cd.tar.gz txr-1f4a36cb97cb259ce8209de52229f33b341af9cd.tar.bz2 txr-1f4a36cb97cb259ce8209de52229f33b341af9cd.zip |
* stream.c (struct stdio_handle): New member, is_rotated.
Moved mode member down.
(make_stdio_stream_common): Initialize is_rotated.
(tail_strategy): Substantially rewritten in order to address
a possible race condition, when a file is rotated.
The issue is that even when the file disappears, or when the file has
been replaced, we must continue reading from the old stream until the
end, and only then can we switch to the newly rotated file.
Diffstat (limited to 'mpi-patches/use-txr-allocator')
0 files changed, 0 insertions, 0 deletions