]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Hurd: compliance fixes for getlogin_r
authorPino Toscano <toscano.pino@tiscali.it>
Fri, 20 Jul 2012 22:16:11 +0000 (00:16 +0200)
committerPino Toscano <toscano.pino@tiscali.it>
Fri, 20 Jul 2012 22:16:11 +0000 (00:16 +0200)
commitb3404dbdebb977f0f8d6099fa466ebbe6eb9157e
tree9e096da64416bc11528878ac2f7f9254db671487
parent0ced335ac081474e12c89709c81cf2f2094c5351
Hurd: compliance fixes for getlogin_r

- make LOGIN non-static, as it would make getlogin_r no more reentrant; change its type to string_t
- fail with ERANGE if NAME has not enough space for the actual login string
- copy with memcpy only the chars of the string
ChangeLog
sysdeps/mach/hurd/getlogin_r.c