"It appear to be a bug...?" In general, as programmers, if the behavior of something well-established and thoroughly-tested isn't what we expect, we're much better off assuming that the problem is with
our code, not the well-established, thoroughly-tested thing. In
The Pragmatic Programmer the aphroism they use is "
select
is not broken" after a famous(ish) story about someone insisting up down left right and sideways that the basic
select
function in Solaris was broken. It was, of course, his code. :-) —
T.J. Crowder 48 secs ago