]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/deb/dpkgpm.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 12 Mar 2010 09:16:11 +0000 (10:16 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 12 Mar 2010 09:16:11 +0000 (10:16 +0100)
  - fix backgrounding when dpkg runs (closes: #486222)
* cmdline/apt-mark:
  - show error on incorrect aguments (LP: #517917), thanks to
    Torsten Spindler

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

index f220e2bce936d4b8e2811a8b8393c226b950a44c..8ecb683d4e0d8dca01280098d8d6a761c9c83c34 100644 (file)
@@ -958,6 +958,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 2326ece38eb513a459447bc9effb5142eaddde0f..466a56f274e844073daffb4e5c21394df2088c47 100755 (executable)
@@ -82,6 +82,9 @@ if __name__ == "__main__":
     else:
         STATE_FILE=options.filename
 
+    if len(args) == 0:
+        parser.error("first argument must be 'markauto', 'unmarkauto' or 'showauto'")
+
     if args[0] == "showauto":
         show_automatic(STATE_FILE)
     else:
index 8af45b1a9f934a98520b4f09b28d4121f85559ea..7b20178ac7974b9bf31af40053fa32b2d9322769 100644 (file)
@@ -12,6 +12,11 @@ apt (0.7.25.3ubuntu2) UNRELEASED; urgency=low
   * debian/apt.conf.autoremove:
     - add "oldlibs" to the APT::Never-MarkAuto-Sections as its used
       for transitional packages
+  * apt-pkg/deb/dpkgpm.cc:
+    - fix backgrounding when dpkg runs (closes: #486222)
+  * cmdline/apt-mark:
+    - show error on incorrect aguments (LP: #517917), thanks to
+      Torsten Spindler
 
   [ Robert Collins ]
   * Change the package index Info methods to allow apt-cache policy to be