This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug#81059: fstat misbehaviour: errno set inappropriately


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]