Bug#81059: fstat misbehaviour: errno set inappropriately

Ulrich Drepper drepper@redhat.com
Tue Jan 2 08:29:00 GMT 2001


Ben Collins <bcollins@debian.org> writes:

> Seems errno wasn't getting reset if a program called fxstat which tried to
> call fstat64 and got ENOSYS.

There is no problem in the first place.  Nobody must look at errno
unless a function call signals an error.  The system can do whatever
it wants.  No change.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list