From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6078 invoked by alias); 6 Apr 2014 09:56:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 6055 invoked by uid 48); 6 Apr 2014 09:56:34 -0000 From: "peter@peter-b.co.uk" To: glibc-bugs@sourceware.org Subject: [Bug libc/15514] pathconf(_PC_NAME_MAX) fails against large filesystems for 32bit processes Date: Sun, 06 Apr 2014 09:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: peter@peter-b.co.uk X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00040.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=15514 Peter TB Brett changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter@peter-b.co.uk --- Comment #2 from Peter TB Brett --- 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.