Subject: PR/36831 CVS commit: [netbsd-4] src/dist/nawk
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, zafer@aydogan.de>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: netbsd-bugs
Date: 08/29/2007 15:15:06
The following reply was made to PR bin/36831; it has been noted by GNATS.
From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36831 CVS commit: [netbsd-4] src/dist/nawk
Date: Wed, 29 Aug 2007 15:14:41 +0000 (UTC)
Module Name: src
Committed By: liamjfoy
Date: Wed Aug 29 15:14:41 UTC 2007
Modified Files:
src/dist/nawk [netbsd-4]: tran.c
Log Message:
Pull up following revision(s) (requested by apb in ticket #851):
dist/nawk/tran.c: revision 1.10
In setfval(), ensure that arithmetic never yields a negative zero
result. Now {echo | awk '{print -1 * 0}'} prints "0" instead of "-0".
Fixes PR 36831. Discussed in tech-userlevel.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.9.4.1 src/dist/nawk/tran.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.