Re: [PATCH 1/2] perror: call strerror_r directly

2011-06-04 Thread Bruno Haible
Hi Eric, > > No need to make a wrapper that burns static storage when we can > > just use stack storage. > > > > * modules/perror (Files): Drop strerror-impl.h. > > * lib/perror.c (perror): Use our own stack buffer, rather than > > calling a wrapper that uses static storage. > > * doc/posix-funct

Re: [PATCH 1/2] perror: call strerror_r directly

2011-06-01 Thread Eric Blake
On 05/24/2011 03:41 PM, Eric Blake wrote: > No need to make a wrapper that burns static storage when we can > just use stack storage. > > * modules/perror (Files): Drop strerror-impl.h. > * lib/perror.c (perror): Use our own stack buffer, rather than > calling a wrapper that uses static storage. >

[PATCH 1/2] perror: call strerror_r directly

2011-05-24 Thread Eric Blake
No need to make a wrapper that burns static storage when we can just use stack storage. * modules/perror (Files): Drop strerror-impl.h. * lib/perror.c (perror): Use our own stack buffer, rather than calling a wrapper that uses static storage. * doc/posix-functions/perror.texi (perror): Document a