Просмотр исходного кода

* apt-pkg/deb/dpkgpm.cc:
- revert the change by Kees again for the amd64 ALL-CAPS problem

Michael Vogt лет назад: 17
Родитель
Сommit
51f07d3215
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      apt-pkg/deb/dpkgpm.cc

+ 1 - 3
apt-pkg/deb/dpkgpm.cc

@@ -782,16 +782,14 @@ bool pkgDPkgPM::Go(int OutStatusFd)
       sighandler_t old_SIGHUP = signal(SIGHUP,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_out, &win) < 0) 
+      if (openpty(&master, &slave, NULL, &tt, &win) < 0) 
       {
 	 const char *s = _("Can not write log, openpty() "
 			   "failed (/dev/pts not mounted?)\n");