Eric Blake wrote:
> > I'm not sure. This test is about perror(). Should it fail just because
> > strerror returns an invalid pointer? Eric, what do you think?
>
> perror() is required to give output containing the same string as
> strerror, and strerror() is required to give a valid string (possi
On 10/15/2011 03:49 AM, Bruno Haible wrote:
Hi Eric,
Daniel Richard G. wrote:
* "checking whether perror matches strerror": strerror(-1) returns
an invalid pointer, and attempting to puts() this yields SIGBUS.
(Wouldn't it be safer to pass EPERM or something similarly
universal?)
Thi
Hi Eric,
Daniel Richard G. wrote:
> > > * "checking whether perror matches strerror": strerror(-1) returns
> > > an invalid pointer, and attempting to puts() this yields SIGBUS.
> > > (Wouldn't it be safer to pass EPERM or something similarly
> > > universal?)
> >
> > This is the purpose of