On 10/4/07, Oswald Buddenhagen <[EMAIL PROTECTED]> wrote:
>
> On Thu, Oct 04, 2007 at 09:31:28AM +1000, Nicholas Nethercote wrote:
> > Making things more ANSI would be good, but then the ',' prefix is also
> > extremely useful -- it inserts commas into printed numbers, eg. prints
> > "1,234,567" instead of "1234567".  Any ideas for how to get the best of
> both
> > worlds?
> >
> this one isn't particularly hard, because you just got the "elevation"
> of the sign wrong - the susv2 grouping char is '. unlike in the
> standard, you don't need to take the locale into account to make (newer
> versions of) gcc happy ...
>

This is an interesting observation. I have found confirmation of the fact
that the apostrophe character is a thousands group separator on the
following URL (Single UNIX  Specification, Version 2):
http://www.opengroup.org/onlinepubs/007908775/xsh/fprintf.html

Bart.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to