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