Commit graph

2 commits

Author SHA1 Message Date
Don Lewis
4e71fe0a81 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)
2002-06-29 08:38:45 +00:00
Steve Price
b8a55a6b2b - Backup files should be produced according to the wide-spread "tilde
suffix" convention. sc will also prepend a hash character which will
  make the backup files go out of common directory sort order.
- A value such as 40 will be displayed wrongly if displayed with a
  "0.00 EUR" format (i.e. more than one or two characters alpha text
  after the number format).
- 8-bit characters (according to usual locale conventions) should be
  allowed.

PR:		32017
Submitted by:	Helge Oldach <send-pr@oldach.net>
2001-12-02 22:18:15 +00:00