[PATCH] Fix fcntl on s390x and other arches
Jakub Jelinek
jakub@redhat.com
Sun Sep 7 11:58:00 GMT 2003
Hi!
On Fri, Sep 05, 2003 at 12:06:03PM +0200, Andreas Jaeger wrote:
> Ulrich Drepper <drepper@redhat.com> writes:
>
> > Andreas Jaeger wrote:
> >
> >> Ok to commit?
> >
> > Yes.
>
> Ok, now both x86-64 and i386 work (with linuxthreads and tls) again
> (with two further obvious and committed fcntl change) for me,
That way we'd have to update all arches not having their own fcntl.c
(e.g. s390x fails to build in current CVS).
This is IMHO better:
2003-09-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
* sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove.
--- libc/sysdeps/unix/sysv/linux/syscalls.list.jj 2003-08-26 17:07:48.000000000 -0400
+++ libc/sysdeps/unix/sysv/linux/syscalls.list 2003-09-07 06:59:15.000000000 -0400
@@ -73,7 +73,6 @@ uselib EXTRA uselib i:s uselib
wait4 - wait4 i:iWiP __wait4 wait4
chown - chown i:sii __libc_chown __chown chown
-fcntl - fcntl Ci:iiF __libc_fcntl __fcntl fcntl
setxattr - setxattr i:sspii setxattr
lsetxattr - lsetxattr i:sspii lsetxattr
--- libc/sysdeps/unix/sysv/linux/x86_64/fcntl.c.jj 2003-09-05 04:44:35.000000000 -0400
+++ libc/sysdeps/unix/sysv/linux/x86_64/fcntl.c 2003-09-07 06:59:01.000000000 -0400
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/linux/fcntl.c>
Jakub
More information about the Libc-hacker
mailing list