Merge "enable support for large files (> 2G)"
This commit is contained in:
commit
57aadbb096
@ -35,9 +35,7 @@ int open(const char *pathname, int flags, ...)
|
||||
{
|
||||
mode_t mode = 0;
|
||||
|
||||
#if !defined(__i386__)
|
||||
flags |= O_LARGEFILE;
|
||||
#endif
|
||||
|
||||
if (flags & O_CREAT)
|
||||
{
|
||||
|
@ -35,9 +35,7 @@ int openat(int fd, const char *pathname, int flags, ...)
|
||||
{
|
||||
mode_t mode = 0;
|
||||
|
||||
#if !defined(__i386__)
|
||||
flags |= O_LARGEFILE;
|
||||
#endif
|
||||
|
||||
if (flags & O_CREAT)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user