glibc/dirent
Adhemerval Zanella 5226a81f55 Define _DIRENT_MATCHES_DIRENT64 regardless
This patch defines _DIRENT_MATCHES_DIRENT64 to either 0 or 1 and adjust its
usage from checking its definition to its value.

Checked on a build for major Linux abis.

	* bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
	__INO_T_MATCHES_INO64_T is defined.
	* sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
	* dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
	of definition.
	* dirent/alphasort64.c: Likewise.
	* dirent/scandir.c: Likewise.
	* dirent/scandir64-tail.c: Likewise.
	* dirent/scandir64.c: Likewise.
	* dirent/scandirat.c: Likewise.
	* dirent/scandirat64.c: Likewise.
	* dirent/versionsort.c: Likewise.
	* dirent/versionsort64.c: Likewise.
	* include/dirent.h: Likewise.
2018-03-05 18:10:04 -03:00
..
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions Implement scandirat function 2011-08-09 09:57:55 -04:00
alphasort.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
alphasort64.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
bug-readdir1.c Update. 2002-12-14 19:49:13 +00:00
closedir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dirent.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dirfd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fdopendir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getdents.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getdents64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
list.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
opendir-tst1.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
opendir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
readdir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
readdir64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
readdir64_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
readdir_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
rewinddir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
scandir-cancel.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
scandir-tail.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
scandir.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
scandir64-tail.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
scandir64.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
scandirat.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
scandirat64.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
seekdir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
telldir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-fdopendir.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-fdopendir2.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-scandir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-scandir64.c Add a test case for scandir. 2015-05-13 12:33:41 -07:00
tst-seekdir.c Modify several tests to use test-skeleton.c 2015-08-06 02:59:04 -04:00
versionsort.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00
versionsort64.c Define _DIRENT_MATCHES_DIRENT64 regardless 2018-03-05 18:10:04 -03:00