diff options
author | 2014-04-07 21:56:12 +0100 | |
---|---|---|
committer | 2014-04-09 20:09:56 +0200 | |
commit | a88ddc902b804a6156f6e5e5feb979754a3e789a (patch) | |
tree | 78aa9baadcac6ec1f08747d270d3fb2f3744c92d /nscd | |
parent | Move __PTHREAD_SPINS definition to architecture specific header (diff) | |
download | glibc-a88ddc902b804a6156f6e5e5feb979754a3e789a.tar.gz glibc-a88ddc902b804a6156f6e5e5feb979754a3e789a.tar.bz2 glibc-a88ddc902b804a6156f6e5e5feb979754a3e789a.zip |
Use statvfs64() for pathconf(_PC_NAME_MAX).
pathconf(_PC_NAME_MAX) was implemented on top of statfs(). The 32bit
version therefore fails EOVERFLOW if the filesystem blockcount is
sufficiently large.
Most pathconf() queries use statvfs64(), which avoids this issue. This
patch modifies pathconf(_PC_NAME_MAX) to do likewise.
Diffstat (limited to 'nscd')
0 files changed, 0 insertions, 0 deletions