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]

[PATCH] Fix fcntl on s390x and other arches


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


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