* sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too

short, copy that much into NAME anyway before returning error.
This commit is contained in:
Roland McGrath 2001-09-01 21:45:49 +00:00
parent b8f5d8dd4e
commit d447d70d85
1 changed files with 5 additions and 0 deletions

View File

@ -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.