bug-hurd
[Top][All Lists]
Advanced

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

Re: strerror and perror / strerror_r error messages differ


From: Samuel Thibault
Subject: Re: strerror and perror / strerror_r error messages differ
Date: Sat, 3 Sep 2022 00:35:37 +0200
User-agent: NeoMutt/20170609 (1.8.3)

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/20220827134844.1263243-2-samuel.thibault@ens-lyon.org/
https://salsa.debian.org/glibc-team/glibc/-/commit/86b00092f9296be2b212891ed94945d05503b92d

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]