aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-24 17:31:15 +0000
committerChristopher Faylor <me@cgf.cx>2001-11-24 17:31:15 +0000
commit53a12585ac0c7537d337fdfbb4814cf29cd2c2ab (patch)
tree34b641fb0604776fe232520718740db3031ded8c
parent4e5289d84836889b172e4a31c76afb618f168b31 (diff)
downloadnewlib-53a12585ac0c7537d337fdfbb4814cf29cd2c2ab.zip
newlib-53a12585ac0c7537d337fdfbb4814cf29cd2c2ab.tar.gz
newlib-53a12585ac0c7537d337fdfbb4814cf29cd2c2ab.tar.bz2
* net.cc (inet_makeaddr): Revert previous change.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/net.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 3159fa2..6361510 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-24 Christopher Faylor <cgf@redhat.com>
+
+ * net.cc (inet_makeaddr): Revert previous change.
+
2001-11-23 Christopher Faylor <cgf@redhat.com>
* path.cc (chdir): Allow 'cd /cygdrive'.
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 9788721..62ba333 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -268,7 +268,7 @@ extern "C" struct in_addr
inet_makeaddr (int net, int lna)
{
unsigned long i;
- static struct in_addr in; /* Note -- not thread safe! */
+ struct in_addr in;
if (net < IN_CLASSA_MAX)
i = (net << IN_CLASSA_NSHIFT) | (lna & IN_CLASSA_HOST);