This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/13660] poll wrong revents returned


http://sourceware.org/bugzilla/show_bug.cgi?id=13660

--- Comment #5 from Teodori Serge <teodori.serge at hotmail dot com> 2012-02-09 22:41:29 UTC ---
Ok after testing this on Windows and Solaris, I found that only Linux is
handling this in a different manner. Linux set POLLIN if peer closes
connection, and the next recv() will return zero bytes received. This is also a
good method to intercept a hangup. Well then there is no bug, but Linux should
handle this correctly like Windows and Solaris, because it is called a POSIX
function (whicj means Portable Operating System...)
Anyway where can I find someone from the kernel team? Any idea, perhaps anyone
can correct it? Is there also a forum for the kernel developer?
http://www.kernel.org/ doesn't seem to have one.
And thank you again.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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