summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.h
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-11-26 15:44:46 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2007-11-26 15:44:46 -0200
commit9983591d172ba5ded02b4e697e655429546e4966 (patch)
tree23535df8d84a635b6144a1fd3b51f9566dce659a /apt-pkg/deb/dpkgpm.h
parent60aeb838d1ae47dc66eb862e4bedba065e712de8 (diff)
* Applied patch from Aurelien Jarno <aurel32@debian.org> to avoid CPU
getting crazy when /dev/null is redirected to stdin (which breaks buildds), closes: #452858.
Diffstat (limited to 'apt-pkg/deb/dpkgpm.h')
-rw-r--r--apt-pkg/deb/dpkgpm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h
index b7f45b978..81a888f05 100644
--- a/apt-pkg/deb/dpkgpm.h
+++ b/apt-pkg/deb/dpkgpm.h
@@ -23,6 +23,8 @@ class pkgDPkgPM : public pkgPackageManager
{
private:
+ bool stdin_is_dev_null;
+
// the buffer we use for the dpkg status-fd reading
char dpkgbuf[1024];
int dpkgbuf_pos;