On Mon, 2012-12-17 at 20:58 +0100, Richard Braun wrote: > On Mon, Dec 17, 2012 at 03:12:10AM +0100, Svante Signell wrote: > > Richards patch "if (!err && got == 0 && firstfd != -1 && (firstfd != > > lastfd))" does not work, apt-get update (select-based) fails. So there > > will be other means to avoid the double delay bug. > > Please don't mention work I haven't released to explain bugs in your own > work ... This was untested code which was later replaced. See [1].
Sorry, but the stuff above was not my invention. I adopted it before it was confirmed by you to work properly, sorry again. Still, there are problems for the poll case by setting the timeout to zero in the __io_select call. One example is ntpdate (it is now available, see the debian-devel ML).