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/lib/libumem/common/stub_stand.c
          +++ new/usr/src/lib/libumem/common/stub_stand.c
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
       23 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  23   24   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24   25   * Use is subject to license terms.
  25   26   */
  26   27  /*
  27   28   * Copyright (c) 2012, Joyent, Inc.  All rights reserved.
  28   29   */
  29   30  
  30   31  /*
  31   32   * Stubs for the standalone to reduce the dependence on external libraries
  32   33   */
↓ open down ↓ 105 lines elided ↑ open up ↑
 138  139  uintptr_t
 139  140  _tmem_get_base(void)
 140  141  {
 141  142          return (0);
 142  143  }
 143  144  
 144  145  /*ARGSUSED*/
 145  146  void
 146  147  _tmem_set_cleanup(void (*f)(int, void *))
 147  148  {
      149 +}
      150 +
      151 +int
      152 +isspace(int c)
      153 +{
      154 +        switch (c) {
      155 +        case ' ':
      156 +        case '\t':
      157 +        case '\n':
      158 +        case '\r':
      159 +        case '\f':
      160 +        case '\v':
      161 +                return (1);
      162 +        }
      163 +        return (0);
 148  164  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX