From: "U.Nakamura" Date: 2014-02-18T18:49:06+09:00 Subject: [ruby-core:60820] Re: [ruby-trunk - Bug #9356] TCPSocket.new does not seem to handle INTR Hi, In message "[ruby-core:60819] [ruby-trunk - Bug #9356] TCPSocket.new does not seem to handle INTR" on Feb.18,2014 18:34:40, wrote: > Does anybody know why the following code in ext/socket/init.c is necessary? > > if (sockerr == 0) > continue; /* workaround for winsock */ It was introduced at r7931 by me (9 years ago!), but I forgot the reason. If my comment of those days is believed, we may wrap it with #ifdef_WIN32. Regards, -- U.Nakamura