Bug#61976: dead lock between apt-get and cdrom.
Package: apt
Version: 0.3.18
fix a typo. this typo causes deadlock between
/usr/bin/apt-get and /usr/lib/apt/methods/cdrom.
diff -ur apt-0.3.18.old/apt-pkg/acquire-worker.cc apt-0.3.18/apt-pkg/acquire-worker.cc
--- apt-0.3.18.old/apt-pkg/acquire-worker.cc Tue Feb 1 05:11:09 2000
+++ apt-0.3.18/apt-pkg/acquire-worker.cc Fri Apr 7 22:54:35 2000
@@ -117,7 +117,7 @@
return false;
}
for (int I = 0; I != 4; I++)
- SetCloseExec(Pipes[0],true);
+ SetCloseExec(Pipes[I],true);
// Fork off the process
Process = ExecFork();
-----
NAKANO Hideo mancini@tk2.nmt.ne.jp
Reply to: