Tomas Ogren <[EMAIL PROTECTED]> writes:
| The function 'error' in fileutils uses strerror_r if available, but the
| return value differs on AIX and GNU libc. GNU libc returns the 2nd
| argument as return value but AIX returns 0 when ok and -1 on failure and
| thus the call ...
|
| fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
|
| ... prints pretty much nothing more than a colon.
|
| I'm not sure which is the best solution, but I've checked; Neither
| Solaris (up to v8) nor IRIX (up to 6.5.7m) has strerror_r. Don't know
| which other OS's have it (don't have access to any other).
| Maybe it should be an #ifdef _AIX  or something by those calls.

Thanks for the report.
That's fixed in the latest test release.
  ftp://alpha.gnu.org/gnu/fetish/

Reply via email to