From owner-cvs-all Mon Dec 24 23:57:40 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 C419337B416; Mon, 24 Dec 2001 23:57:30 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fBP7vT310789; Tue, 25 Dec 2001 10:57:29 +0300 (MSK) (envelope-from ache) Date: Tue, 25 Dec 2001 10:57:29 +0300 From: "Andrey A. Chernov" To: 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: <20011225075729.GB10672@nagual.pp.ru> References: <200112250410.fBP4Aon93041@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112250410.fBP4Aon93041@freefall.freebsd.org> 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 Mon, Dec 24, 2001 at 20:10:50 -0800, Andrey A. Chernov wrote: > ache 2001/12/24 20:10:50 PST > > Modified files: > lib/libc/stdlib atof.c atoi.c atol.3 atol.c atoll.c > Log: > Preserve errno. > > According to C99: > "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, And POSIX says ERRORS No errors are defined. too. -- 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