Mercurial > hg > graal-jvmci-8
comparison src/os/solaris/vm/os_solaris.cpp @ 2097: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 | 1e637defdda6 |
children | b1a2afa37ec4 |
comparison
equal
deleted
inserted
replaced
2096:0eb90baf1b69 | 2097:039eb4201e06 |
---|---|
5195 } | 5195 } |
5196 int fd; | 5196 int fd; |
5197 int o_delete = (oflag & O_DELETE); | 5197 int o_delete = (oflag & O_DELETE); |
5198 oflag = oflag & ~O_DELETE; | 5198 oflag = oflag & ~O_DELETE; |
5199 | 5199 |
5200 fd = ::open(path, oflag, mode); | 5200 fd = ::open64(path, oflag, mode); |
5201 if (fd == -1) return -1; | 5201 if (fd == -1) return -1; |
5202 | 5202 |
5203 //If the open succeeded, the file might still be a directory | 5203 //If the open succeeded, the file might still be a directory |
5204 { | 5204 { |
5205 struct stat64 buf64; | 5205 struct stat64 buf64; |