This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]