* apt-pkg/deb/dpkgpm.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 25 Feb 2010 12:29:41 +0000 (13:29 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 25 Feb 2010 12:29:41 +0000 (13:29 +0100)
  - fix backgrounding when dpkg runs (closes: #486222)

apt-pkg/deb/dpkgpm.cc
debian/changelog

index 9d144a2..8abe3f5 100644 (file)
@@ -946,6 +946,7 @@ bool pkgDPkgPM::Go(int OutStatusFd)
            rtt = tt;
            cfmakeraw(&rtt);
            rtt.c_lflag &= ~ECHO;
+           rtt.c_lflag |= ISIG;
            // block SIGTTOU during tcsetattr to prevent a hang if
            // the process is a member of the background process group
            // http://www.opengroup.org/onlinepubs/000095399/functions/tcsetattr.html
index bfdf793..fb378b5 100644 (file)
@@ -17,6 +17,8 @@ apt (0.7.25.4) UNRELEASED; urgency=low
   * abicheck/
     - add new abitest tester using the ABI Compliance Checker from
       http://ispras.linuxfoundation.org/index.php/ABI_compliance_checker
+  * apt-pkg/deb/dpkgpm.cc:
+    - fix backgrounding when dpkg runs (closes: #486222)
 
   [ Robert Collins ]
   * Change the package index Info methods to allow apt-cache policy to be