[fpc-devel] Patch for test tstrreal4.pp (Issue 13722)

zeljko zeljko at holobit.net
Tue Sep 7 16:33:42 CEST 2010

On Tuesday 07 September 2010 14:19, Marco van de Voort wrote:
> In our previous episode, zeljko said:
> > Test haven't passed, so I fixed problem (was in currency negative
> > format). Changes:
> > 1.Use clocale under UNIX so various locales can be tested
> > 2.Don't hardcode DecimalSeparator, now it's as it is.
> > 3.Fix test unexpected halt on NegCurrFormat in [0, 4] when there's no
> > minus sign but brackets.
> Under Windows it still fails with this output:

Another patch is attached.
1.Removed clocale, DecimalSeparator hardcoded to '.' as Jonas suggested.
2.Fixed problem when NegCurrFormat > 10 (need implementation).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tstrreal4-2.patch
Type: text/x-diff
Size: 3917 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100907/c134d648/attachment.patch>

More information about the fpc-devel mailing list