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] |
I've committed the appended two patches to clean up the alpha version
of fcntl.h and fix a bug in Uli's changes to my fcntl.c patch.
Andreas
2000-08-12 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
============================================================
Index: sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
--- sysdeps/unix/sysv/linux/alpha/bits/fcntl.h 2000/04/30 07:12:32 1.11
+++ sysdeps/unix/sysv/linux/alpha/bits/fcntl.h 2000/08/12 09:59:02
@@ -71,11 +71,9 @@
#define F_GETLK 7 /* Get record locking info. */
#define F_SETLK 8 /* Set record locking info (non-blocking). */
#define F_SETLKW 9 /* Set record locking info (blocking). */
-
-/* XXX missing */
-#define F_GETLK64 7 /* Get record locking info. */
-#define F_SETLK64 8 /* Set record locking info (non-blocking). */
-#define F_SETLKW64 9 /* Set record locking info (blocking). */
+#define F_GETLK64 F_GETLK /* Get record locking info. */
+#define F_SETLK64 F_SETLK /* Set record locking info (non-blocking). */
+#define F_SETLKW64 F_SETLKW /* Set record locking info (blocking). */
#if defined __USE_BSD || defined __USE_XOPEN2K
# define F_SETOWN 5 /* Get owner of socket (receiver of SIGIO). */
============================================================
Index: sysdeps/unix/sysv/linux/i386/fcntl.c
--- sysdeps/unix/sysv/linux/i386/fcntl.c 2000/08/12 08:46:30 1.4
+++ sysdeps/unix/sysv/linux/i386/fcntl.c 2000/08/12 09:59:02
@@ -27,7 +27,7 @@
#if __ASSUME_FCNTL64 == 0
/* This variable is shared with all files that check for fcntl64. */
-static int __have_no_fcntl64;
+int __have_no_fcntl64;
#endif
int
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |