about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-09-04 14:55:25 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-09-08 09:39:13 +0200
commit686f2ea18374a541d203cfcc0e1dfba1666f49c2 (patch)
tree107da35da6f6427f2e3f09a7578ba384f0c302c4 /ChangeLog
parentc66c908230169c1bab1f83b071eb585baa214b9f (diff)
downloadglibc-686f2ea18374a541d203cfcc0e1dfba1666f49c2.tar.gz
glibc-686f2ea18374a541d203cfcc0e1dfba1666f49c2.tar.xz
glibc-686f2ea18374a541d203cfcc0e1dfba1666f49c2.zip
posix: accept inode 0 is a valid inode number (BZ #19971)
According to this kernel commit 2adc376c55194, d_ino 0 is a regular inode
number on Linux (which also matches POSIX, as it does not treat the value
as special).  This patch makes glob accept is a valid inode number.

This is also a sync with gnulib commit c8e57c1.

Checked on x86_64-linux-gnu and on a build using build-many-glibcs.py
for all major architectures.

	[BZ #1062]
	[BZ #19971]
	* posix/glob.c (struct readdir_result): Remove skip_entry member.
	(readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
	All uses removed.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4fdc0bcc3b..d48cca3c24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 2017-09-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	[BZ #1062]
+	[BZ #19971]
+	* posix/glob.c (struct readdir_result): Remove skip_entry member.
+	(readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
+	All uses removed.
+
+	[BZ #1062]
 	* posix/Makefile (routines): Add globfree, globfree64, and
 	glob_pattern_p.
 	* posix/flexmember.h: New file.