OSDN Git Service

* select.cc (start_thread_socket): Remove unused code.
authorcgf <cgf>
Wed, 13 Oct 2004 03:26:31 +0000 (03:26 +0000)
committercgf <cgf>
Wed, 13 Oct 2004 03:26:31 +0000 (03:26 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/select.cc

index f53f36e..b11e27d 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-12  Christopher Faylor  <cgf@timesys.com>
+
+       * select.cc (start_thread_socket): Remove unused code.
+
 2004-10-11  Christopher Faylor  <cgf@timesys.com>
 
        * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.
index ee4d30d..b85e0bd 100644 (file)
@@ -1361,12 +1361,6 @@ start_thread_socket (select_record *me, select_stuff *stuff)
          select_printf ("cannot create socket, %E");
          return -1;
        }
-#if 0
-      /* Allow rapid reuse of the port. */
-      int tmp = 1;
-      (void) setsockopt (si->exitsock, SOL_SOCKET, SO_REUSEADDR, (char *) &tmp, sizeof (tmp));
-#endif
-
       int sin_len = sizeof (_my_tls.locals.exitsock_sin);
       memset (&_my_tls.locals.exitsock_sin, 0, sin_len);
       _my_tls.locals.exitsock_sin.sin_family = AF_INET;