> > Log message:
> >     2001-05-26  Roland McGrath  <[EMAIL PROTECTED]>
> >     
> >     * users.c (trivfs_S_io_select): Don't diagnose an error for *TYPE
> >     containing irrelevant bits (i.e. SELECT_URG).  It's always ok to
> >     ask even when the answer is always no.
> 
> I haven't looked at this change in detail, but I am concerned.
> 
> The comment in the ChangeLog is not correct.  For example, it is error
> to ask for SELECT_READ if the file is not open for reading.  

Why do you say that?  I have never known of such behavior.  Linux does not
do it.  FreeBSD does not do it.  Those are the systems that it's handy for
me to check right now, but I don't know of any reason to ever have
suspected such a behavior.  There is nowadays some standard that specifies
select, though I only have 1003.1-1996 (which does not).  I would be
surprised if it required, or even allowed, such an error diagnosis
given the state of extant systems.

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to