diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2012-11-20 00:49:11 +0100 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2012-11-20 00:49:11 +0100 |
commit | 986cab95e068f79e752fc11e981de8e472c23961 (patch) | |
tree | 5985d6c8709a42aa6fb246a19fd9650ccd627a9f /nptl_db/td_thr_dbresume.c | |
parent | 6d33cc9d9bde501e0906c42ee396d42cb4ca603c (diff) | |
download | glibc-986cab95e068f79e752fc11e981de8e472c23961.tar.gz glibc-986cab95e068f79e752fc11e981de8e472c23961.tar.xz glibc-986cab95e068f79e752fc11e981de8e472c23961.zip |
Hurd: fixes for ptsname and ptsname_r
ptsname_r on failure returns the value that is also set as errno; furthermore, add more checks to it: - set errno and return it on __term_get_peername failure - set errno to ERANGE other than returning it - change the type of PEERNAME to string_t, and check its length with __strnlen In ptsname: - change the type of PEERNAME to string_t - do not set errno manually, since ptsname_r has set it already
Diffstat (limited to 'nptl_db/td_thr_dbresume.c')
0 files changed, 0 insertions, 0 deletions