]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/deb/dpkgpm.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 31 Jan 2008 09:06:00 +0000 (10:06 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 31 Jan 2008 09:06:00 +0000 (10:06 +0100)
  - merged patch from Kees Cook to fix anoying upper-case display
    on amd64 in sbuild

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

index 34e166447684276082ddadec7168a7bdbb27927e..bc15b88195cc163ad7dd79dedaa5972174db1a1f 100644 (file)
@@ -702,14 +702,16 @@ bool pkgDPkgPM::Go(int OutStatusFd)
       sighandler_t old_SIGINT = signal(SIGINT,SIG_IGN);
 
       struct   termios tt;
+      struct   termios tt_out;
       struct   winsize win;
       int      master;
       int      slave;
 
       // FIXME: setup sensible signal handling (*ick*)
       tcgetattr(0, &tt);
+      tcgetattr(1, &tt_out);
       ioctl(0, TIOCGWINSZ, (char *)&win);
-      if (openpty(&master, &slave, NULL, &tt, &win) < 0) 
+      if (openpty(&master, &slave, NULL, &tt_out, &win) < 0) 
       {
         const char *s = _("Can not write log, openpty() "
                           "failed (/dev/pts not mounted?)\n");
index 92fdcf57c5d0e56659870cb27241e9f19c78a851..d0e0c754d2bdd6ea5eb92e7cf47680eda8a0ad96 100644 (file)
@@ -13,6 +13,9 @@ apt (0.7.11) UNRELEASED; urgency=low
     - add support for a master-keyring that contains signing keys
       that can be used to sign the archive signing keys. This should
       make key-rollover easier.
+  * apt-pkg/deb/dpkgpm.cc:
+    - merged patch from Kees Cook to fix anoying upper-case display
+      on amd64 in sbuild
 
  -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 10 Jan 2008 12:06:12 +0100