Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2002 10:04:23 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        "Brian F. Feldman" <green@FreeBSD.ORG>
Cc:        Chad David <davidc@acns.ab.ca>, Bruce Evans <bde@zeta.org.au>, arch@FreeBSD.ORG
Subject:   Re: strtod()
Message-ID:  <20020127070421.GA13415@nagual.pp.ru>
In-Reply-To: <200201270453.g0R4rwi92912@green.bikeshed.org>
References:  <20020126162924.A7726@colnta.acns.ab.ca> <200201270453.g0R4rwi92912@green.bikeshed.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 26, 2002 at 23:53:58 -0500, Brian F. Feldman wrote:
> 
> If strtod() wants to use errno internally, that's fine, but I personally 
> really expect it to not modify errno without also intending to return an 
> error; that's why saving at entry and restoring at exit is my preference for 
> these functions.

Yes, it must save/restore errno and modify it only if error (in strtod's 
meaning) happens.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020127070421.GA13415>