This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Libiberty's snprintf for v3?
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 21 Apr 2003 21:24:38 +0200
- Subject: Libiberty's snprintf for v3?
Hi Kaveh, hi everyone,
now that snprintf is available in libiberty we can consider actually
using it in v3.
I briefly recall (for Kaveh and the accidental readers) that currently
we use either snprintf or the unsafe sprintf depending on
_GLIBCPP_USE_C99 (see config/locale/gnu/c_locale.h).
Having snprintf unconditionally available would simplify and made safer
a few functions in include/bits/locale_facets.tcc
Do we really want that? In case, I volunteer to do the needed work
(provided you guys help me a little bit ;).
Paolo.