This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Bug#81059: fstat misbehaviour: errno set inappropriately
- To: Ben Collins <bcollins at debian dot org>
- Subject: Re: Bug#81059: fstat misbehaviour: errno set inappropriately
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 02 Jan 2001 08:28:00 -0800
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010102105722.F26327@visi.net>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------