1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Readd O_LARGEFILE flag for openat64 (bug 18781)

This commit is contained in:
Andreas Schwab
2015-08-10 14:12:47 +02:00
parent d0649b2d8e
commit eb32b0d403
4 changed files with 33 additions and 2 deletions

View File

@ -68,6 +68,11 @@ __OPENAT (int fd, const char *file, int oflag, ...)
va_end (arg);
}
/* We have to add the O_LARGEFILE flag for openat64. */
#ifdef MORE_OFLAGS
oflag |= MORE_OFLAGS;
#endif
return SYSCALL_CANCEL (openat, fd, file, oflag, mode);
}
libc_hidden_def (__OPENAT)