diff options
author | Dragos Tatulea <dragos.tatulea@intel.com> | 2011-07-04 18:37:50 +0300 |
---|---|---|
committer | DDragos Tatulea <dragos.tatulea@intel.com> | 2011-07-05 15:36:43 +0300 |
commit | 0e1723e684c8781198b0cb500100621d9a25df9c (patch) | |
tree | 014b9947a4ac3980e9fbf6ba3b05057cc84ae7b4 /libc/unistd | |
parent | 2f5c6d2d663591b0b5cff9f7e90f58f12a5967eb (diff) | |
download | bionic-0e1723e684c8781198b0cb500100621d9a25df9c.zip bionic-0e1723e684c8781198b0cb500100621d9a25df9c.tar.gz bionic-0e1723e684c8781198b0cb500100621d9a25df9c.tar.bz2 |
enable support for large files (> 2G)
bionic has an i386 ifdef guard for the O_LARGEFILE flag. The reason for this
is not traceable in the git history, but it's most likely due to some old
toolchain or emulator problem.
Bug Id: 10035
Change-Id: I742ee6e50220276c2cb268d66f89b5655ef689fc
Signed-off-by: Dragos Tatulea <dragos.tatulea@intel.com>
Diffstat (limited to 'libc/unistd')
-rw-r--r-- | libc/unistd/open.c | 2 | ||||
-rw-r--r-- | libc/unistd/openat.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/libc/unistd/open.c b/libc/unistd/open.c index e8b1c89..03cba45 100644 --- a/libc/unistd/open.c +++ b/libc/unistd/open.c @@ -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) { diff --git a/libc/unistd/openat.c b/libc/unistd/openat.c index 88b39a4..6b7b367 100644 --- a/libc/unistd/openat.c +++ b/libc/unistd/openat.c @@ -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) { |