mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8203680: os::stat() on Posix platform does not need to copy input path
Reviewed-by: hseigel, dholmes
This commit is contained in:
parent
79fea6b201
commit
6f462fbc70
9 changed files with 10 additions and 56 deletions
|
@ -88,10 +88,6 @@ inline int os::fsync(int fd) {
|
|||
return ::fsync(fd);
|
||||
}
|
||||
|
||||
inline char* os::native_path(char *path) {
|
||||
return path;
|
||||
}
|
||||
|
||||
inline int os::ftruncate(int fd, jlong length) {
|
||||
return ::ftruncate64(fd, length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue