Fix undesired error exit on receiving SIGPIPE.
* src/tar.c: Do not ignore SIGPIPE. * tests/sigpipe.at: New testcase. * tests/Makefile.am, tests/testsuite.at: Add sigpipe.at * tests/remfiles01.at: Fix error code expectation. * NEWS: Update.
This commit is contained in:
10
NEWS
10
NEWS
@@ -1,10 +1,18 @@
|
||||
GNU tar NEWS - User visible changes. 2010-03-17
|
||||
GNU tar NEWS - User visible changes. 2010-03-20
|
||||
Please send GNU tar bug reports to <bug-tar@gnu.org>
|
||||
|
||||
|
||||
|
||||
* Bugfixes.
|
||||
|
||||
** Spurious error diagnostics on broken pipe.
|
||||
|
||||
When receiving SIGPIPE, tar would exit with error status and
|
||||
"write error" diagnostics. In particular, this occurred if
|
||||
invoked as in the example below:
|
||||
|
||||
tar tf archive.tar | head -n 1
|
||||
|
||||
** --remove-files
|
||||
|
||||
Tar --remove-files failed to remove a directory which contained
|
||||
|
||||
Reference in New Issue
Block a user