This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][BZ 15514] Use statvfs64() for pathconf(_PC_NAME_MAX).


On Mon, Apr 07, 2014 at 09:56:12PM +0100, Peter TB Brett wrote:
> 
> 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.
> 
>                                          Peter
> 
> P.S. I haven't completed FSF copyright assignment.
> 
Looks ok for me. 

Copyright assignment is not needed yet. As this is under 15 lines 
its not legally significant.

http://www.gnu.org/prep/maintain/maintain.html#Legally-Significant


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]