]> sourceware.org Git - newlib-cygwin.git/commitdiff
revert erroneous checkin
authorChristopher Faylor <me@cgf.cx>
Wed, 20 Oct 2004 01:03:55 +0000 (01:03 +0000)
committerChristopher Faylor <me@cgf.cx>
Wed, 20 Oct 2004 01:03:55 +0000 (01:03 +0000)
winsup/cygwin/select.cc

index ffddf6204e41a26969e39a38f0a4f803d7523534..b85e0bd56e179697a56366fe0675391bb80ee7d3 100644 (file)
@@ -1347,13 +1347,10 @@ start_thread_socket (select_record *me, select_stuff *stuff)
 
   if (_my_tls.locals.exitsock != INVALID_SOCKET)
     {
-      if (!si->exitsock)
-       {
-         char buf[1];
-         si->exitsock = _my_tls.locals.exitsock;
-         select_printf ("read a byte from %p", si->exitsock);
-         recv (si->exitsock, buf, 1, 0);
-       }
+      char buf[1];
+      si->exitsock = _my_tls.locals.exitsock;
+      select_printf ("read a byte from %p", si->exitsock);
+      recv (si->exitsock, buf, 1, 0);
     }
   else 
     {
This page took 0.035933 seconds and 5 git commands to generate.