tags 532570 patch
thanks

Patch. I cleaned the autoconf cruft from it, please fix that.

Bastian
diff -u tar-1.22/debian/changelog tar-1.22/debian/changelog
--- tar-1.22/debian/changelog
+++ tar-1.22/debian/changelog
@@ -1,3 +1,10 @@
+tar (1.22-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Set SIGPIPE to default action.
+
+ -- Bastian Blank <wa...@debian.org>  Wed, 10 Jun 2009 11:12:47 +0200
+
 tar (1.22-1) unstable; urgency=low
 
   * new upstream version
--- tar-1.22.orig/src/system.c
+++ tar-1.22/src/system.c
@@ -470,6 +470,10 @@
 
   program_name = _("tar (child)");
 
+  /* We need the default SIGPIPE behaviour in our subprocesses */
+
+  signal (SIGPIPE, SIG_DFL);
+
   xdup2 (parent_pipe[PWRITE], STDOUT_FILENO);
   xclose (parent_pipe[PREAD]);
 

Attachment: signature.asc
Description: Digital signature

Reply via email to