From owner-cvs-all Sat Jun 29 1:38:49 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9C3937B400; Sat, 29 Jun 2002 01:38:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B035943E1A; Sat, 29 Jun 2002 01:38:45 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from freefall.freebsd.org (truckman@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5T8cjJU035081; Sat, 29 Jun 2002 01:38:45 -0700 (PDT) (envelope-from truckman@freefall.freebsd.org) Received: (from truckman@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5T8cjms035080; Sat, 29 Jun 2002 01:38:45 -0700 (PDT) Message-Id: <200206290838.g5T8cjms035080@freefall.freebsd.org> From: Don Lewis Date: Sat, 29 Jun 2002 01:38:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/math/sc Makefile ports/math/sc/files patch-ae X-FreeBSD-CVS-Branch: HEAD 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 truckman 2002/06/29 01:38:45 PDT Modified files: math/sc Makefile math/sc/files patch-ae Log: The format patch included in PR ports/32017 is breaks formats such as "0.000", trimming trailing non-zeros and adding back trailing zeros. Fix both the original bug, which was caused by walking off the beginning of the fractional part of the value and into the integer part, as well as the new bug, by terminating the trailing zero stripping when the first non-zero character is encountered. Also, correctly calculate the number number of trailing zeros that should potentially be removed if the format contains trailing text characters. Bump PORTREVISION. Reviewed by: send-pr@oldach.net (Helge Oldach) Revision Changes Path 1.5 +1 -1 ports/math/sc/Makefile 1.2 +21 -3 ports/math/sc/files/patch-ae To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message