From: hipster Date: 2001-08-16T17:30:16+09:00 Subject: [ruby-talk:19864] Re: CPServer#accept bug? On Thu, 16 Aug 2001 00:00:16 +0900, ts wrote: > >>>>> "M" == Michel H G van de Ven writes: > > M> - rb_sys_fail in turn calls strerror(0), which returns "Success" and > M> then throws an exception with that message text. > > No, rb_sys_fail(mesg) call strerror(errno) > Absolutely right, my goof. I still do not understand why rb_sys_fail should be called from s_accept when the errno == 0. I don't understand the syscall logic anyway: accept(2) < 0 indicates failure, and subsequently errno equals 0... slightly confused, Michel