Bug#986222: Acknowledgement (glibc: Fix O_NONBLOCK value on hppa architecture)
The attached second patch is needed too.
It corrects hppa EFD_NONBLOCK, IN_NONBLOCK, SFD_NONBLOCK and TFD_NONBLOCK defines.
From: John David Anglin <danglin@gcc.gnu.org>
Date: Fri, 19 Feb 2021 17:08:47 +0000 (+0000)
Subject: Correct hppa EFD_NONBLOCK, IN_NONBLOCK, SFD_NONBLOCK and TFD_NONBLOCK defines.
X-Git-Url: https://sourceware.org/git/?p=glibc.git;a=commitdiff_plain;h=96b8038f12dd5fc5620a1213b79eb3a8342e846a;hp=044e603b698093cf48f6e6229e0b66acf05227e4
Correct hppa EFD_NONBLOCK, IN_NONBLOCK, SFD_NONBLOCK and TFD_NONBLOCK defines.
---
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/eventfd.h b/sysdeps/unix/sysv/linux/hppa/bits/eventfd.h
index e692b44c56..c1a46a16b0 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/eventfd.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/eventfd.h
@@ -26,6 +26,6 @@ enum
#define EFD_SEMAPHORE EFD_SEMAPHORE
EFD_CLOEXEC = 010000000,
#define EFD_CLOEXEC EFD_CLOEXEC
- EFD_NONBLOCK = 00200004 /* HPUX has separate NDELAY & NONBLOCK */
+ EFD_NONBLOCK = 00200000
#define EFD_NONBLOCK EFD_NONBLOCK
};
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/inotify.h b/sysdeps/unix/sysv/linux/hppa/bits/inotify.h
index f6cf97e8a7..a69a4a88d9 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/inotify.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/inotify.h
@@ -24,6 +24,6 @@ enum
{
IN_CLOEXEC = 010000000,
#define IN_CLOEXEC IN_CLOEXEC
- IN_NONBLOCK = 000200004 /* HPUX has separate NDELAY & NONBLOCK */
+ IN_NONBLOCK = 000200000
#define IN_NONBLOCK IN_NONBLOCK
};
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/signalfd.h b/sysdeps/unix/sysv/linux/hppa/bits/signalfd.h
index dd4ba77cc8..18568a9f1d 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/signalfd.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/signalfd.h
@@ -24,6 +24,6 @@ enum
{
SFD_CLOEXEC = 010000000,
#define SFD_CLOEXEC SFD_CLOEXEC
- SFD_NONBLOCK = 00200004 /* HPUX has separate NDELAY & NONBLOCK */
+ SFD_NONBLOCK = 00200000
#define SFD_NONBLOCK SFD_NONBLOCK
};
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/timerfd.h b/sysdeps/unix/sysv/linux/hppa/bits/timerfd.h
index f64502477a..9d7f228995 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/timerfd.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/timerfd.h
@@ -24,6 +24,6 @@ enum
{
TFD_CLOEXEC = 010000000,
#define TFD_CLOEXEC TFD_CLOEXEC
- TFD_NONBLOCK = 000200004 /* HPUX has separate NDELAY & NONBLOCK */
+ TFD_NONBLOCK = 000200000
#define TFD_NONBLOCK TFD_NONBLOCK
};
Reply to: