Subject: CVS commit: src/dist/nawk
To: None <source-changes@NetBSD.org>
From: Alan Barrett <apb@netbsd.org>
List: source-changes
Date: 08/28/2007 15:23:13
Module Name: src
Committed By: apb
Date: Tue Aug 28 15:23:13 UTC 2007
Modified Files:
src/dist/nawk: tran.c
Log Message:
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.10 src/dist/nawk/tran.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.