On Mon, Dec 12, 2022 at 11:37 PM Mark Wielaard wrote: > > Hi, > > On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel > wrote: > > on win32, there is no err.h > > [...] > > +#else > > + (void)status; > > + vfprintf(stderr, format, argp); > > +#endif > > va_end(argp); > > That doesn't look like a valid implementation of error, it ignores > errno and doesn't exit when necessary. Do you mean it should call `exit(status)` after the error message is printed? > > Cheers, > > Mark -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo