[Bug libc/15514] pathconf(_PC_NAME_MAX) fails against large filesystems for 32bit processes

peter@peter-b.co.uk sourceware-bugzilla@sourceware.org
Sun Apr 6 09:56:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=15514

Peter TB Brett <peter@peter-b.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter@peter-b.co.uk

--- Comment #2 from Peter TB Brett <peter@peter-b.co.uk> ---
Created attachment 7538
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7538&action=edit
Proposed patch

Something like the attached?

Most of the pathconf queries use statvfs64(), so it didn't seem unreasonable to
make _PC_NAME_MAX do the same.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list