CVS log for src/lib/libc/stdlib/strfmon.c
Up to [cvs.NetBSD.org] / src / lib / libc / stdlib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Nov 27 19:46:14 2023 UTC (16 months, 3 weeks ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -4
lines
Restore original code now that the broken test has been fixed.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Nov 19 18:57:11 2023 UTC (16 months, 4 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +99 -84
lines
minimize diffs with FreeBSD.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Sep 28 10:03:41 2023 UTC (18 months, 2 weeks ago) by martin
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Fix padding for formats with mutliple padded values.
PR lib/57633, fix from FreeBSD.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Aug 18 11:05:02 2022 UTC (2 years, 8 months ago) by christos
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
fix whitespace prefix behavior
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 17 09:32:56 2022 UTC (2 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +36 -21
lines
PR/56967: John Zaitseff: Reduce diff with FreeBSD, fixes various bugs.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon May 23 19:21:30 2022 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
s/beggining/beginning/ in comments.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Apr 19 20:32:16 2022 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -7
lines
lib: remove CONSTCOND comment
Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Dec 5 08:09:30 2021 UTC (3 years, 4 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6
lines
s/supress/suppress/
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Nov 27 23:54:28 2017 UTC (7 years, 4 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -4
lines
use calloc rather than malloc + memset 0
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 27 22:43:07 2017 UTC (7 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +13 -10
lines
Fix various bugs with strfmon:
- Avoid out of bounds access for the currency_symbol[3] when the symbol
is shorter (as it happens with the C locale where it is empty)
- Don't compare pointers to NUL, it is not helpful.
- Make the default sep_by_space 1 as suggested in:
https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_node/libc_111.html
- Use the correct number of bytes for memmove(3)
XXX: pullup-8
Revision 1.10.24.1: download - view: text, markup, annotated - select for diffs
Tue Aug 29 11:51:50 2017 UTC (7 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +50 -29
lines
Pull up following revision(s) (requested by joerg in ticket #215):
tests/lib/libc/locale/t_strfmon.c: revision 1.1
tests/lib/libc/locale/Makefile: revision 1.12
lib/libc/stdlib/strfmon.c: revision 1.11
distrib/sets/lists/debug/mi: revision 1.224
include/monetary.h: revision 1.3
distrib/sets/lists/tests/mi: revision 1.761
lib/libc/stdlib/strfmon.3: revision 1.6
lib/libc/stdlib/strfmon.3: revision 1.7
Add missing strfmon_l. Noticed by Bruno Haible. Add test case.
Typo fix.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Aug 16 13:53:20 2017 UTC (7 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +50 -29
lines
Add missing strfmon_l. Noticed by Bruno Haible. Add test case.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:25 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +18 -11
lines
sync with head
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Mar 21 14:19:15 2012 UTC (13 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: netbsd-8
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -8
lines
unsigned char portability casts
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Mar 13 21:13:48 2012 UTC (13 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -5
lines
PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)
approved by core@
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 14 09:07:15 2011 UTC (13 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -7
lines
no need for the snprintf/asprintf dance; use fixed width formats.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 30 23:46:03 2009 UTC (16 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
sign-compare fix
Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:08 2008 UTC (16 years, 10 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +8 -3
lines
Sync with netbsd-4.
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 7 13:14:45 2008 UTC (17 years ago) by jdc
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +8 -8
lines
Pull up revision 1.6 (requested by mjf in ticket #1115).
Fix another integer overflow issue discovered by Maksymilian Arciemowicz.
On top of this, limit the range of getnumber to 0x00ffffff to make sure
that adding two of them does not cause an integer overflow.
Revision 1.4.14.2: download - view: text, markup, annotated - select for diffs
Mon Apr 7 13:14:22 2008 UTC (17 years ago) by jdc
Branches: netbsd-4-0
CVS tags: netbsd-4-0-1-RELEASE
Diff to: previous 1.4.14.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.14.1: +8 -8
lines
Pull up revision 1.6 (requested by mjf in ticket #1115).
Fix another integer overflow issue discovered by Maksymilian Arciemowicz.
On top of this, limit the range of getnumber to 0x00ffffff to make sure
that adding two of them does not cause an integer overflow.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 27 21:50:30 2008 UTC (17 years ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
christos-time_t-nbase,
christos-time_t-base,
christos-time_t
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -8
lines
Fix another integer overflow issue discovered by Maksymilian Arciemowicz.
On top of this, limit the range of getnumber to 0x00ffffff to make sure
that adding two of them does not cause an integer overflow.
Revision 1.4.16.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:45 2008 UTC (17 years ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +8 -3
lines
sync with head.
Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:40:26 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +8 -3
lines
sync with HEAD
Revision 1.4.14.1: download - view: text, markup, annotated - select for diffs
Wed Mar 19 19:15:01 2008 UTC (17 years, 1 month ago) by bouyer
Branches: netbsd-4-0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -3
lines
Pull up following revision(s) (requested by mjf in ticket #1102):
lib/libc/stdlib/strfmon.c: revision 1.5
Avoid integer overflow; reported by Maksymilian Arciemowicz.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 19 19:13:21 2008 UTC (17 years, 1 month ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -3
lines
Pull up following revision(s) (requested by mjf in ticket #1102):
lib/libc/stdlib/strfmon.c: revision 1.5
Avoid integer overflow; reported by Maksymilian Arciemowicz.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 18 18:16:08 2008 UTC (17 years, 1 month ago) by christos
Branches: MAIN
CVS tags: matt-armv6-nbase,
keiichi-mipv6-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -3
lines
Avoid integer overflow; reported by Maksymilian Arciemowicz.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Mar 19 01:50:49 2006 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: wrstuden-fixsa-base-1,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: wrstuden-fixsa,
netbsd-4-0,
netbsd-4,
matt-armv6,
keiichi-mipv6
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2
lines
Coverity CID 1560: Don't leak memory when multiple currency symbols are present
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Dec 2 14:19:43 2005 UTC (19 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -10
lines
redo the previous; constify rather than making a string writable.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Nov 29 03:12:00 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -5
lines
WARNS=4
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Apr 3 20:09:29 2005 UTC (20 years ago) by christos
Branches: MAIN
Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
of the getpwent_r bump.
CVSweb <webmaster@jp.NetBSD.org>