]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
Merge EDSP 0.5 w/ multi-arch support for external solvers
[apt.git] / apt-pkg / deb / dpkgpm.cc
index e410594df7717a9416f64487d342334834d8827d..613a4de9fff75e2963d3d6618bc9859900e104c7 100644 (file)
@@ -1438,7 +1438,8 @@ bool pkgDPkgPM::GoNoABIBreak(APT::Progress::PackageManager *progress)
 
         if (_config->FindB("DPkg::FlushSTDIN",true) == true && isatty(STDIN_FILENO))
         {
-           int Flags,dummy;
+           int Flags;
+            int dummy = 0;
            if ((Flags = fcntl(STDIN_FILENO,F_GETFL,dummy)) < 0)
               _exit(100);