Subject: PR/36831 CVS commit: src/dist/nawk
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, zafer@aydogan.de>
From: Alan Barrett <apb@netbsd.org>
List: netbsd-bugs
Date: 08/28/2007 15:25:02
The following reply was made to PR bin/36831; it has been noted by GNATS.

From: Alan Barrett <apb@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36831 CVS commit: src/dist/nawk
Date: Tue, 28 Aug 2007 15:23:13 +0000 (UTC)

 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.