about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-09-04 17:00:03 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-09-08 15:51:34 +0200
commit5a79f97554af6f2eb0a654f844b3d1f56937064d (patch)
tree82203e9a014e822551ce612fa7783a5924c7b12e /ChangeLog
parente00f2425996829632de5abff88bc1797558ce92e (diff)
downloadglibc-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 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c8d46e9954..39d1235c74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-09-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
+	[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.
+
 	* include/scratch_buffer.h (scratch_buffer): Use a C99 align method
 	instead of GCC extension.
 	* malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.