Stefan Farfeleder
613100918d
Include a couple of headers to ensure consistency between the prototype and
...
the function definition.
2005-09-12 19:52:42 +00:00
Andrey A. Chernov
85bebbc156
According to C99 decimal_point can't be empty
2003-03-20 08:18:55 +00:00
Tim J. Robbins
7599ad308f
Remove unused variable: ntmp.
2003-01-03 23:34:26 +00:00
Tim J. Robbins
bd26dcd103
Fix a typo causing incorrect formatting for negative values in some locales
...
(at least the French ones), a memory leak upon successful termination, a
pointer arithmetic error causing heap corruption, and an off-by-one bug
causing incorrect amounts of padding at the right of the value.
2002-10-12 04:38:35 +00:00
Tim J. Robbins
2e9212d966
Save errno around calls to free(); at least some code paths clobber it
...
and we are not interested in any errors it may report.
2002-10-11 23:31:50 +00:00
Tim J. Robbins
2621915fa7
Use the new struct lconv members to determine how to format international
...
monetary values.
2002-10-11 23:08:03 +00:00
Tim J. Robbins
40a48101d3
Non-negative amounts should not have an extra space in front of them
...
when the `(' flag is used.
2002-10-11 23:04:59 +00:00
Tim J. Robbins
284d56227c
"Left precision" and "right precision" are not flags, but separate parts
...
of the format string that appear after the field width.
2002-10-11 22:59:22 +00:00
Mike Barcroft
883738f287
Add restrict type-qualifier.
2002-09-20 08:24:01 +00:00
Alfred Perlstein
a82bbc730e
Assume __STDC__, remove non-__STDC__ code.
...
Submitted by: keramida
2002-05-28 17:03:12 +00:00
David E. O'Brien
333fc21e3c
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
Alexey Zelkin
52d6b43026
Add my e-mail to copyrights
2001-12-11 16:00:47 +00:00
Mike Barcroft
a5aecc7707
style(9)
...
Silence from: phantom
2001-09-17 00:23:19 +00:00
Alexey Zelkin
f6a9e03fe5
correctly wrap macros with { }
2001-09-06 09:26:28 +00:00
Alexey Zelkin
9d430a5991
Add strfmon(3) implementation. It still contains few XXX's because I lost
...
my last version of this work due to HDD crash, but this version cleanly
passed all POSIX and SuSv2 tests. I am working on testing scripts which
should test this implementation against all locales and surely more fixes
will come soon.
Reviewed by: ache, silence at -audit & -developers
2001-09-05 18:50:02 +00:00