diff options
author | Michael Vogt <mvo@debian.org> | 2014-05-29 12:23:51 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-05-29 12:23:51 +0200 |
commit | 7adaab0430308a17f1db279f0ebbed8068dd4308 (patch) | |
tree | 47ee7ee7506b363c80939037833ae933ea300633 /apt-pkg/deb/dpkgpm.cc | |
parent | e1a69e71efc0679815f722480169f16bf02622ab (diff) | |
parent | b29599105ed9a5bb38b55cb066ef81256d66be41 (diff) |
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index e410594df..613a4de9f 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -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); |