This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug: select() does not modify timeout (arg 5) on return


According to Javier on 2/10/2010 3:29 PM:
> select() call with specified timeout in argument 5 is not altered on return when time is up.
> 
> on windows code below returns: should be 0.0 but we have: 5.0
> on linux code below returns: should be 0.0 but we have: 0.0

For Linux compatibility, it would be nice to alter the argument.  But
POSIX is clear that the current cygwin behavior of leaving the argument
unchanged is also compliant.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]