diff options
author | 2005-04-30 11:36:40 +0000 | |
---|---|---|
committer | 2005-04-30 11:36:40 +0000 | |
commit | 01d8d202775789a800d9a5554019f2d77502a22f (patch) | |
tree | bc77a455e231701c972f65a55da84687f0c82e62 | |
parent | various fixes; (diff) | |
download | wireguard-openbsd-01d8d202775789a800d9a5554019f2d77502a22f.tar.xz wireguard-openbsd-01d8d202775789a800d9a5554019f2d77502a22f.zip |
Fix printing floating-point numbers. Bump major number.
ok espie@
-rw-r--r-- | gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc | 6 | ||||
-rw-r--r-- | gnu/lib/libstdc++/shlib_version | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc b/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc index 2bbf0a48bd0..8b3bbc3971d 100644 --- a/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc +++ b/gnu/lib/libstdc++/libstdc++/include/bits/locale_facets.tcc @@ -901,7 +901,7 @@ namespace std // Long enough for the max format spec. char __fbuf[16]; -#ifdef _GLIBCPP_USE_C99 +#if defined _GLIBCPP_USE_C99 || defined _GLIBCPP_USE_C99_SNPRINTF // First try a buffer perhaps big enough (most probably sufficient // for non-ios_base::fixed outputs) int __cs_size = __max_digits * 3; @@ -1312,7 +1312,7 @@ namespace std { const locale __loc = __io.getloc(); const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc); -#ifdef _GLIBCPP_USE_C99 +#if defined _GLIBCPP_USE_C99 || defined _GLIBCPP_USE_C99_SNPRINTF // First try a buffer perhaps big enough. int __cs_size = 64; char* __cs = static_cast<char*>(__builtin_alloca(__cs_size)); @@ -2275,7 +2275,7 @@ namespace std // Long enough for the max format spec. char __fbuf[16]; _S_format_int(__io, __fbuf, __mod, __modl); -#ifdef _GLIBCPP_USE_C99 +#if defined _GLIBCPP_USE_C99 || defined _GLIBCPP_USE_C99_SNPRINTF // First try a buffer perhaps big enough. int __cs_size = 64; char* __cs = static_cast<char*>(__builtin_alloca(__cs_size)); diff --git a/gnu/lib/libstdc++/shlib_version b/gnu/lib/libstdc++/shlib_version index 33407a566e0..e081648f0bb 100644 --- a/gnu/lib/libstdc++/shlib_version +++ b/gnu/lib/libstdc++/shlib_version @@ -1,2 +1,2 @@ -major=37 -minor=1 +major=38 +minor=0 |