Withdrawn: JDK-8301621: libzip should use pread instead of lseek+read

duke duke at openjdk.org
Tue Apr 4 03:07:24 UTC 2023


On Fri, 3 Feb 2023 19:49:44 GMT, Justin King <jcking at openjdk.org> wrote:

> Avoid using `lseek` + `read` in favor of `pread`. For Windows, we can do the same thing by using `OVERLAPPED`, as we are in synchronous mode we can use `Offset` and `OffsetHigh` to achieve the same thing.
> 
> Additionally I updated open to use `O_CLOEXEC` when available, as that really should be used.

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/12417


More information about the core-libs-dev mailing list