changeset 1981:039eb4201e06

7009975: Large file support broken in hs20-b04 Reviewed-by: phh, acorn, kamg
author alanb
date Fri, 07 Jan 2011 03:38:19 -0800
parents 0eb90baf1b69
children 4537d449ba57 b1a2afa37ec4
files src/os/solaris/vm/os_solaris.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp	Wed Jan 05 21:23:15 2011 -0500
+++ b/src/os/solaris/vm/os_solaris.cpp	Fri Jan 07 03:38:19 2011 -0800
@@ -5197,7 +5197,7 @@
   int o_delete = (oflag & O_DELETE);
   oflag = oflag & ~O_DELETE;
 
-  fd = ::open(path, oflag, mode);
+  fd = ::open64(path, oflag, mode);
   if (fd == -1) return -1;
 
   //If the open succeeded, the file might still be a directory