Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 258341A923A for ; Mon, 31 Aug 2020 23:37:00 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 98CF084D62; Mon, 31 Aug 2020 23:36:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1A8A584D44 for ; Mon, 31 Aug 2020 23:36:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id TmIDauR-i3St for ; Mon, 31 Aug 2020 23:36:58 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id A321084CDB for ; Mon, 31 Aug 2020 23:36:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 979DEFB27; Mon, 31 Aug 2020 23:36:58 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 31 Aug 2020 19:36:58 -0400 From: "Christos Zoulas" Subject: CVS commit: src/external/historical/nawk/dist To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200831233658.979DEFB27@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: christos Date: Mon Aug 31 23:36:58 UTC 2020 Modified Files: src/external/historical/nawk/dist: tran.c Log Message: Don't try so hard to convert strings into numbers. Results in bogus conversions like: % awk 'BEGIN { print "nanotime" + 123 }' nan % awk 'BEGIN { print "microtime" + 123 }' 123 % awk 'BEGIN { print "inftime" + 123 }' inf To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/historical/nawk/dist/tran.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.