aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-07 01:56:41 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-07 01:56:41 +0100
commit2d196c2e10a3f75a46910210430435da1afff81f (patch)
tree35edee2a05c7723c2a852df69b12d9c734b78065 /sysdeps/unix/sysv/linux
parent75fed76dfd8e1e7f45fb9b346d0f70f687d736cd (diff)
downloadglibc-2d196c2e10a3f75a46910210430435da1afff81f.zip
glibc-2d196c2e10a3f75a46910210430435da1afff81f.tar.gz
glibc-2d196c2e10a3f75a46910210430435da1afff81f.tar.bz2
tst-xdirent: Fix allocating dirent for readdir_r call
As documented in the glibc manual, “Some systems don’t define the d_name element sufficiently long”, and it provides an example of using a union to properly allocate the storage under the dirent.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
0 files changed, 0 insertions, 0 deletions