Re: [PATCH] src/ext4_resize.c: set errno to 0 before the strtoull call

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Tue, Jan 18, 2022 at 02:43:26AM +0000, xuyang2018.jy@xxxxxxxxxxx wrote:
> > You're right of course, but out of curiosity, which C library are you
> > using?
> I use glibc-2.34.

Hmm, ok.  I'm using glibc 2.31, and in this particular program, errno
shouldn't have been set by any prior system call.  I'm guessing maybe
it was something in crt0 which ended up setting errno?

						- Ted



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux