Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 278639
Collapse All | Expand All

(-)sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/libstdc++-v3/config/locale/uclibc/c_locale.cc (+1 lines)
Lines 36-45 Link Here
36
#include <cerrno>  // For errno
36
#include <cerrno>  // For errno
37
#include <locale>
37
#include <locale>
38
#include <stdexcept>
38
#include <stdexcept>
39
#include <langinfo.h>
39
#include <langinfo.h>
40
#include <bits/c++locale_internal.h>
40
#include <bits/c++locale_internal.h>
41
#include <stdlib.h>
41
42
42
namespace std 
43
namespace std 
43
{
44
{
44
  template<>
45
  template<>
45
    void
46
    void
(-)sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/libstdc++-v3/config/locale/uclibc/c_locale.h (-1 / +1 lines)
Lines 106-116 Link Here
106
      std::setlocale(LC_ALL, "C");
106
      std::setlocale(LC_ALL, "C");
107
# endif
107
# endif
108
#endif
108
#endif
109
109
110
      va_start(__args, __fmt);
110
      va_start(__args, __fmt);
111
      const int __ret = std::vsnprintf(__out, __size, __fmt, __args);
111
      const int __ret = std::vsprintf(__out, __fmt, __args);
112
      va_end(__args);
112
      va_end(__args);
113
113
114
#ifdef __UCLIBC_HAS_XCLOCALE__
114
#ifdef __UCLIBC_HAS_XCLOCALE__
115
      __gnu_cxx::__uselocale(__old);
115
      __gnu_cxx::__uselocale(__old);
116
#elif defined __UCLIBC_HAS_LOCALE__
116
#elif defined __UCLIBC_HAS_LOCALE__
(-)sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/libstdc++-v3/config/locale/uclibc/codecvt_members.cc (+2 lines)
Lines 33-42 Link Here
33
33
34
// Written by Benjamin Kosnik <bkoz@redhat.com>
34
// Written by Benjamin Kosnik <bkoz@redhat.com>
35
35
36
#include <locale>
36
#include <locale>
37
#include <bits/c++locale_internal.h>
37
#include <bits/c++locale_internal.h>
38
#include <limits.h>
39
#include <stdlib.h>
38
40
39
namespace std
41
namespace std
40
{
42
{
41
  // Specializations.
43
  // Specializations.
42
#ifdef _GLIBCXX_USE_WCHAR_T
44
#ifdef _GLIBCXX_USE_WCHAR_T
(-)sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/libstdc++-v3/config/locale/uclibc/ctype_members.cc (-1 / +1 lines)
Lines 45-55 Link Here
45
45
46
namespace std
46
namespace std
47
{
47
{
48
  // NB: The other ctype<char> specializations are in src/locale.cc and
48
  // NB: The other ctype<char> specializations are in src/locale.cc and
49
  // various /config/os/* files.
49
  // various /config/os/* files.
50
  template<>
50
//  template<>
51
    ctype_byname<char>::ctype_byname(const char* __s, size_t __refs)
51
    ctype_byname<char>::ctype_byname(const char* __s, size_t __refs)
52
    : ctype<char>(0, false, __refs) 
52
    : ctype<char>(0, false, __refs) 
53
    { 		
53
    { 		
54
      if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
54
      if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
55
	{
55
	{
(-)sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/libstdc++-v3/config/locale/uclibc/monetary_members.cc (+2 lines)
Lines 46-55 Link Here
46
#ifdef __UCLIBC_MJN3_ONLY__
46
#ifdef __UCLIBC_MJN3_ONLY__
47
#warning optimize this for uclibc
47
#warning optimize this for uclibc
48
#warning tailor for stub locale support
48
#warning tailor for stub locale support
49
#endif
49
#endif
50
50
51
#include <stdlib.h>
52
51
namespace std
53
namespace std
52
{
54
{
53
  // Construct and return valid pattern consisting of some combination of:
55
  // Construct and return valid pattern consisting of some combination of:
54
  // space none symbol sign value
56
  // space none symbol sign value
55
  money_base::pattern
57
  money_base::pattern
(-)sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/libstdc++-v3/config/locale/uclibc/time_members.cc (+2 lines)
Lines 39-48 Link Here
39
39
40
#ifdef __UCLIBC_MJN3_ONLY__
40
#ifdef __UCLIBC_MJN3_ONLY__
41
#warning tailor for stub locale support
41
#warning tailor for stub locale support
42
#endif
42
#endif
43
43
44
#include <stdlib.h>
45
44
namespace std
46
namespace std
45
{
47
{
46
  template<>
48
  template<>
47
    void
49
    void
48
    __timepunct<char>::
50
    __timepunct<char>::

Return to bug 278639