You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
os.posix_fadvise() and os.posix_fallocate() misreport errors on DragonFly BSD #154435
We use the return value since gh-73528, where the opposite problem was reported: on musl the error was taken from errno, which was not set. Using -1 as an error number produces the above, and it also breaks retrying on EINTR, because the returned value is compared with EINTR.
Both conventions can be supported by using errno when the function returns -1.
Activity
gh-154435: Fix os.posix_fadvise() and os.posix_fallocate() on DragonF…
[3.13] gh-154435: Fix os.posix_fadvise() and os.posix_fallocate() on …
[3.14] gh-154435: Fix os.posix_fadvise() and os.posix_fallocate() on …
[3.15] gh-154435: Fix os.posix_fadvise() and os.posix_fallocate() on …