From: matz@... (Yukihiro Matsumoto) Date: 2001-08-16T17:50:56+09:00 Subject: [ruby-talk:19869] Re: CPServer#accept bug? Hi, In message "[ruby-talk:19864] Re: CPServer#accept bug?" on 01/08/16, hipster writes: |I still do not understand why rb_sys_fail should be called from |s_accept when the errno == 0. Because accept(2) returned negative value that denoted an error. So the real problem was |I don't understand the syscall logic anyway: accept(2) < 0 indicates |failure, and subsequently errno equals 0... I don't know what was happening there. matz.