mirror of https://git.musl-libc.org/git/musl
Browse Source
the fcntl syscall can return a negative value when the command is F_GETOWN, and this is not an error code but an actual value. thus we must special-case it and avoid calling __syscall_ret to set errno. this fix is better than the glibc fix (using F_GETOWN_EX) which only works on newer kernels and is more complex.rs-1.0
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue