]> Dogcows Code - chaz/tar/commit
Do not try to drain the input pipe before closing the archive.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 25 Nov 2008 12:33:28 +0000 (12:33 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 25 Nov 2008 12:33:28 +0000 (12:33 +0000)
commit7f6e6e6a3e4e9a66f86f0c781da0680a438df61a
tree619d3a8dbfe55a5e0c3a59379407664ed5d7bbbe
parent99e3a2604f3872b94d53bfdadd2cad5d299c739d
Do not try to drain the input pipe before closing the archive.

* src/buffer.c (close_archive): Remove call to
sys_drain_input_pipe. Pass hit_eof as the second
argument to sys_wait_for_child.
* src/common.h (sys_drain_input_pipe): Remove
(sys_wait_for_child): Declare second argument.
* src/system.c (sys_drain_input_pipe): Remove.
(sys_wait_for_child): Take two arguments. The second one helps to
decide whether to tolerate child termination on SIGPIPE.
ChangeLog
src/buffer.c
src/common.h
src/system.c
This page took 0.024018 seconds and 4 git commands to generate.