Make sure select() callbacks are not called multiple times

the unix select function returns a set of file descriptors to be
handled. the result-loop (the loop after the select()) is called again,
if more than one descriptor is removed by the callback funtion. this may
lead to a another call to the callback function, because the bits of the
FD_SETs do not change and still set.

i think we must clear these bits, if they are handled, so the handler
will not be called twice in case of a "restart" of that loop.
1 file changed
tree: 6158536b6aa590826b3b40ba157b89e8b498f284
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. rrlp-ephemeris/
  5. wireshark/