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>
This commit is contained in:
Dragos Tatulea 2011-07-04 18:37:50 +03:00 committed by DDragos Tatulea
parent 2f5c6d2d66
commit 0e1723e684
2 changed files with 0 additions and 4 deletions

View File

@ -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)
{

View File

@ -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)
{