On Wed, 2002-07-17 at 14:39, Jim Jagielski wrote:

> Are you suggesting something will change the value of 'errno' during
> this code, such that the errno being tested isn't the value being
> returned??

No, just read what I wrote before.  But try to tell the compiler that
the function it calls is going to return the same value.  Just try it
before asking another question.  It's not possible in ISO C and
therefore portable code should always be written with this in mind.

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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to