This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/unix/sysv gethostname.c
- To: glibc-cvs at sourceware dot cygnus dot com
- Subject: libc/sysdeps/unix/sysv gethostname.c
- From: roland at sourceware dot cygnus dot com
- Date: 1 Sep 2001 21:45:32 -0000
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2001-09-01 14:45:32
Modified files:
sysdeps/unix/sysv: gethostname.c
Log message:
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.