This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use statfs64() in shm_open() and posix_getpt().
- From: Peter TB Brett <peter at peter-b dot co dot uk>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 13 Apr 2014 09:09:25 +0100
- Subject: Re: [PATCH] Use statfs64() in shm_open() and posix_getpt().
- Authentication-results: sourceware.org; auth=none
- References: <1397373978-17449-1-git-send-email-peter at peter-b dot co dot uk> <87d2gl8yic dot fsf at igel dot home>
On 2014-04-13 08:44, Andreas Schwab wrote:
Peter TB Brett <peter@peter-b.co.uk> writes:
+ || (statfs64 (_PATH_DEVPTS, &fsbuf) == 0
This is not namespace clean, and will introduce a PLT call (you did run
make check?).
I specifically asked about this on libc-help yesterday:
http://thread.gmane.org/gmane.comp.lib.glibc.user/2196
I got the following answer:
On 2014-04-12 18:02, Carlos O'Donell wrote:
To make a long story short you should just call statfs64.
Some further advice and/or explanation would be appreciated.
Peter
--
Dr Peter Brett <peter@peter-b.co.uk>