@@ -1,3 +1,9 @@
+Wed Dec 20 12:50:55 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * main/processarc.c: revert change from Adam: reading the trailing
+ zeroes is essential, not reading them can give us a SIGPIPE
+ on extracting.
Wed Dec 20 02:41:39 CST 2000 Adam Heath <doogie@debian.org>
* dpkg-deb/build.c, dpkg-deb/extract.c, dpkg-deb/info.c,
@@ -525,6 +525,7 @@ void process_archive(const char *filename) {
ohshite(_("corrupted filesystem tarfile - corrupted package archive"));
}
+ fd_null_copy(tc.backendpipe,-1,_("dpkg-deb: zap possible trailing zeros"));
close(tc.backendpipe);
waitsubproc(c1,BACKEND " --fsys-tarfile",1);