Skip to content

Commit

Permalink
8324753: [AIX] adjust os_posix after JDK-8318696
Browse files Browse the repository at this point in the history
Backport-of: 8950d68ddb36d35831fbb4b98969cd0537527070
  • Loading branch information
MBaesken committed Jul 30, 2024
1 parent efee05f commit f4e8194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/os/posix/os_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -721,15 +721,15 @@ void os::dll_unload(void *lib) {
}

jlong os::lseek(int fd, jlong offset, int whence) {
return (jlong) ::lseek(fd, offset, whence);
return (jlong) AIX_ONLY(::lseek64) NOT_AIX(::lseek)(fd, offset, whence);
}

int os::fsync(int fd) {
return ::fsync(fd);
}

int os::ftruncate(int fd, jlong length) {
return ::ftruncate(fd, length);
return AIX_ONLY(::ftruncate64) NOT_AIX(::ftruncate)(fd, length);
}

const char* os::get_current_directory(char *buf, size_t buflen) {
Expand Down

1 comment on commit f4e8194

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.