summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-09-11 20:28:47 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-09-11 20:28:47 +0200
commite43312cf4e19bd3eab15a4f43a586e2ab28c9763 (patch)
tree086be474148b2d90cc3ea1f1d79f363721ce91c3 /apt-pkg/deb/dpkgpm.cc
parenta44aeb52f0476ed56feff82b1cfd2fa84e7a1223 (diff)
parentda50ba30b371f21f264c040ca9f2161771d55233 (diff)
* apt-pkg/acquire.cc:
- increase MaxPipeDepth for the internal worker<->method communication to 1000 for the debtorrent backend * make apt build with g++ 4.3 * apt-pkg/acquire.cc: - increase MaxPipeDepth for the internal worker<->method communication to 1000 for the debtorrent backend * make apt build with g++ 4.3 * dpkg-triggers: Deal properly with new package states.
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r--apt-pkg/deb/dpkgpm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 8b4e6701a..7e1933f06 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -844,7 +844,7 @@ bool pkgDPkgPM::Go(int OutStatusFd)
tv.tv_sec = 1;
tv.tv_usec = 0;
select_ret = select(max(master, _dpkgin)+1, &rfds, NULL, NULL, &tv);
- if (select_ret == 0)
+ if (select_ret == 0)
continue;
else if (select_ret < 0 && errno == EINTR)
continue;
@@ -853,7 +853,7 @@ bool pkgDPkgPM::Go(int OutStatusFd)
perror("select() returned error");
continue;
}
-
+
if(master >= 0 && FD_ISSET(master, &rfds))
DoTerminalPty(master);
if(master >= 0 && FD_ISSET(0, &rfds))