Handle unnecessary padding in getdents64.
commit1a81139728494810f65aaa0d0c538ff8c2783dd5
authorUlrich Drepper <drepper@redhat.com>
Sun, 4 Apr 2010 06:51:40 +0000 (3 23:51 -0700)
committerUlrich Drepper <drepper@redhat.com>
Sun, 4 Apr 2010 06:51:40 +0000 (3 23:51 -0700)
treef22dff8150b303bbb6f0d999a81c0fd9c539ab04
parent3fedf0feb75457f7098a0119ca4203ff449546b6
Handle unnecessary padding in getdents64.

The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition.  We have to
avoid copying those padding bytes in the readdir64_r function.
ChangeLog
sysdeps/unix/readdir_r.c
sysdeps/unix/sysv/linux/i386/readdir64_r.c