From: Carlos O'Donell <carlos@baldric.uwo.ca>
To: libc-alpha@sources.redhat.com
Cc: debian-glibc@lists.debian.org, parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] [PATCH] Fix (for real this time) fcntl64 on HPPA
Date: Tue, 19 Nov 2002 02:13:07 -0500 [thread overview]
Message-ID: <20021119071307.GL12451@systemhalted> (raw)
[-- Attachment #1: Type: text/plain, Size: 604 bytes --]
libc-alpha,
The following changes adds a few defines so __USE_FILE_OFFSET64
works properly on hppa.
I fixed the changelog and the bug in the original patch.
Tested with samba + LFS support.
c.
sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 6 ++++++
sysdeps/unix/sysv/linux/hppa/fcntl.c | 1 +
2 files changed, 7 insertions(+)
---
2002-10-01 Randolph Chung <tausq@debian.org>
* sysdeps/unix/sysv/linux/hppa/fcntl.c:
Include sysdeps/unix/sysv/linux/i386/fcntl.c
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
Change defines when using __USE_FILE_OFFSET64
[-- Attachment #2: 08-glibc23-hppa-fcntl64 --]
[-- Type: text/plain, Size: 1136 bytes --]
--- glibc/sysdeps/unix/sysv/linux/hppa/fcntl.c 2002-09-10 20:58:07.000000000 -0700
+++ glibc/sysdeps/unix/sysv/linux/hppa/fcntl.c 2002-09-10 20:58:07.000000000 -0700
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/fcntl.c>
--- glibc/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h 2002-09-12 10:31:56.000000000 -0700
+++ glibc/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h 2002-09-12 23:43:14.000000000 -0700
@@ -63,9 +63,15 @@
#define F_SETFD 2 /* Set file descriptor flags. */
#define F_GETFL 3 /* Get file status flags. */
#define F_SETFL 4 /* Set file status flags. */
+#ifndef __USE_FILE_OFFSET64
#define F_GETLK 5 /* Get record locking info. */
#define F_SETLK 6 /* Set record locking info (non-blocking). */
#define F_SETLKW 7 /* Set record locking info (blocking). */
+#else
+#define F_GETLK F_GETLK64 /* Get record locking info. */
+#define F_SETLK F_SETLK64 /* Set record locking info (non-blocking). */
+#define F_SETLKW F_SETLKW64 /* Set record locking info (blocking). */
+#endif
#define F_GETLK64 8 /* Get record locking info. */
#define F_SETLK64 9 /* Set record locking info (non-blocking). */
next reply other threads:[~2002-11-19 7:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-19 7:13 Carlos O'Donell [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-19 7:13 [parisc-linux] [PATCH] Fix (for real this time) fcntl64 on HPPA Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021119071307.GL12451@systemhalted \
--to=carlos@baldric.uwo.ca \
--cc=debian-glibc@lists.debian.org \
--cc=libc-alpha@sources.redhat.com \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox