| Kernel v2.3.38 /fs/open.c |
|---|
 2.3.38
 fs
 open.c
diff -u --recursive --new-file v2.3.37/linux/fs/open.c linux/fs/open.c
--- v2.3.37/linux/fs/open.c Wed Dec 8 14:11:28 1999
+++ linux/fs/open.c Thu Jan 6 16:17:19 2000
@@ -789,6 +789,9 @@
char * tmp;
int fd, error;
+#if BITS_PER_LONG != 32
+ flags |= O_LARGEFILE;
+#endif
tmp = getname(filename);
fd = PTR_ERR(tmp);
if (!IS_ERR(tmp)) {
|