Use statvfs64() for pathconf(_PC_NAME_MAX).
commita88ddc902b804a6156f6e5e5feb979754a3e789a
authorPeter TB Brett <peter@peter-b.co.uk>
Mon, 7 Apr 2014 20:56:12 +0000 (7 21:56 +0100)
committerOndřej Bílka <neleai@seznam.cz>
Wed, 9 Apr 2014 18:09:56 +0000 (9 20:09 +0200)
tree78aa9baadcac6ec1f08747d270d3fb2f3744c92d
parent01f8eac224421f07f28f91cc05db7459ea433ea4
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.
ChangeLog
NEWS
sysdeps/posix/pathconf.c