Linux: Rewrite __old_getdents64 [BZ #23497]
commit690652882b499defb3d950dfeff8fe421d13cab5
authorFlorian Weimer <fweimer@redhat.com>
Fri, 10 Aug 2018 08:20:13 +0000 (10 10:20 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 10 Aug 2018 08:20:13 +0000 (10 10:20 +0200)
tree27ffda825af3306ebeaaf1c3e5e4715ba6949033
parent8f135efcad9f32daaa560b7403ab8c1498c0c659
Linux: Rewrite __old_getdents64 [BZ #23497]

Commit 298d0e3129c0b5137f4989275b13fe30d0733c4d ("Consolidate Linux
getdents{64} implementation") broke the implementation because it does
not take into account struct offset differences.

The new implementation is close to the old one, before the
consolidation, but has been cleaned up slightly.
ChangeLog
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/getdents64.c
sysdeps/unix/sysv/linux/tst-readdir64-compat.c [new file with mode: 0644]