mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-16 13:25:34 +00:00
7009975: Large file support broken in hs20-b04
Reviewed-by: phh, acorn, kamg
This commit is contained in:
parent
1f42cca35e
commit
6f2c2c3272
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user