Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src 1. MB_LEN_MAX switch MD to MI.



details:   https://anonhg.NetBSD.org/src/rev/81a945af6a41
branches:  trunk
changeset: 755489:81a945af6a41
user:      tnozaki <tnozaki%NetBSD.org@localhost>
date:      Mon Jun 07 13:52:28 2010 +0000

description:
1. MB_LEN_MAX switch MD to MI.
2. unfortunately hppa's MB_LEN_MAX is defined incorrectly 6 instead of 32
   so we have to add more setlocale(3) __RENAME func, __setlocale50.
3. move setlocale1.c and setlocale32.c to lib/libc/compat/locale/*
   prepareing for next libc major crunk.
4. bump libc minor version.

diffstat:

 distrib/sets/lists/base/ad.mips64eb                   |   6 +-
 distrib/sets/lists/base/ad.mips64el                   |   6 +-
 distrib/sets/lists/base/md.amd64                      |   4 +-
 distrib/sets/lists/base/md.sparc64                    |   4 +-
 distrib/sets/lists/base/shl.mi                        |   6 +-
 distrib/sets/lists/comp/md.amd64                      |   4 +-
 distrib/sets/lists/comp/md.sparc64                    |   4 +-
 distrib/sets/lists/comp/shl.mi                        |   4 +-
 include/limits.h                                      |   4 +-
 include/locale.h                                      |  12 +--
 lib/libc/citrus/citrus_lc_ctype.c                     |   6 +-
 lib/libc/compat/Makefile                              |   3 +-
 lib/libc/compat/Makefile.inc                          |   3 +-
 lib/libc/compat/arch/hppa/locale/compat_setlocale32.c |  53 +++++++++++++++++
 lib/libc/compat/include/locale.h                      |  44 ++++++++++++++
 lib/libc/compat/locale/Makefile.inc                   |   6 +
 lib/libc/compat/locale/compat_setlocale1.c            |  57 ++++++++++++++++++
 lib/libc/compat/locale/compat_setlocale32.c           |  53 +++++++++++++++++
 lib/libc/locale/Makefile.inc                          |   4 +-
 lib/libc/locale/setlocale.c                           |  18 ++++-
 lib/libc/locale/setlocale1.c                          |  58 -------------------
 lib/libc/locale/setlocale32.c                         |  52 -----------------
 lib/libc/locale/setlocale_local.h                     |   6 +-
 lib/libc/shlib_version                                |  10 +--
 sys/arch/alpha/include/limits.h                       |   3 +-
 sys/arch/amd64/include/limits.h                       |   3 +-
 sys/arch/arm/include/limits.h                         |   3 +-
 sys/arch/hpc/stand/include/machine/limits.h           |   3 +-
 sys/arch/hppa/include/limits.h                        |   4 +-
 sys/arch/i386/include/limits.h                        |   3 +-
 sys/arch/ia64/include/limits.h                        |   3 +-
 sys/arch/m68k/include/limits.h                        |   3 +-
 sys/arch/mips/include/limits.h                        |   3 +-
 sys/arch/powerpc/include/limits.h                     |   3 +-
 sys/arch/sh3/include/limits.h                         |   3 +-
 sys/arch/sparc/include/limits.h                       |   3 +-
 sys/arch/vax/include/limits.h                         |   3 +-
 37 files changed, 278 insertions(+), 189 deletions(-)

diffs (truncated from 963 to 300 lines):

diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/base/ad.mips64eb
--- a/distrib/sets/lists/base/ad.mips64eb       Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/base/ad.mips64eb       Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64eb,v 1.14 2010/05/21 11:07:20 pooka Exp $
+# $NetBSD: ad.mips64eb,v 1.15 2010/06/07 13:52:28 tnozaki Exp $
 ./libexec/ld.elf_so-64                         base-compat-shlib       compat,pic
 ./libexec/ld.elf_so-o32                                base-sysutil-bin        compat,pic
 ./usr/lib/64                                   base-compat-lib         compat
@@ -62,7 +62,7 @@
 ./usr/lib/64/libbz2.so.1                       base-compat-shlib       compat,pic
 ./usr/lib/64/libbz2.so.1.1                     base-compat-shlib       compat,pic
 ./usr/lib/64/libc.so.12                                base-compat-shlib       compat,pic
-./usr/lib/64/libc.so.12.172                    base-compat-shlib       compat,pic
+./usr/lib/64/libc.so.12.173                    base-compat-shlib       compat,pic
 ./usr/lib/64/libcom_err.so.6                   base-compat-shlib       compat,pic
 ./usr/lib/64/libcom_err.so.6.0                 base-compat-shlib       compat,pic
 ./usr/lib/64/libcrypt.so.1                     base-compat-shlib       compat,pic
@@ -294,7 +294,7 @@
 ./usr/lib/o32/libbz2.so.1                      base-compat-shlib       compat,pic
 ./usr/lib/o32/libbz2.so.1.1                    base-compat-shlib       compat,pic
 ./usr/lib/o32/libc.so.12                       base-compat-shlib       compat,pic
-./usr/lib/o32/libc.so.12.172                   base-compat-shlib       compat,pic
+./usr/lib/o32/libc.so.12.173                   base-compat-shlib       compat,pic
 ./usr/lib/o32/libcom_err.so.6                  base-compat-shlib       compat,pic
 ./usr/lib/o32/libcom_err.so.6.0                        base-compat-shlib       compat,pic
 ./usr/lib/o32/libcrypt.so.1                    base-compat-shlib       compat,pic
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/base/ad.mips64el
--- a/distrib/sets/lists/base/ad.mips64el       Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/base/ad.mips64el       Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64el,v 1.14 2010/05/21 11:07:20 pooka Exp $
+# $NetBSD: ad.mips64el,v 1.15 2010/06/07 13:52:28 tnozaki Exp $
 ./libexec/ld.elf_so-64                         base-compat-shlib       compat,pic
 ./libexec/ld.elf_so-o32                                base-sysutil-bin        compat,pic
 ./usr/lib/64                                   base-compat-lib         compat
@@ -62,7 +62,7 @@
 ./usr/lib/64/libbz2.so.1                       base-compat-shlib       compat,pic
 ./usr/lib/64/libbz2.so.1.1                     base-compat-shlib       compat,pic
 ./usr/lib/64/libc.so.12                                base-compat-shlib       compat,pic
-./usr/lib/64/libc.so.12.172                    base-compat-shlib       compat,pic
+./usr/lib/64/libc.so.12.173                    base-compat-shlib       compat,pic
 ./usr/lib/64/libcom_err.so.6                   base-compat-shlib       compat,pic
 ./usr/lib/64/libcom_err.so.6.0                 base-compat-shlib       compat,pic
 ./usr/lib/64/libcrypt.so.1                     base-compat-shlib       compat,pic
@@ -294,7 +294,7 @@
 ./usr/lib/o32/libbz2.so.1                      base-compat-shlib       compat,pic
 ./usr/lib/o32/libbz2.so.1.1                    base-compat-shlib       compat,pic
 ./usr/lib/o32/libc.so.12                       base-compat-shlib       compat,pic
-./usr/lib/o32/libc.so.12.172                   base-compat-shlib       compat,pic
+./usr/lib/o32/libc.so.12.173                   base-compat-shlib       compat,pic
 ./usr/lib/o32/libcom_err.so.6                  base-compat-shlib       compat,pic
 ./usr/lib/o32/libcom_err.so.6.0                        base-compat-shlib       compat,pic
 ./usr/lib/o32/libcrypt.so.1                    base-compat-shlib       compat,pic
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/base/md.amd64
--- a/distrib/sets/lists/base/md.amd64  Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/base/md.amd64  Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.89 2010/05/21 11:07:20 pooka Exp $
+# $NetBSD: md.amd64,v 1.90 2010/06/07 13:52:29 tnozaki Exp $
 ./dev/lms0                                     base-obsolete           obsolete
 ./dev/mms0                                     base-obsolete           obsolete
 ./libexec/ld.elf_so-i386                       base-sys-shlib          compat,pic
@@ -65,7 +65,7 @@
 ./usr/lib/i386/libbz2.so.1                     base-compat-shlib       compat,pic
 ./usr/lib/i386/libbz2.so.1.1                   base-compat-shlib       compat,pic
 ./usr/lib/i386/libc.so.12                      base-compat-shlib       compat,pic
-./usr/lib/i386/libc.so.12.172                  base-compat-shlib       compat,pic
+./usr/lib/i386/libc.so.12.173                  base-compat-shlib       compat,pic
 ./usr/lib/i386/libcom_err.so.6                 base-compat-shlib       compat,pic,kerberos
 ./usr/lib/i386/libcom_err.so.6.0               base-compat-shlib       compat,pic,kerberos
 ./usr/lib/i386/libcrypt.so.1                   base-compat-shlib       compat,pic
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/base/md.sparc64
--- a/distrib/sets/lists/base/md.sparc64        Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/base/md.sparc64        Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.sparc64,v 1.83 2010/05/21 11:07:20 pooka Exp $
+# $NetBSD: md.sparc64,v 1.84 2010/06/07 13:52:29 tnozaki Exp $
 ./libexec/ld.elf_so-sparc                      base-sysutil-bin        compat,pic
 ./sbin/edlabel                                 base-sysutil-root       obsolete
 ./usr/bin/fdformat                             base-util-bin
@@ -63,7 +63,7 @@
 ./usr/lib/sparc/libbz2.so.1                    base-compat-shlib       compat,pic
 ./usr/lib/sparc/libbz2.so.1.1                  base-compat-shlib       compat,pic
 ./usr/lib/sparc/libc.so.12                     base-compat-shlib       compat,pic
-./usr/lib/sparc/libc.so.12.172                 base-compat-shlib       compat,pic
+./usr/lib/sparc/libc.so.12.173                 base-compat-shlib       compat,pic
 ./usr/lib/sparc/libcom_err.so.6                        base-compat-shlib       compat,pic
 ./usr/lib/sparc/libcom_err.so.6.0              base-compat-shlib       compat,pic
 ./usr/lib/sparc/libcrypt.so.1                  base-compat-shlib       compat,pic
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/base/shl.mi
--- a/distrib/sets/lists/base/shl.mi    Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/base/shl.mi    Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.537 2010/05/21 11:07:20 pooka Exp $
+# $NetBSD: shl.mi,v 1.538 2010/06/07 13:52:29 tnozaki Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -13,7 +13,7 @@
 #
 # Note:        libtermcap and libtermlib are hardlinked and share the same version.
 #
-./lib/libc.so.12.172                           base-sys-shlib          dynamicroot
+./lib/libc.so.12.173                           base-sys-shlib          dynamicroot
 ./lib/libcrypt.so.1.0                          base-sys-shlib          dynamicroot
 ./lib/libcrypto.so.6.1                         base-crypto-shlib       crypto,dynamicroot
 ./lib/libdevmapper.so.1.0                      base-lvm-shlib          lvm,dynamicroot
@@ -63,7 +63,7 @@
 ./usr/lib/libbluetooth.so.4.2                  base-sys-shlib
 ./usr/lib/libbsdmalloc.so.0.0                  base-sys-shlib
 ./usr/lib/libbz2.so.1.1                                base-sys-shlib
-./usr/lib/libc.so.12.172                       base-sys-shlib
+./usr/lib/libc.so.12.173                       base-sys-shlib
 ./usr/lib/libcom_err.so.6.0                    base-krb5-shlib         kerberos
 ./usr/lib/libcrypt.so.1.0                      base-sys-shlib
 ./usr/lib/libcrypto.so.6.1                     base-crypto-shlib       crypto
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/comp/md.amd64
--- a/distrib/sets/lists/comp/md.amd64  Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/comp/md.amd64  Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.67 2010/05/21 11:07:21 pooka Exp $
+# $NetBSD: md.amd64,v 1.68 2010/06/07 13:52:29 tnozaki Exp $
 ./usr/include/amd64                            comp-c-include
 ./usr/include/amd64/ansi.h                     comp-c-include
 ./usr/include/amd64/aout_machdep.h             comp-c-include
@@ -847,7 +847,7 @@
 ./usr/libdata/debug/usr/lib/i386/libbluetooth.so.4.2.debug     comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libbsdmalloc.so.0.0.debug     comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libbz2.so.1.1.debug   comp-compat-shlib       compat,pic,debug
-./usr/libdata/debug/usr/lib/i386/libc.so.12.172.debug  comp-compat-shlib       compat,pic,debug
+./usr/libdata/debug/usr/lib/i386/libc.so.12.173.debug  comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libcom_err.so.6.0.debug       comp-compat-shlib       compat,pic,kerberos,debug
 ./usr/libdata/debug/usr/lib/i386/libcrypt.so.1.0.debug comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/i386/libcrypto.so.6.1.debug        comp-compat-shlib       compat,pic,debug
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/comp/md.sparc64
--- a/distrib/sets/lists/comp/md.sparc64        Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/comp/md.sparc64        Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.sparc64,v 1.57 2010/05/21 11:07:21 pooka Exp $
+# $NetBSD: md.sparc64,v 1.58 2010/06/07 13:52:29 tnozaki Exp $
 ./usr/include/ieeefp.h                         comp-c-include
 ./usr/include/sparc                            comp-c-include
 ./usr/include/sparc/_G_config.h                        comp-obsolete           obsolete
@@ -628,7 +628,7 @@
 ./usr/libdata/debug/usr/lib/sparc/libbluetooth.so.4.2.debug            comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/sparc/libbsdmalloc.so.0.0.debug            comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/sparc/libbz2.so.1.1.debug                  comp-compat-shlib       compat,pic,debug
-./usr/libdata/debug/usr/lib/sparc/libc.so.12.172.debug                 comp-compat-shlib       compat,pic,debug
+./usr/libdata/debug/usr/lib/sparc/libc.so.12.173.debug                 comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/sparc/libcom_err.so.6.0.debug              comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/sparc/libcrypt.so.1.0.debug                        comp-compat-shlib       compat,pic,debug
 ./usr/libdata/debug/usr/lib/sparc/libcrypto.so.6.1.debug               comp-compat-shlib       compat,pic,debug
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 distrib/sets/lists/comp/shl.mi
--- a/distrib/sets/lists/comp/shl.mi    Mon Jun 07 13:33:33 2010 +0000
+++ b/distrib/sets/lists/comp/shl.mi    Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.118 2010/05/21 11:07:21 pooka Exp $
+# $NetBSD: shl.mi,v 1.119 2010/06/07 13:52:29 tnozaki Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -198,7 +198,7 @@
 ./usr/libdata/debug/usr/lib/libbluetooth.so.4.2.debug  comp-sys-debug  debug
 ./usr/libdata/debug/usr/lib/libbsdmalloc.so.0.0.debug  comp-sys-debug  debug
 ./usr/libdata/debug/usr/lib/libbz2.so.1.1.debug                comp-sys-debug  debug
-./usr/libdata/debug/usr/lib/libc.so.12.172.debug       comp-sys-debug  debug
+./usr/libdata/debug/usr/lib/libc.so.12.173.debug       comp-sys-debug  debug
 ./usr/libdata/debug/usr/lib/libcom_err.so.6.0.debug    comp-krb5-debug kerberos,debug
 ./usr/libdata/debug/usr/lib/libcrypt.so.1.0.debug      comp-sys-debug  debug
 ./usr/libdata/debug/usr/lib/libcrypto.so.6.1.debug     comp-crypto-debug       crypto,debug
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 include/limits.h
--- a/include/limits.h  Mon Jun 07 13:33:33 2010 +0000
+++ b/include/limits.h  Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.28 2008/08/27 08:53:55 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.29 2010/06/07 13:52:29 tnozaki Exp $      */
 
 /*
  * Copyright (c) 1988, 1993
@@ -108,6 +108,8 @@
 
 #endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE */
 
+#define MB_LEN_MAX             32      /* Allow ISO/IEC 2022 */
+
 #include <machine/limits.h>
 #include <sys/syslimits.h>
 
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 include/locale.h
--- a/include/locale.h  Mon Jun 07 13:33:33 2010 +0000
+++ b/include/locale.h  Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locale.h,v 1.16 2009/01/11 03:04:12 christos Exp $     */
+/*     $NetBSD: locale.h,v 1.17 2010/06/07 13:52:29 tnozaki Exp $      */
 
 /*
  * Copyright (c) 1991, 1993
@@ -84,14 +84,8 @@
 #endif
 
 __BEGIN_DECLS
-struct lconv   *localeconv(void);
-#ifdef __SETLOCALE_SOURCE__
-char           *setlocale(int, const char *);
-char           *__setlocale_mb_len_max_32(int, const char *);
-char           *__setlocale(int, const char *);
-#else /* !__SETLOCALE_SOURCE__ */
-char           *setlocale(int, const char *) __RENAME(__setlocale_mb_len_max_32);
-#endif /* !__SETLOCALE_SOURCE__ */
+struct lconv *localeconv(void);
+char *setlocale(int, const char *) __RENAME(__setlocale50);
 __END_DECLS
 
 #endif /* _LOCALE_H_ */
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 lib/libc/citrus/citrus_lc_ctype.c
--- a/lib/libc/citrus/citrus_lc_ctype.c Mon Jun 07 13:33:33 2010 +0000
+++ b/lib/libc/citrus/citrus_lc_ctype.c Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_lc_ctype.c,v 1.6 2010/06/01 13:52:08 tnozaki Exp $ */
+/* $NetBSD: citrus_lc_ctype.c,v 1.7 2010/06/07 13:52:29 tnozaki Exp $ */
 
 /*-
  * Copyright (c)2008 Citrus Project,
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_lc_ctype.c,v 1.6 2010/06/01 13:52:08 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_lc_ctype.c,v 1.7 2010/06/07 13:52:29 tnozaki Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "reentrant.h"
@@ -103,7 +103,7 @@
           data->rl_variable, data->rl_variable_len, _PRIVSIZE);
        if (!ret)
                ret = __runetable_to_netbsd_ctype(data);
-       if (ret || __MB_LEN_MAX_RUNTIME <
+       if (ret || __mb_len_max_runtime <
            _citrus_ctype_get_mb_cur_max(data->rl_citrus_ctype)) {
                _NukeRune(data);
                return EINVAL;
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 lib/libc/compat/Makefile
--- a/lib/libc/compat/Makefile  Mon Jun 07 13:33:33 2010 +0000
+++ b/lib/libc/compat/Makefile  Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2009/01/11 02:46:24 christos Exp $
+#      $NetBSD: Makefile,v 1.5 2010/06/07 13:52:29 tnozaki Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 
@@ -14,6 +14,7 @@
 
 .include "${.CURDIR}/db/Makefile.inc"
 .include "${.CURDIR}/gen/Makefile.inc"
+.include "${.CURDIR}/locale/Makefile.inc"
 .include "${.CURDIR}/net/Makefile.inc"
 .include "${.CURDIR}/rpc/Makefile.inc"
 .include "${.CURDIR}/stdlib/Makefile.inc"
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 lib/libc/compat/Makefile.inc
--- a/lib/libc/compat/Makefile.inc      Mon Jun 07 13:33:33 2010 +0000
+++ b/lib/libc/compat/Makefile.inc      Mon Jun 07 13:52:28 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.5 2009/01/11 02:46:24 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.6 2010/06/07 13:52:29 tnozaki Exp $
 
 CPPFLAGS+=     -I${NETBSDSRCDIR}/sys
 
@@ -6,6 +6,7 @@
 .PATH: ${COMPATARCHDIR}/gen ${COMPATARCHDIR}/sys
 
 .include "${COMPATDIR}/db/Makefile.inc"
+.include "${COMPATDIR}/locale/Makefile.inc"
 .include "${COMPATDIR}/gen/Makefile.inc"
 .include "${COMPATDIR}/net/Makefile.inc"
 .include "${COMPATDIR}/rpc/Makefile.inc"
diff -r 7f4ce0e3f1c1 -r 81a945af6a41 lib/libc/compat/arch/hppa/locale/compat_setlocale32.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libc/compat/arch/hppa/locale/compat_setlocale32.c     Mon Jun 07 13:52:28 2010 +0000
@@ -0,0 +1,53 @@
+/* $NetBSD: compat_setlocale32.c,v 1.1 2010/06/07 13:52:29 tnozaki Exp $ */
+
+/*-
+ * Copyright (c)1999 Citrus Project,
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL



Home | Main Index | Thread Index | Old Index