[Bug 3020] Mac OS X/Darwin incorrectly shows read sockets ready when they aren't

samba-bugs at samba.org samba-bugs at samba.org
Tue Aug 23 17:43:49 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=3020


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From wayned at samba.org  2005-08-23 10:43 -------
This is a bug in MacOS, then.  A return of 0 from read() indicates end-of-file,
and errno is not guaranteed to be any particular value in that case (I've tested
that it is often 0).  If MacOS has a no-data situation such as that, they should
probably be returning -1 with errno set to EAGAIN.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list