Print this page
2964 need POSIX 2008 locale object support (more C++ fixes)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/port/locale/localeimpl.c
          +++ new/usr/src/lib/libc/port/locale/localeimpl.c
↓ open down ↓ 90 lines elided ↑ open up ↑
  91   91          __lc_messages_load,
  92   92  };
  93   93  
  94   94  extern struct lc_monetary lc_monetary_posix;
  95   95  extern struct lc_numeric lc_numeric_posix;
  96   96  extern struct lc_messages lc_messages_posix;
  97   97  extern struct lc_time lc_time_posix;
  98   98  extern struct lc_ctype lc_ctype_posix;
  99   99  extern struct lc_collate lc_collate_posix;
 100  100  
 101      -static struct locale posix_locale = {
      101 +static struct _locale posix_locale = {
 102  102          /* locdata */
 103  103          .locdata = {
 104  104                  &__posix_ctype_locdata,
 105  105                  &__posix_numeric_locdata,
 106  106                  &__posix_time_locdata,
 107  107                  &__posix_collate_locdata,
 108  108                  &__posix_monetary_locdata,
 109  109                  &__posix_messages_locdata,
 110  110          },
 111  111          .locname = "C",
↓ open down ↓ 426 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX