]> sourceware.org Git - glibc.git/commit
MIPS: Setup errno for {f,l,}xstat
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 7 Sep 2021 05:31:42 +0000 (13:31 +0800)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 7 Sep 2021 13:09:54 +0000 (10:09 -0300)
commit66016ec8aeefd40e016d7040d966484c764b0e9c
tree7657dabec84ffb5c4f5a400838d5343134b8a794
parent4e04a47208e1712fcf202a6d9831f0900d575225
MIPS: Setup errno for {f,l,}xstat

{f,l,}xstat stub for MIPS is using INTERNAL_SYSCALL
to do xstat syscall for glibc ver, However it leaves
errno untouched and thus giving bad errno output.

Setup errno properly when syscall returns non-zero.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/mips/fxstat.c
sysdeps/unix/sysv/linux/mips/lxstat.c
sysdeps/unix/sysv/linux/mips/xstat.c
This page took 0.040093 seconds and 5 git commands to generate.