Bruno Haible, le sam. 03 sept. 2022 00:21:31 +0200, a ecrit:
> POSIX [1] requires that the error messages from perror and strerror for
> the same error number are the same:
>   "The contents of the error message strings shall be the same as those
>    returned by strerror() with argument errno."
> 
> On glibc/Linux this is fulfilled. On glibc/Hurd this is not true for negative
> error numbers.

That's already fixed:

https://patchwork.sourceware.org/project/glibc/patch/[email protected]/
https://salsa.debian.org/glibc-team/glibc/-/commit/86b00092f9296be2b212891ed94945d05503b92d

Samuel

Reply via email to