Skip to content

Commit

Permalink
8324753: [AIX] adjust os_posix after JDK-8318696
Browse files Browse the repository at this point in the history
Reviewed-by: jkern, stuefe, kbarrett, dholmes
  • Loading branch information
MBaesken committed Jan 29, 2024
1 parent 65d6bc1 commit 8950d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/os/posix/os_posix.cpp
Expand Up @@ -753,11 +753,11 @@ 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::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

5 comments on commit 8950d68

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@MBaesken
Copy link
Member Author

Choose a reason for hiding this comment

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

/backport jdk22u

@openjdk
Copy link

@openjdk openjdk bot commented on 8950d68 Feb 7, 2024

Choose a reason for hiding this comment

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

@MBaesken the backport was successfully created on the branch backport-MBaesken-8950d68d in my personal fork of openjdk/jdk22u. To create a pull request with this backport targeting openjdk/jdk22u:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 8950d68d from the openjdk/jdk repository.

The commit being backported was authored by Matthias Baesken on 29 Jan 2024 and was reviewed by Joachim Kern, Thomas Stuefe, Kim Barrett and David Holmes.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk22u:

$ git fetch https://github.com/openjdk-bots/jdk22u.git backport-MBaesken-8950d68d:backport-MBaesken-8950d68d
$ git checkout backport-MBaesken-8950d68d
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk22u.git backport-MBaesken-8950d68d

@MBaesken
Copy link
Member Author

Choose a reason for hiding this comment

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

/backport jdk21u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 8950d68 Feb 7, 2024

Choose a reason for hiding this comment

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

@MBaesken the backport was successfully created on the branch backport-MBaesken-8950d68d in my personal fork of openjdk/jdk21u-dev. To create a pull request with this backport targeting openjdk/jdk21u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 8950d68d from the openjdk/jdk repository.

The commit being backported was authored by Matthias Baesken on 29 Jan 2024 and was reviewed by Joachim Kern, Thomas Stuefe, Kim Barrett and David Holmes.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk21u-dev:

$ git fetch https://github.com/openjdk-bots/jdk21u-dev.git backport-MBaesken-8950d68d:backport-MBaesken-8950d68d
$ git checkout backport-MBaesken-8950d68d
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk21u-dev.git backport-MBaesken-8950d68d

⚠️ @MBaesken You are not yet a collaborator in my fork openjdk-bots/jdk21u-dev. An invite will be sent out and you need to accept it before you can proceed.

Please sign in to comment.