[RFC PATCH] Kill some duplication between 64-bit linux arches
Jakub Jelinek
jakub@redhat.com
Wed Mar 24 00:04:00 GMT 2004
On Tue, Mar 23, 2004 at 10:52:35AM -0800, Ulrich Drepper wrote:
> This patch is not valid under current assumptions. INLINE_SYSCALL is a
> Linux-ism. It cannot be used in sysdeps/wordsize-64 which is a generic
> directory. The problem is that what is a syscall on Linux need not
> necessarily by a syscall equivalent on other OSes. Hurd, for instance,
> has read() as a normal function in libc IIRC.
>
> Maybe creating sysdeps/unix/sysv/linux/wordsize-64, moving the new files
> there, and requiring that directory for all 64-bit archs on Linux will work.
But that is exactly what this patch is doing:
...
* sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file.
... other 29 files in that new directory.
Jakub
More information about the Libc-hacker
mailing list