mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
1998-07-20 Jose M. Moya <josem@gnu.org> * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return value. 1998-07-20 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/mach/hurd/getdomain.c: New file. * sysdeps/mach/hurd/setdomain.c: New file. 1998-07-20 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as a weak alias.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -44,7 +44,7 @@ __gethostname (name, len)
|
||||
node_len = strlen (buf.nodename) + 1;
|
||||
if (node_len > len)
|
||||
{
|
||||
__set_errno (EINVAL);
|
||||
__set_errno (ENAMETOOLONG);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user