From owner-cvs-all Wed Dec 26 17:54:51 2001 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 604EF37B405; Wed, 26 Dec 2001 17:54:47 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fBR1sgc78264; Thu, 27 Dec 2001 04:54:43 +0300 (MSK) (envelope-from ache) Date: Thu, 27 Dec 2001 04:54:40 +0300 From: "Andrey A. Chernov" To: Bill Fenner Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/stdlib atof.c atoi.c atol.3 atol.c atoll.c Message-ID: <20011227015438.GA78208@nagual.pp.ru> References: <200112250410.fBP4Aon93041@freefall.freebsd.org> <20011225075729.GB10672@nagual.pp.ru> <200112270141.RAA26445@windsor.research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112270141.RAA26445@windsor.research.att.com> User-Agent: Mutt/1.3.23.2i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Dec 26, 2001 at 17:41:16 -0800, Bill Fenner wrote: > > > "The functions atof, atoi, atol, and atoll need not > > affect the value of the integer expression errno on an > > error. If the value of the result cannot be represented, > > I would have read "need not" as "are not required to", i.e. they are > permitted to. Since they're also permitted not to, this change is > also conformant. I additionally check POSIX and SUSv2 in that area, both have ERRORS No errors defined section which means that no any errno producing allowed. As I believe, initially, when ato*() was not implemented via strto*() but use their own way, there was no errno changes in them. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message