7009975: Large file support broken in hs20-b04

Fri, 07 Jan 2011 03:38:19 -0800

author
alanb
date
Fri, 07 Jan 2011 03:38:19 -0800
changeset 2420
039eb4201e06
parent 2419
0eb90baf1b69
child 2422
4537d449ba57
child 2423
b1a2afa37ec4

7009975: Large file support broken in hs20-b04
Reviewed-by: phh, acorn, kamg

src/os/solaris/vm/os_solaris.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/os/solaris/vm/os_solaris.cpp	Wed Jan 05 21:23:15 2011 -0500
     1.2 +++ b/src/os/solaris/vm/os_solaris.cpp	Fri Jan 07 03:38:19 2011 -0800
     1.3 @@ -5197,7 +5197,7 @@
     1.4    int o_delete = (oflag & O_DELETE);
     1.5    oflag = oflag & ~O_DELETE;
     1.6  
     1.7 -  fd = ::open(path, oflag, mode);
     1.8 +  fd = ::open64(path, oflag, mode);
     1.9    if (fd == -1) return -1;
    1.10  
    1.11    //If the open succeeded, the file might still be a directory

mercurial