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:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/net.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f90f1a04c..7bb900928 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-11 Christopher Faylor <cgf@timesys.com>
+
+ * net.cc (cygwin_gethostbyname): Show failing host name on error.
+
2004-08-10 Christopher Faylor <cgf@redhat.com>
* select.cc (select_stuff::wait): Correctly check for w4 array bounds.
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index b958e4365..ce1bf60e6 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -967,6 +967,7 @@ cygwin_gethostbyname (const char *name)
is_hostent);
if (!_my_tls.locals.hostent_buf)
{
+ debug_printf ("name %s", name);
set_winsock_errno ();
set_host_errno ();
}