aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-07-27 22:36:00 +0000
committerrsc <devnull@localhost>2006-07-27 22:36:00 +0000
commit9c15a456730e587aaa077be2b280a9c8a6c5172c (patch)
treecafdfc79d907dd9c19465b4c39e2d04cde0e1a07 /src/cmd/9pfuse
parentda6a55346f7c713c22e2be359a195acd176d65d3 (diff)
downloadplan9port-9c15a456730e587aaa077be2b280a9c8a6c5172c.tar.gz
plan9port-9c15a456730e587aaa077be2b280a9c8a6c5172c.tar.bz2
plan9port-9c15a456730e587aaa077be2b280a9c8a6c5172c.zip
use better O_LARGEFILE
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r--src/cmd/9pfuse/main.c4
1 files changed, 4 insertions, 0 deletions
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;