on 2022/1/18 22:22, Andreas Schwab wrote: > On Jan 18 2022, xuyang2018.jy@xxxxxxxxxxx wrote: > >> Now, I use glibc-2.34 and run the following program[1] but the errno is >> not 0 in the beginning. So is this a known bug on glibc-2.34(Theodore >> doesn't meet this problem on glicb-2.31)? >> >> [1]https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/src/ext4_resize.c > > Note that there is a call to open preceding the strtoull call, so no > guarantees can be made about the value of errno before the latter. I just tried, the errno is 1 before open syscall. Best Regards Yang Xu >