* 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)
commitd447d70d85dfb4f43fe2eff1b2171c36f90a4fa1
tree1c805abe24615345cec6f7e50f657ee82173a91c
parentb8f5d8dd4e542c64b385668791d52581a85aea48
* sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too

short, copy that much into NAME anyway before returning error.
ChangeLog