This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [RFC] Copy as much as you can during a 32-bit stat before returning EOVERFLOW?
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: Carlos O'Donell <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, <libc-ports at sourceware dot org>
- Date: Tue, 26 Feb 2013 22:58:59 +0000
- Subject: Re: [RFC] Copy as much as you can during a 32-bit stat before returning EOVERFLOW?
- References: <512D1335.1020704@redhat.com> <512D1CF4.4080607@cs.ucla.edu>
On Tue, 26 Feb 2013, Paul Eggert wrote:
> Here's a different idea: enable wide ino_t, time_t, etc. if
> _FILE_OFFSET_BITS is 64. This would require zero changes to
ino_t is already __ino64_t when _FILE_OFFSET_BITS is 64 (ignoring the lack
of 64-bit ino_t in the kernel stat64 interface on SH). 64-bit time_t
interfaces on 32-bit systems will require major new work in both glibc and
the Linux kernel (including new versions of various syscalls, though
presumably only the relevant syscalls that are in the generic ABI and not
the legacy ones).
--
Joseph S. Myers
joseph@codesourcery.com