diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-09-04 17:00:03 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-09-08 15:51:34 +0200 |
commit | 5a79f97554af6f2eb0a654f844b3d1f56937064d (patch) | |
tree | 82203e9a014e822551ce612fa7783a5924c7b12e /shadow | |
parent | e00f2425996829632de5abff88bc1797558ce92e (diff) | |
download | glibc-5a79f97554af6f2eb0a654f844b3d1f56937064d.tar.gz glibc-5a79f97554af6f2eb0a654f844b3d1f56937064d.tar.xz glibc-5a79f97554af6f2eb0a654f844b3d1f56937064d.zip |
posix: Fix getpwnam_r usage (BZ #1062)
This patch fixes longstanding misuse of errno after getpwnam_r, which returns an error number rather than setting errno. This is sync with gnulib commit 5db9301. Checked on x86_64-linux-gnu and on a build using build-many-glibcs.py for all major architectures. [BZ #1062] * posix/glob.c (glob): Port recent patches to platforms lacking getpwnam_r. (glob): Fix longstanding misuse of errno after getpwnam_r, which returns an error number rather than setting errno.
Diffstat (limited to 'shadow')
0 files changed, 0 insertions, 0 deletions