samba-bugs@samba.org
2005-Aug-23 18:01 UTC
[Bug 3020] Mac OS X/Darwin incorrectly shows read sockets ready when they aren't
https://bugzilla.samba.org/show_bug.cgi?id=3020 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From wayned@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.
Maybe Matching Threads
- [Bug 3020] New: Mac OS X/Darwin incorrectly shows read sockets ready when they aren't
- Summary: read.table on Mac OS X, CARBON vs. DARWIN
- [Bug 1804] FreeBSD's mknod can't create FIFOs and sockets
- Patch for libogg on Darwin/Mac OS X
- libsmbclient in Mac OS X / Darwin