From: Michael Vogt Date: Mon, 27 Aug 2007 12:28:27 +0000 (+0200) Subject: * apt-pkg/deb/dpkgpm.cc: X-Git-Tag: 0.7.21~246^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/bb8cbb9a85441f4c303456adedf6b72dbb67b617?ds=inline;hp=--cc * apt-pkg/deb/dpkgpm.cc: - on error in select() continue --- bb8cbb9a85441f4c303456adedf6b72dbb67b617 diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 68f0a339f..343e3d82f 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -813,9 +813,10 @@ 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) { std::cerr << "Error in select()" << std::endl; - else if (select_ret == 0) + continue; + } else if (select_ret == 0) continue; if(master >= 0 && FD_ISSET(master, &rfds))