Re: kern/126076: [headers] POLL_ERR and POLL_HUP are defined identically

View: New views
1 Messages — Rating Filter:   Alert me  

Re: kern/126076: [headers] POLL_ERR and POLL_HUP are defined identically

by Jilles Tjoelker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The following reply was made to PR kern/126076; it has been noted by GNATS.

From: Jilles Tjoelker <jilles@...>
To: bug-followup@..., Petr.Salinger@...
Cc:  
Subject: Re: kern/126076: [headers] POLL_ERR and POLL_HUP are defined
        identically
Date: Sat, 7 Nov 2009 16:34:45 +0100

 To be honest, I do not know why the POLL_* constants are defined at all.
 The kernel never generates SIGPOLL, and it is an obsolescent feature in
 POSIX. Their main effect seems that someone can use POLL_IN instead of
 POLLIN and have a hard time debugging.
 
 How are you using these constants? :)
 
 --
 Jilles Tjoelker
_______________________________________________
freebsd-bugs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@..."