[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#40977: strace output of dpkg -i



VALETTE Eric writes ("Bug#40977: strace output of dpkg -i "):
> [pid 20931] write(2, "dpkg-deb: subprocess paste kille"..., 58dpkg-deb: subprocess paste killed by signal (Broken pipe)

Thanks for the report.  The fix is this:

diff -u -r1.1 extract.c
--- dpkg-deb/extract.c	1998/10/25 22:24:30	1.1
+++ dpkg-deb/extract.c	1999/07/21 20:09:44
@@ -283,7 +283,7 @@
   }
   
   waitsubproc(c2,"gzip -dc",1);
-  if (c1 != -1) waitsubproc(c1,"paste",0);
+  if (c1 != -1) waitsubproc(c1,"paste",1);
   if (oldformat && admininfo) {
     if (versionnum == 0.931F) {
       movecontrolfiles(OLDOLDDEBDIR);

If someone would like to put that in an NMU, that would be great.

I've fixed it in my tree.

Thanks,
Ian.


Reply to: