mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
7009975: Large file support broken in hs20-b04
Reviewed-by: phh, acorn, kamg
This commit is contained in:
parent
1f42cca35e
commit
6f2c2c3272
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue