This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: [RFC PATCH] Kill some duplication between 64-bit linux arches


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


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