]> git.ipfire.org Git - thirdparty/xz.git/commit
xz: Workaround broken O_SEARCH in musl
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 8 Jan 2025 17:08:08 +0000 (19:08 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 8 Jan 2025 17:20:28 +0000 (19:20 +0200)
commit75d91d6b39ea3e2fae8f027dcec01be2dca9594d
tree18219f020202ee4dd24f0a90f6eca3c7f86c5730
parentea92eae122a3ccefa61087f84fd99b417fc9ee3c
xz: Workaround broken O_SEARCH in musl

Testing with musl 1.2.5 and Linux 6.12, O_SEARCH doesn't result
in a file descriptor that works with fsync() although it should work.
See the added comment.

The same issue affected gzip --synchronous:

    https://bugs.gnu.org/75405

Thanks to Paul Eggert.
src/xz/file_io.c