Package: glibc Version: 2.31-11 Tags: hppa, patch Please apply the attached patch which removes obsolete defines on the hppa architecture for old HPUX support from fcntl.h. The most important part is changing O_NONBLOCK to just be one bit. The patch is already committed upstream in glibc-2.33, but we would need it in the current debian/sid glibc-2.31 too.
All other projects have been fixed already too (Linux kernel, dietlibc, qemu, ...). Thanks, Helge
From: John David Anglin <dang...@gcc.gnu.org> Date: Fri, 13 Nov 2020 16:42:11 +0000 (+0000) Subject: Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK. X-Git-Tag: glibc-2.33~298 X-Git-Url: https://sourceware.org/git/?p=glibc.git;a=commitdiff_plain;h=a24f414ba11a7acdf3c5ccec3fb327fc72166556;hp=01bd62517cc242ae503aaa7002e9e94551803e4d Remove obsolete defines for HPUX support from fcntl.h and update O_NONBLOCK. --- diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h index 294d3b5191..47686099a7 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h @@ -24,14 +24,11 @@ #define O_EXCL 00002000 /* not fcntl */ #define O_NOCTTY 00400000 /* not fcntl */ #define O_APPEND 00000010 -#define O_NONBLOCK 00200004 /* HPUX has separate NDELAY & NONBLOCK */ +#define O_NONBLOCK 00200000 #define __O_DSYNC 01000000 -#define __O_RSYNC 02000000 /* HPUX only */ #define __O_SYNC 00100000 #define O_SYNC (__O_SYNC|__O_DSYNC) -#define O_BLKSEEK 00000100 /* HPUX only */ - #define __O_DIRECTORY 000010000 /* Must be a directory. */ #define __O_NOFOLLOW 000000200 /* Do not follow links. */ #define __O_CLOEXEC 010000000 /* Set close_on_exec. */