patch-2.3.38 linux/fs/open.c
Next file: linux/fs/proc/base.c
Previous file: linux/fs/ntfs/fs.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Jan 6 16:17:19 2000
- Orig file:
v2.3.37/linux/fs/open.c
- Orig date:
Wed Dec 8 14:11:28 1999
diff -u --recursive --new-file v2.3.37/linux/fs/open.c linux/fs/open.c
@@ -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)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)