diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/open64_nocancel.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/open64_nocancel.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/open64_nocancel.c b/sysdeps/unix/sysv/linux/open64_nocancel.c index d7f35656a1..a270891dc8 100644 --- a/sysdeps/unix/sysv/linux/open64_nocancel.c +++ b/sysdeps/unix/sysv/linux/open64_nocancel.c @@ -23,12 +23,6 @@ #include <not-cancel.h> -#ifdef __OFF_T_MATCHES_OFF64_T -# define EXTRA_OPEN_FLAGS 0 -#else -# define EXTRA_OPEN_FLAGS O_LARGEFILE -#endif - int __open64_nocancel (const char *file, int oflag, ...) { @@ -42,7 +36,7 @@ __open64_nocancel (const char *file, int oflag, ...) va_end (arg); } - return INLINE_SYSCALL_CALL (openat, AT_FDCWD, file, oflag | EXTRA_OPEN_FLAGS, + return INLINE_SYSCALL_CALL (openat, AT_FDCWD, file, oflag | O_LARGEFILE, mode); } |