diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-09-04 14:55:25 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-09-08 09:39:13 +0200 |
commit | 686f2ea18374a541d203cfcc0e1dfba1666f49c2 (patch) | |
tree | 107da35da6f6427f2e3f09a7578ba384f0c302c4 /posix/tstgetopt.c | |
parent | c66c908230169c1bab1f83b071eb585baa214b9f (diff) | |
download | glibc-686f2ea18374a541d203cfcc0e1dfba1666f49c2.zip glibc-686f2ea18374a541d203cfcc0e1dfba1666f49c2.tar.gz glibc-686f2ea18374a541d203cfcc0e1dfba1666f49c2.tar.bz2 |
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 'posix/tstgetopt.c')
0 files changed, 0 insertions, 0 deletions