r268350 - in /trunk/libstdc++-v3: ChangeLog con...
redi@gcc.gnu.org
redi@gcc.gnu.org
Mon Jan 28 23:58:00 GMT 2019
Author: redi
Date: Mon Jan 28 23:58:57 2019
New Revision: 268350
URL: https://gcc.gnu.org/viewcvs?rev=268350&root=gcc&view=rev
Log:
PR libstdc++/68737 Do not use vsnprintf on HPUX
It doesn't conform to the spec, so use vsprintf with a large buffer
instead.
PR libstdc++/68737
* config/locale/generic/c_locale.h (__convert_from_v)
[_GLIBCXX_USE_C99_STDIO]: Also check _GLIBCXX_HAVE_BROKEN_VSNPRINTF.
* config/os/hpux/os_defines.h: Define _GLIBCXX_HAVE_BROKEN_VSNPRINTF.
* include/bits/locale_facets.tcc (num_put::_M_insert_float)
[_GLIBCXX_USE_C99_STDIO]: Also check _GLIBCXX_HAVE_BROKEN_VSNPRINTF.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/locale/generic/c_locale.h
trunk/libstdc++-v3/config/os/hpux/os_defines.h
trunk/libstdc++-v3/include/bits/locale_facets.tcc
More information about the Libstdc++-cvs
mailing list