From 9c15a456730e587aaa077be2b280a9c8a6c5172c Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 27 Jul 2006 22:36:00 +0000 Subject: use better O_LARGEFILE --- src/cmd/9pfuse/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cmd/9pfuse') diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c index db79a5ea..567b6770 100644 --- a/src/cmd/9pfuse/main.c +++ b/src/cmd/9pfuse/main.c @@ -23,8 +23,12 @@ #define O_DIRECTORY 0 #endif #ifndef O_LARGEFILE +#if defined(__linux__) +#define O_LARGEFILE 0100000 /* Sigh */ +#else #define O_LARGEFILE 0 #endif +#endif int debug; -- cgit v1.2.3