On Fri, 2013-02-15 at 00:31 +0100, Samuel Thibault wrote: > Having a separate hurddoselect.c with a function containing the shared > code would have both factorization and hierarchy, but the semantic of > the function gets tricky, and it'd be easy to miss thing. > > Select/poll *are* complex, you *have* to keep the whole picture in mind.
Admitted! > > And as a final note: My latest version of hurdselect.c works, > > irrespective of what gets implemented for Hurd ;.) > > No, it doesn't. There are quite a few ways in which it will break. Well (as you say) I'm a newbie C programmer, tell me where the bugs are ;-)