7009975: Large file support broken in hs20-b04

Reviewed-by: phh, acorn, kamg
This commit is contained in:
Alan Bateman 2011-01-07 03:38:19 -08:00
parent 1f42cca35e
commit 6f2c2c3272

View file

@ -5197,7 +5197,7 @@ int os::open(const char *path, int oflag, int mode) {
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