Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.3.38 /fs/open.c

Filename:/fs/open.c
Lines Added:3
Lines Deleted:0
Also changed in: (Previous) 2.3.31  2.3.30  2.3.25  2.3.20  2.3.15  2.3.12 
(Following) 2.3.41  2.3.43  2.3.45  2.3.46  2.3.48  2.3.51 

Location
[  2.3.38
  [  fs
     o  open.c

Patch

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)) {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.