Print this page
2964 need POSIX 2008 locale object support
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/localedef/monetary.c
          +++ new/usr/src/cmd/localedef/monetary.c
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3   * Common Development and Distribution License ("CDDL"), version 1.0.
   4    4   * You may only use this file in accordance with the terms of version
   5    5   * 1.0 of the CDDL.
   6    6   *
   7    7   * A full copy of the text of the CDDL should have accompanied this
   8    8   * source.  A copy of the CDDL is also available via the Internet at
   9    9   * http://www.illumos.org/license/CDDL.
  10   10   */
  11   11  
  12   12  /*
       13 + * Copyright 2013 Garrett D'Amore <garrett@damore.org>
  13   14   * Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
  14   15   */
  15   16  
  16   17  /*
  17   18   * LC_MONETARY database generation routines for localedef.
  18   19   */
  19   20  
  20   21  #include <stdio.h>
  21   22  #include <stdlib.h>
  22   23  #include <errno.h>
  23   24  #include <sys/types.h>
  24   25  #include <string.h>
  25   26  #include <unistd.h>
  26   27  #include "localedef.h"
  27   28  #include "parser.tab.h"
  28   29  #include "lmonetary.h"
  29   30  
  30      -static struct lc_monetary_T mon;
       31 +static struct lc_monetary mon;
  31   32  
  32   33  void
  33   34  init_monetary(void)
  34   35  {
  35   36          (void) memset(&mon, 0, sizeof (mon));
  36   37  }
  37   38  
  38   39  void
  39   40  add_monetary_str(wchar_t *wcs)
  40   41  {
↓ open down ↓ 154 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX