Bugzilla – Bug 1709
dce_select don't clear fds when returning 0
Last modified: 2014-01-09 18:46:45 EST
Created attachment 1617 [details]
Patch and test
In dce 1.0.
When select returns 0 (for example when the timeout is reached but no fd is available) it don't return the fds empty.
I didn't find the correct behaviour documented but on linux (tested on Ubuntu 12.04) the select clear the fds when 0 is returned.
I attach a possible patch and the corresponding test.
thanks for the patch and test !
will get you back soon.
fixed. many thanks !
changeset 488 bb4e17e70dc8