Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-13 07:26:31 +0400
committerChristopher Faylor <me@cgf.cx>2004-10-13 07:26:31 +0400
commit96536b50a6cebbf8aab9f82c41c8393b371e42ba (patch)
tree9b863a0caf2ea7c70b92b92e9d6642b9e0beba7a /winsup/cygwin/select.cc
parent4ea74b34c35f977e559e5015d496f2086d1d79a8 (diff)
* select.cc (start_thread_socket): Remove unused code.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index ee4d30d32..b85e0bd56 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -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;