* sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
authorRoland McGrath <roland@gnu.org>
Sat, 1 Sep 2001 21:45:49 +0000 (21:45 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 1 Sep 2001 21:45:49 +0000 (21:45 +0000)
short, copy that much into NAME anyway before returning error.

ChangeLog

index d33a7d1..b890947 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-27  Roland McGrath  <roland@frob.com>
+
+       * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
+       short, copy that much into NAME anyway before returning error.
+
 2001-09-01  Richard Henderson  <rth@redhat.com>
 
        * sysdeps/alpha/elf/Dist: Remove file.