The NetBSD Project

CVS log for src/lib/libc/locale/setlocale.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / locale

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.65.14.1: download - view: text, markup, annotated - select for diffs
Sun Oct 13 16:08:53 2024 UTC (3 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +10 -2 lines
Pull up following revision(s) (requested by riastradh in ticket #971):

	lib/libc/locale/setlocale_local.h: revision 1.18
	lib/libc/string/strerror_r.c: revision 1.6
	lib/libc/locale/setlocale.c: revision 1.66
	lib/libc/string/Makefile.inc: revision 1.90
	lib/libc/locale/global_locale.c: revision 1.29

Redo l10n support in the strerror family.

Instead of opening the message catelog whenever strerror is called,
keep track of the translations in the locale cache. For the C locale,
the builtin sys_errlist is used directly. Other locales will open
the catalog file on the first strerror call and build a translation
table, so that further calls in this locale can just use an array
lookup.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Jun 8 21:35:18 2024 UTC (7 months, 2 weeks ago) by joerg
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +10 -2 lines
Redo l10n support in the strerror family.

Instead of opening the message catelog whenever strerror is called,
keep track of the translations in the locale cache. For the C locale,
the builtin sys_errlist is used directly. Other locales will open
the catalog file on the first strerror call and build a translation
table, so that further calls in this locale can just use an array
lookup.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Jan 4 20:57:29 2018 UTC (7 years ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -2 lines
Add bunch of missing includes of namespace.h in libc

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

This change eliminates usage of the global changes of the following symbols:
 - strlcat -> _strlcat
 - sysconf -> __sysconf
 - closedir -> _closedir
 - fparseln -> _fparseln
 - kill -> _kill
 - mkstemp -> _mkstemp
 - reallocarr -> _reallocarr
 - strcasecmp -> _strcasecmp
 - strncasecmp -> _strncasecmp
 - strptime -> _strptime
 - strtok_r -> _strtok_r
 - sysctl -> _sysctl
 - dlopen -> __dlopen
 - dlclose -> __dlclose
 - dlsym -> __dlsym

Sponsored by <The NetBSD Foundation>

Revision 1.64.20.1: download - view: text, markup, annotated - select for diffs
Fri Jul 14 15:53:08 2017 UTC (7 years, 6 months ago) by perseant
Branches: perseant-stdc-iso10646
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3 lines
Initial commit of a mostly-working implementation of __STDC_ISO_10646__,
with collation support using the Unicode Collation Algorithm.

The conversion from men/ku/ten form to Unicode is a gross hack at present.
Fixing this, and fleshing out the LC_COLLATE locale component, are next
on the agenda.

Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:15 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.60.2.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.1: +81 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.58.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:36:52 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.58.6.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.6.1: +93 -9 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Sep 13 13:13:32 2013 UTC (11 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: perseant-stdc-iso10646
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +83 -5 lines
Redo the locale cache to be constant. It now contains the localeconv()
data and which LC_MONETARY and LC_NUMERIC values it is derived from.
In newlocale(3) and setlocale(3), check for the existing entries and on
miss, create a new entry. This is currently not using a lock for the
list as the worst case is a small memory leak.

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:21:05 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +14 -8 lines
resync from head

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri May 17 12:55:57 2013 UTC (11 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Apr 30 00:45:05 2013 UTC (11 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +12 -6 lines
Make that to process PATH_LOCALE the first time _find_category is
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Apr 14 23:30:16 2013 UTC (11 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
Rename struct _locale_impl_t to struct _locale, since it will end up as
locale_t later.

Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:20 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +24 -55 lines
sync with head

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Mar 4 21:14:56 2012 UTC (12 years, 10 months ago) by tnozaki
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +24 -39 lines
don't use __link_set_* stuff for locale implementation.
patch reviewed by matt@, thanks.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jan 20 16:31:30 2012 UTC (13 years ago) by joerg
Branches: MAIN
CVS tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -18 lines
Remove code for CITRUS!=yes.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Jun 7 13:52:30 2010 UTC (14 years, 7 months ago) by tnozaki
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +13 -5 lines
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.

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:18:25 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +31 -9 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.54.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 12 23:52:06 2009 UTC (15 years, 10 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.54.4.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.4.1: +31 -9 lines
Pull up following revision(s) (requested by tnozaki in ticket #556):
	lib/libc/locale/generic_lc_template.h: revision 1.3
	lib/libc/locale/setlocale.c: revision 1.57
fix static linking setlocale(3) problem, reported by Aran Clauson
at current-users, thanks a lot!

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Mar 9 02:22:25 2009 UTC (15 years, 10 months ago) by tnozaki
Branches: MAIN
CVS tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +31 -9 lines
fix static linking setlocale(3) problem, reported by Aran Clauson
at current-users, thanks a lot!

Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 15 03:24:08 2009 UTC (16 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC2, netbsd-5-0-RC1
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +55 -404 lines
Pull up following revision(s) (requested by tnozaki in ticket #222):
	distrib/sets/lists/base/mi: revision 1.788
	distrib/utils/libhack/Makefile.inc: revision 1.23
	distrib/utils/libhack/Makefile: revision 1.22
	etc/mtree/NetBSD.dist: revision 1.387
	include/locale.h: revision 1.15
	lib/libc/citrus/Makefile.inc: revision 1.6
	lib/libc/citrus/citrus_aliasname_local.h: revision 1.1
	lib/libc/citrus/citrus_bcs.h: revision 1.5
	lib/libc/citrus/citrus_bcs_strtol.c: revision 1.1
	lib/libc/citrus/citrus_bcs_strtoul.c: revision 1.1
	lib/libc/citrus/citrus_csmapper.c: revision 1.9
	lib/libc/citrus/citrus_fix_grouping.h: revision 1.1
	lib/libc/citrus/citrus_lc_ctype.c: revision 1.1
	lib/libc/citrus/citrus_lc_messages.c: revision 1.1
	lib/libc/citrus/citrus_lc_messages.h: revision 1.1
	lib/libc/citrus/citrus_lc_monetary.c: revision 1.1
	lib/libc/citrus/citrus_lc_monetary.h: revision 1.1
	lib/libc/citrus/citrus_lc_numeric.c: revision 1.1
	lib/libc/citrus/citrus_lc_numeric.h: revision 1.1
	lib/libc/citrus/citrus_lc_template.h: revision 1.1
	lib/libc/citrus/citrus_lc_template_decl.h: revision 1.1
	lib/libc/citrus/citrus_lc_time.c: revision 1.1
	lib/libc/citrus/citrus_lc_time.h: revision 1.1
	lib/libc/citrus/citrus_module.c: revision 1.8
	lib/libc/citrus/citrus_namespace.h: revision 1.7
	lib/libc/citrus/modules/citrus_euc.c: revision 1.13
	lib/libc/gen/Makefile.inc: revision 1.166
	lib/libc/gen/isctype.c: revision 1.17 via patch
	lib/libc/gen/tolower_.c: revision 1.10
	lib/libc/gen/toupper_.c: revision 1.10
	lib/libc/iconv/Makefile.inc: revision 1.3
	lib/libc/iconv/iconv.c: revision 1.7
	lib/libc/locale/Makefile.inc: revision 1.53
	lib/libc/locale/___runetype_mb.c: file removal
	lib/libc/locale/_wctrans.c: revision 1.7
	lib/libc/locale/_wctrans_local.h: revision 1.3
	lib/libc/locale/_wctype.c: revision 1.1
	lib/libc/locale/_wctype_local.h: revision 1.1
	lib/libc/locale/aliasname.c: revision 1.3
	lib/libc/locale/aliasname_local.h: revision 1.2
	lib/libc/locale/bsdctype.c: revision 1.1
	lib/libc/locale/bsdctype.h: revision 1.1
	lib/libc/locale/ctypeio.c: revision 1.8
	lib/libc/locale/ctypeio.h: revision 1.2
	lib/libc/locale/current_locale.c: revision 1.1
	lib/libc/locale/dummy_lc_collate.c: revision 1.1
	lib/libc/locale/dummy_lc_template.h: revision 1.1
	lib/libc/locale/fix_grouping.c: revision 1.1
	lib/libc/locale/fix_grouping.h: revision 1.1
	lib/libc/locale/generic_lc_all.c: revision 1.1
	lib/libc/locale/generic_lc_template.h: revision 1.1
	lib/libc/locale/generic_lc_template_decl.h: revision 1.1
	lib/libc/locale/global_locale.c: revision 1.1
	lib/libc/locale/iswctype.c: file removal
	lib/libc/locale/iswctype_mb.c: revision 1.1
	lib/libc/locale/iswctype_sb.c: revision 1.6
	lib/libc/locale/lcmessages.c: file removal
	lib/libc/locale/lcmessages.h: file removal
	lib/libc/locale/lcmonetary.c: file removal
	lib/libc/locale/lcmonetary.h: file removal
	lib/libc/locale/lcnumeric.c: file removal
	lib/libc/locale/lcnumeric.h: file removal
	lib/libc/locale/lctime.c: file removal
	lib/libc/locale/lctime.h: file removal
	lib/libc/locale/localeconv.c: revision 1.15
	lib/libc/locale/localeio.c: revision 1.2
	lib/libc/locale/localeio.h: revision 1.2
	lib/libc/locale/localeio_lc_ctype.c: revision 1.1
	lib/libc/locale/localeio_lc_messages.c: revision 1.1
	lib/libc/locale/localeio_lc_monetary.c: revision 1.1
	lib/libc/locale/localeio_lc_numeric.c: revision 1.1
	lib/libc/locale/localeio_lc_time.c: revision 1.1
	lib/libc/locale/multibyte.h: revision 1.4
	lib/libc/locale/multibyte_amd1.c: revision 1.6
	lib/libc/locale/multibyte_c90.c: revision 1.5
	lib/libc/locale/nb_lc_messages_misc.h: revision 1.1
	lib/libc/locale/nb_lc_monetary_misc.h: revision 1.1
	lib/libc/locale/nb_lc_numeric_misc.h: revision 1.1
	lib/libc/locale/nb_lc_template.h: revision 1.1
	lib/libc/locale/nb_lc_template_decl.h: revision 1.1
	lib/libc/locale/nb_lc_time_misc.h: revision 1.1
	lib/libc/locale/nl_langinfo.c: revision 1.12
	lib/libc/locale/rune.c: revision 1.31
	lib/libc/locale/rune.h: revision 1.13
	lib/libc/locale/rune_local.h: revision 1.11
	lib/libc/locale/runeglue.c: revision 1.14
	lib/libc/locale/runetable.c: revision 1.18
	lib/libc/locale/setlocale.c: revision 1.55 via patch
	lib/libc/locale/setlocale_local.h: revision 1.1
	lib/libc/locale/setrunelocale.c: file removal
	lib/libc/nls/Makefile.inc: revision 1.9
	lib/libc/nls/catopen.c: revision 1.26
	lib/libc/string/Makefile.inc: revision 1.68
	lib/libc/string/wcscmp.c: revision 1.6
	lib/libc/string/wcsncmp.c: revision 1.6
	lib/libc/string/wcswidth.c: file removal
	lib/libc/string/wmemcmp.c: revision 1.4
	regress/lib/libc/locale/Makefile: revision 1.4
	regress/lib/libc/locale/ctype1/Makefile: revision 1.4
	regress/lib/libc/locale/ctype1/en_US.UTF-8.exp.uue: revision 1.2
	regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.exp.uue: revision 1.1
	regress/lib/libc/locale/ctype1/ja_JP.ISO-2022-JP.in.uue: revision 1.1
	regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.exp.uue: file removal
	regress/lib/libc/locale/ctype1/ja_JP.ISO2022-JP.in.uue: file removal
	regress/lib/libc/locale/ctype1/ja_JP.SJIS.exp.uue: revision 1.2
	regress/lib/libc/locale/ctype1/ja_JP.eucJP.exp.uue: revision 1.2
	regress/lib/libc/locale/ctype2/Makefile: revision 1.5
	regress/lib/libc/locale/ctype2/ja_JP.ISO-2022-JP-2.in.uue: revision 1.1
	regress/lib/libc/locale/ctype2/ja_JP.ISO2022-JP2.in.uue: file removal
	regress/lib/libc/locale/ctype3/Makefile: revision 1.5
	regress/lib/libc/locale/mbtowc/Makefile: revision 1.3
	regress/lib/libc/locale/mbtowc/ja_JP.ISO-2022-JP: revision 1.1
	regress/lib/libc/locale/mbtowc/ja_JP.ISO2022-JP: file removal
	regress/lib/libc/locale/wcstod/wcstod_test.c: revision 1.2
	share/locale/Makefile.locale: revision 1.1
	share/locale/Makefile: revision 1.5
	share/locale/ctype/Makefile: revision 1.28
	share/locale/locale.alias: revision 1.11
	share/locale/messages/Makefile: revision 1.5
	share/locale/messages/en_US.ISO8859-1.src: file removal
	share/locale/messages/en_US.US-ASCII.src: revision 1.1
	share/locale/messages/ja_JP.ISO-2022-JP.src: revision 1.1
	share/locale/messages/ja_JP.ct.src: revision 1.1
	share/locale/messages/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/messages/sr_ME.ISO8859-5.src: revision 1.1
	share/locale/messages/sr_YU.ISO8859-2.src: file removal
	share/locale/messages/sr_YU.ISO8859-5.src: file removal
	share/locale/messages/sr_YU.UTF-8.src: file removal
	share/locale/messages/zh_CN.GB18030.src: file removal
	share/locale/messages/zh_TW.eucTW.src: revision 1.1
	share/locale/monetary/Makefile: revision 1.5
	share/locale/monetary/af_ZA.ISO8859-1.src: revision 1.2
	share/locale/monetary/am_ET.UTF-8.src: revision 1.2
	share/locale/monetary/be_BY.CP1131.src: file removal
	share/locale/monetary/be_BY.CP1251.src: revision 1.2
	share/locale/monetary/be_BY.ISO8859-5.src: revision 1.2
	share/locale/monetary/be_BY.UTF-8.src: revision 1.2
	share/locale/monetary/bg_BG.CP1251.src: revision 1.2
	share/locale/monetary/bg_BG.UTF-8.src: revision 1.2
	share/locale/monetary/ca_ES.ISO8859-1.src: revision 1.2
	share/locale/monetary/cs_CZ.ISO8859-2.src: revision 1.2
	share/locale/monetary/cs_CZ.UTF-8.src: revision 1.2
	share/locale/monetary/da_DK.ISO8859-1.src: revision 1.2
	share/locale/monetary/de_AT.ISO8859-1.src: revision 1.2
	share/locale/monetary/de_CH.ISO8859-1.src: revision 1.2
	share/locale/monetary/de_DE.ISO8859-1.src: revision 1.2
	share/locale/monetary/el_GR.ISO8859-7.src: revision 1.2
	share/locale/monetary/en_AU.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_CA.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_GB.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_GB.UTF-8.src: revision 1.2
	share/locale/monetary/en_IE.UTF-8.src: revision 1.2
	share/locale/monetary/en_NZ.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_US.ISO8859-1.src: revision 1.2
	share/locale/monetary/en_US.US-ASCII.src: revision 1.1
	share/locale/monetary/es_ES.ISO8859-1.src: revision 1.2
	share/locale/monetary/et_EE.ISO8859-15.src: revision 1.2
	share/locale/monetary/fi_FI.ISO8859-1.src: revision 1.2
	share/locale/monetary/fr_BE.ISO8859-1.src: revision 1.2
	share/locale/monetary/fr_CA.ISO8859-1.src: revision 1.2
	share/locale/monetary/fr_FR.ISO8859-1.src: revision 1.2
	share/locale/monetary/he_IL.UTF-8.src: revision 1.2
	share/locale/monetary/hi_IN.ISCII-DEV.src: revision 1.2
	share/locale/monetary/hr_HR.ISO8859-2.src: revision 1.2
	share/locale/monetary/hu_HU.ISO8859-2.src: revision 1.2
	share/locale/monetary/hy_AM.ARMSCII-8.src: revision 1.2
	share/locale/monetary/hy_AM.UTF-8.src: revision 1.2
	share/locale/monetary/is_IS.ISO8859-1.src: revision 1.2
	share/locale/monetary/it_IT.ISO8859-1.src: revision 1.2
	share/locale/monetary/ja_JP.ISO-2022-JP.src: revision 1.1
	share/locale/monetary/ja_JP.UTF-8.src: revision 1.2
	share/locale/monetary/ja_JP.eucJP.src: revision 1.2
	share/locale/monetary/kk_KZ.PT154.src: revision 1.2
	share/locale/monetary/kk_KZ.UTF-8.src: revision 1.2
	share/locale/monetary/ko_KR.UTF-8.src: revision 1.2
	share/locale/monetary/ko_KR.eucKR.src: revision 1.2
	share/locale/monetary/lt_LT.ISO8859-13.src: revision 1.2
	share/locale/monetary/mn_MN.UTF-8.src: revision 1.2
	share/locale/monetary/nl_BE.ISO8859-1.src: revision 1.2
	share/locale/monetary/nl_NL.ISO8859-1.src: revision 1.2
	share/locale/monetary/no_NO.ISO8859-1.src: revision 1.2
	share/locale/monetary/pl_PL.ISO8859-2.src: revision 1.2
	share/locale/monetary/pl_PL.UTF-8.src: revision 1.2
	share/locale/monetary/pt_BR.ISO8859-1.src: revision 1.2
	share/locale/monetary/pt_PT.ISO8859-1.src: revision 1.2
	share/locale/monetary/ro_RO.ISO8859-2.src: revision 1.2
	share/locale/monetary/ru_RU.CP1251.src: revision 1.2
	share/locale/monetary/ru_RU.CP866.src: revision 1.2
	share/locale/monetary/ru_RU.ISO8859-5.src: revision 1.2
	share/locale/monetary/ru_RU.KOI8-R.src: revision 1.2
	share/locale/monetary/ru_RU.UTF-8.src: revision 1.2
	share/locale/monetary/sk_SK.ISO8859-2.src: revision 1.2
	share/locale/monetary/sl_SI.ISO8859-2.src: revision 1.2
	share/locale/monetary/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/monetary/sr_RS.ISO8859-2.src: revision 1.1
	share/locale/monetary/sr_YU.ISO8859-2.src: revision 1.2
	share/locale/monetary/sr_YU.ISO8859-5.src: revision 1.2
	share/locale/monetary/sr_YU.UTF-8.src: revision 1.2
	share/locale/monetary/sv_SE.ISO8859-1.src: revision 1.2
	share/locale/monetary/tr_TR.ISO8859-9.src: revision 1.2
	share/locale/monetary/uk_UA.CP1251.src: revision 1.2
	share/locale/monetary/uk_UA.ISO8859-5.src: revision 1.2
	share/locale/monetary/uk_UA.KOI8-U.src: revision 1.2
	share/locale/monetary/uk_UA.UTF-8.src: revision 1.2
	share/locale/monetary/zh_CN.GB18030.src: revision 1.2
	share/locale/monetary/zh_CN.UTF-8.src: revision 1.2
	share/locale/monetary/zh_CN.eucCN.src: revision 1.2
	share/locale/monetary/zh_HK.Big5hkscs.src: revision 1.1
	share/locale/monetary/zh_HK.UTF-8.src: revision 1.2
	share/locale/monetary/zh_TW.Big5.src: revision 1.2
	share/locale/numeric/Makefile: revision 1.4
	share/locale/numeric/am_ET.UTF-8.src: file removal
	share/locale/numeric/en_US.ISO8859-1.src: file removal
	share/locale/numeric/en_US.US-ASCII.src: revision 1.1
	share/locale/numeric/ja_JP.eucJP.src: file removal
	share/locale/numeric/ko_KR.eucKR.src: file removal
	share/locale/numeric/mn_MN.UTF-8.src: file removal
	share/locale/numeric/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/numeric/sr_YU.ISO8859-2.src: file removal
	share/locale/numeric/sr_YU.ISO8859-5.src: file removal
	share/locale/numeric/zh_CN.eucCN.src: file removal
	share/locale/time/Makefile: revision 1.5
	share/locale/time/en_US.ISO8859-1.src: file removal
	share/locale/time/en_US.US-ASCII.src: revision 1.1
	share/locale/time/ja_JP.ISO-2022-JP.src: revision 1.1
	share/locale/time/ja_JP.ct.src: revision 1.1
	share/locale/time/sr_ME.ISO8859-2.src: revision 1.1
	share/locale/time/sr_ME.ISO8859-5.src: revision 1.1
	share/locale/time/sr_ME.UTF-8.src: revision 1.1
	share/locale/time/sr_YU.ISO8859-2.src: file removal
	share/locale/time/sr_YU.ISO8859-5.src: file removal
	share/locale/time/sr_YU.UTF-8.src: file removal
	share/locale/time/zh_CN.GB18030.src: file removal
	share/locale/time/zh_TW.eucTW.src: revision 1.1
	usr.bin/locale/locale.c: revision 1.6
	usr.bin/mklocale/Makefile: revision 1.12
	usr.bin/mklocale/lex.l: revision 1.14
	usr.bin/mklocale/mklocaledb.c: revision 1.1
	usr.bin/mklocale/yacc.y: revision 1.25
	usr.sbin/chrtbl/Makefile: revision 1.8
	usr.sbin/chrtbl/ctypeio.c: revision 1.1
	usr.sbin/chrtbl/ctypeio.h: revision 1.1
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES}
db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:46:29 2009 UTC (16 years ago) by christos
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
merge christos-time_t

Revision 1.54.6.2: download - view: text, markup, annotated - select for diffs
Sun Jan 4 17:02:20 2009 UTC (16 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.54.6.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.6.1: +111 -0 lines
merge with head.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jan 2 00:20:20 2009 UTC (16 years ago) by tnozaki
Branches: MAIN
CVS tags: christos-time_t-nbase, christos-time_t-base
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +55 -404 lines
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.

Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:29:32 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +48 -10 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.52.6.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:13:38 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.52.6.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.6.1: +19 -10 lines
sync with head.

Revision 1.54.6.1
Thu Jun 12 20:33:23 2008 UTC (16 years, 7 months ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.54: +0 -460 lines
file setlocale.c was added on branch christos-time_t on 2009-01-04 17:02:20 +0000

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Jun 12 20:33:23 2008 UTC (16 years, 7 months ago) by ginsbach
Branches: MAIN
CVS tags: yamt-pf42-base4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5, christos-time_t
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +19 -10 lines
The category LC_MESSAGES is already a directory possibly containing
gencat(1) generated message catalogs.  Make sure that it is handled
properly.  (I missed this previously.)

Add some additional sanity checks on the locale path as the value may
come from the envrionment.

Revision 1.52.6.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:30:17 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +35 -6 lines
sync with head.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat May 17 03:49:54 2008 UTC (16 years, 8 months ago) by ginsbach
Branches: MAIN
CVS tags: yamt-pf42-base3, yamt-pf42-base2, hpcarm-cleanup-nbase
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +35 -6 lines
Add support for additional locale categories: LC_MESSAGES, LC_MONETARY,
LC_NUMERIC.

The code used to load LC_TIME was refactored in to a more general routine.
This common routine is now used to load LC_TIME along with the newly added
categories.

Changes discussed with/reviewed by christos.

Revision 1.51.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:16 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +2 -8 lines
sync with HEAD

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Sep 29 07:55:45 2007 UTC (17 years, 4 months ago) by tnozaki
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42, wrstuden-revivesa
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -8 lines
1. add workaround for ctype.h is* funcs problem.
   isspace((int)0xA0) should return false under LC_CTYPE=en_US.UTF-8,
   see: http://www.freebsd.org/cgi/query-pr.cgi?pr=116363&cat=gnu
2. change __runtable_to_netbsd_ctype() as reentrant.

patch ok'ed by tshiozak-san, thanks!

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Mar 28 19:05:53 2007 UTC (17 years, 10 months ago) by manu
Branches: MAIN
CVS tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +13 -4 lines
Add support for LC_TIME, from  Joachim Kuebart, through PR lib/10877

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Feb 16 19:19:49 2006 UTC (18 years, 11 months ago) by tnozaki
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -3 lines
make "locale -a" read locale.alias file.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Dec 2 11:10:45 2005 UTC (19 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -4 lines
constify and remove an __UNCONST.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 29 03:11:59 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
WARNS=4

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jul 21 20:27:46 2004 UTC (20 years, 6 months ago) by tshiozak
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -2 lines
make sure CITRUS=no to work.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Jul 21 18:51:30 2004 UTC (20 years, 6 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +69 -47 lines
- add support for "/force" symbol on locale.alias.
- a bit clean-up.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jul 21 17:49:49 2004 UTC (20 years, 6 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -2 lines
add prototype for load_locale_sub().

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jul 21 14:18:16 2004 UTC (20 years, 6 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +91 -42 lines
add support for locale.alias file.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:43:06 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.

Revision 1.17.6.5: download - view: text, markup, annotated - select for diffs
Wed Sep 4 01:05:40 2002 UTC (22 years, 4 months ago) by itojun
Branches: netbsd-1-5
Diff to: previous 1.17.6.4: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.6.4: +14 -9 lines
pullup lib/libc/locale/setlocale.c 1.38-1.40 (tshiozak)

fix a bug of setlocale when changing locales with LC_ALL for the first
argunemt and with a string containing many slashes for the second argument.
This bug may cause setlocale() to destroy static datas.

Revision 1.34.2.5: download - view: text, markup, annotated - select for diffs
Tue Aug 13 00:59:51 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.34.2.4: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.4: +26 -28 lines
Catch up to -current.

Revision 1.37.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 7 05:04:49 2002 UTC (22 years, 5 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.37.2.4: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.4: +20 -20 lines
Pull up revision 1.42 (requested by enami in ticket #639):
Rearrange code to avoid core dump and just return an error instead
when parsing a locale string previously returned by setlocale.

Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 7 05:03:35 2002 UTC (22 years, 5 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.37.2.3: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.3: +2 -9 lines
Pull up revision 1.41 (requested by lukem):
remove a global variable "saved_categories" as it isn't necessary anymore.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Aug 7 04:42:42 2002 UTC (22 years, 5 months ago) by enami
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +20 -20 lines
Rearrange code to avoid core dump and just return an error instead
when parsing a locale string previously returned by setlocale.

Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Sat Aug 3 16:18:46 2002 UTC (22 years, 5 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.37.2.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.2: +3 -5 lines
Pull up revision 1.40 (requested by tshiozak in ticket #619):
remove an obstructive ?: operator of the check added in the last commit by
itojun-san.

Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 3 16:18:17 2002 UTC (22 years, 5 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.1: +7 -4 lines
Pull up revision 1.39 (requested by tshiozak in ticket #619):
correct use of strlcpy (really need to enforce length, so use memcpy)

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 3 16:17:03 2002 UTC (22 years, 5 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +9 -5 lines
Pull up revision 1.38 (requested by tshiozak in ticket #619):
fix a bug of setlocale when changing locales with LC_ALL for the first
argunemt and with a string containing many slashes for the second argument.
This bug may cause setlocale() to destroy static datas.
If a setuid program calls this function as 'setlocale(LC_ALL, "");',
this might be vulnerable, although there are few programs having such
vulnerability.  This bug probably affects every versions of NetBSD,
including 1.4, 1.5 and 1.6.
XXX: This part of setlocale is unseemly, thus we had better rewrite it in
the future.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Aug 3 06:12:30 2002 UTC (22 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -9 lines
remove a global variable "saved_categories" as it isn't necessary anymore.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Aug 2 12:27:32 2002 UTC (22 years, 5 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -5 lines
remove an obstructive ?: operator of the check added in the last commit by
itojun-san.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Aug 2 08:02:36 2002 UTC (22 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +7 -4 lines
correct use of strlcpy (really need to enforce length, so use memcpy)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Aug 2 07:12:51 2002 UTC (22 years, 5 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +9 -5 lines
fix a bug of setlocale when changing locales with LC_ALL for the first
argunemt and with a string containing many slashes for the second argument.
This bug may cause setlocale() to destroy static datas.

If a setuid program calls this function as 'setlocale(LC_ALL, "");',
this might be vulnerable, although there are few programs having such
vulnerability.  This bug probably affects every versions of NetBSD,
including 1.4, 1.5 and 1.6.

XXX: This part of setlocale is unseemly, thus we had better rewrite it in
the future.

Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 22 20:42:18 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.2.3: preferred, colored
Changes since revision 1.34.2.3: +2 -2 lines
Catch up to -current.

Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Fri Mar 8 21:35:23 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.2.2: preferred, colored
Changes since revision 1.34.2.2: +64 -29 lines
Catch up to -current.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Feb 13 07:59:45 2002 UTC (22 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +64 -29 lines
- give the precedence to LC_ALL environment variable
  than other LC_* variables.
- add a hack for LC_MESSAGES for nls.
  (this will be removed when we have a real LC_MESSAGES support.)

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 28 20:50:41 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.2.1: preferred, colored
Changes since revision 1.34.2.1: +4 -4 lines
Catch up to -current.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 22 17:08:02 2002 UTC (23 years ago) by yamt
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4 lines
fix a long standing bug that setlocale(LC_ALL, NULL)
returns only 5 categories while we have 6 categories.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:19:55 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Catch up to -current.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Apr 17 20:12:32 2001 UTC (23 years, 9 months ago) by kleink
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Need <limits.h> in _CTYPE_PRIVATE environments.

Revision 1.17.6.4: download - view: text, markup, annotated - select for diffs
Thu Jan 25 18:05:11 2001 UTC (24 years ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.17.6.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.6.3: +48 -27 lines
Pull up revisions 1.23, 1.25-1.27, 1.31 via patch (requested by itojun):
  Updates to setlocale(): return NULL for nonexistant locales, ignore
  some errors, and handle environment vars consistently (no slashes).

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jan 25 01:25:07 2001 UTC (24 years ago) by itojun
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -19 lines
split setlocale.c for smaller footprint (do not pull things in too much).
have magic number check in locale modules.
rename: lib/libc/locale/setlocale_sb.c -> setlocale1.c

NOTE: this commit does not enable multibyte locale support, yet.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jan 22 00:29:46 2001 UTC (24 years ago) by itojun
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -3 lines
move __mb_cur_max to dedicated *.o, so that we do not pull in
locale stuff just by calling printf().

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Dec 25 23:30:58 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +33 -2 lines
byte default, use (non-citrus) singlebyte locale.  if we compile
ld.elf_so with citrus locale, it bombs.
XXX this is shortterm workaround.  if you are willing to test citrus locale,
use RUNE=yes in libc/locale/Makefile.inc.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 24 22:24:04 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
fix LC_ALL behavior again...

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Dec 23 08:22:40 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4 lines
error code check mistake in LC_CTYPE handling

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:51:22 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +14 -25 lines
cope with runeglue.c failure better

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:28:09 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -5 lines
for setlocale(LC_CTYPE) failure, make sure to return NULL.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Dec 22 16:50:08 2000 UTC (24 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +14 -12 lines
previous change was not complete enough, so finish and make more correct:
for LC_ALL, return success if at least on of categories was loaded
successfully, error if no category was loaded; in the latter case, we don't
need to back off locale changes, since none happened

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Dec 22 15:25:11 2000 UTC (24 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
__setlocale(): ignore errors in locale category load for LC_ALL - doing so
is not useful. This is same change as in rev 1.17.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 21 17:16:20 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -3 lines
handle $LANG and $LC_xx consistently (slash is forbidden).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Dec 21 11:29:47 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +23 -9 lines
first import of citrus LC_CTYPE locale.  singlebyte only at this moment.
shot-term TODO:
- enable multibyte locales.  this includes loadable locale modules
  (#ifdef DLRUNE).
- populate LC_CTYPE definition files.
- other functions such as iconv()
- make libc functions more friendly with multibyte.
- multilingualize other LC_xx
- torture tests

XXX don't forget to "make depend" when you rebuild libc, multibyte.c is
moved from lib/libc/stdlib to lib/libc/locale.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Dec 20 11:48:58 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +26 -23 lines
use strlcpy to guarantee string termination

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Dec 20 11:44:36 2000 UTC (24 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +22 -6 lines
on setlocale() failure, back out changes made to current_locale[],
and return NULL.  from: From: Shingo WATANABE <nabe@nabechan.org>

Revision 1.17.6.3: download - view: text, markup, annotated - select for diffs
Thu Oct 26 16:17:27 2000 UTC (24 years, 3 months ago) by sommerfeld
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2
Diff to: previous 1.17.6.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.6.2: +4 -6 lines
Pull up catopen.c 1.17,1.18
setlocale.c 1.20,1.21

Avoid security problems when these are used in setuid programs.
Approved by jhawk (a while ago)

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 4 14:08:34 2000 UTC (24 years, 3 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +6 -8 lines
Pull up revisions 1.20-1.21 (requested by sommerfeld):
  Ignore NLSPATH, PATH_LOCALE if issetugid().
  Disallow `/' in LC_* and LANG environment variables.
  Close one-byte buffer-overrun in catopen().

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Sep 9 20:50:33 2000 UTC (24 years, 4 months ago) by veego
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -2 lines
Include <unistd.h> for the issetugid prototype.
Fix a compile problem on the alpha.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Sep 8 20:56:36 2000 UTC (24 years, 4 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -8 lines
Disallow '/' character in LC_* and LANG environment variable, and
prevent to look up PATH_LOCALE and NLSPATH on setuid/setgid executable.
This is important to prevent to cause some kind of security hole.

Revision 1.17.6.2: download - view: text, markup, annotated - select for diffs
Thu Aug 10 16:44:46 2000 UTC (24 years, 5 months ago) by kleink
Branches: netbsd-1-5
CVS tags: netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Diff to: previous 1.17.6.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.6.1: +2 -1 lines
Pull up rev. 1.19 (approved by thorpej):
ISO/IEC 9899:1999: MB_CUR_MAX expands to a positive integer
expression with type size_t.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Aug 10 10:03:43 2000 UTC (24 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3 lines
ISO/IEC 9899:1999: MB_CUR_MAX expands to a positive integer expression with
type size_t (not int).

(Incompatible ABI change, ignored due to a window of just two days.)

Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 9 17:42:24 2000 UTC (24 years, 5 months ago) by tshiozak
Branches: netbsd-1-5
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -3 lines
pull up the following changes (approved by thorpej):
 > cvs rdiff -r1.9 -r1.10 basesrc/include/locale.h
 > cvs rdiff -r1.45 -r1.46 basesrc/include/stdlib.h
 > cvs rdiff -r1.16 -r1.17 basesrc/lib/libc/locale/Makefile.inc
 > cvs rdiff -r1.17 -r1.18 basesrc/lib/libc/locale/setlocale.c
 > cvs rdiff -r0 -r1.2 basesrc/lib/libc/locale/setlocale_sb.c
 > cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/alpha/include/limits.h
 > cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm26/include/limits.h
 > cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/arm32/include/limits.h
 > cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/i386/include/limits.h
 > cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/m68k/include/limits.h
 > cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/mips/include/limits.h
 > cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/pc532/include/limits.h
 > cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/powerpc/include/limits.h
 > cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/sh3/include/limits.h
 > cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/sparc/include/limits.h
 > cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/sparc64/include/limits.h
 > cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/vax/include/limits.h
 >
 > Outline:
 >
 > Preparation for the future introduction of multibyte locale.
 >  - MB_LEN_MAX is increased to 32.
 >  - To ensure binary compatibility for old executables
 >    under multibyte locale, versioned setlocale is added.
 >  - __mb_len_cur definision is added in setlocale.c
 >    and enable it in stdlib.h .
 >    It is also important for multibyte locale stuffs,
 >    but I just forgot.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Aug 8 22:31:14 2000 UTC (24 years, 5 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -3 lines
Preparation for the future introduction of multibyte locale.
 - MB_LEN_MAX is increased to 32.
 - To ensure binary compatibility for old executables
   under multibyte locale, versioned setlocale is added.
 - __mb_len_cur definision is added in setlocale.c
   and enable it in stdlib.h .
   It is also important for multibyte locale stuffs,
   but I just forgot.

Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Fri Jun 23 16:58:58 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.1: +10 -12 lines
Import of most recent XPG4DL dated 2000.06.23.

Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Sun May 28 22:41:05 2000 UTC (24 years, 8 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +156 -11 lines
Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 22:52:43 2000 UTC (24 years, 11 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH002
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -4 lines
Pull up revision 1.17 (requested by jdolecek):
  When setlocale() is called with LC_ALL, try to initialize every
  locale category even if the initialization for some of them fails.
  Fixes problem where e.g. LC_CTYPE category won't be initialized
  if the locale doesn't implement the LC_COLLATE category.

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:29:41 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -4 lines
Pull up to last week's -current.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Oct 15 17:17:07 1999 UTC (25 years, 3 months ago) by jdolecek
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, minoura-xpg4dl-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: netbsd-1-5, minoura-xpg4dl
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -4 lines
when loading all locale categories (called with LC_ALL), ignore if
loadlocale() fails - since only LC_CTYPE is implemented and all
other categories return error, code never got to actually
load the ctype locales, as first category tried was LC_COLLATE
and it always failed

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Nov 13 15:49:04 1998 UTC (26 years, 2 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: wrstuden-devbsize, netbsd-1-4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -3 lines
delint

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Oct 23 09:44:34 1998 UTC (26 years, 3 months ago) by kleink
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Declaration vs. definition consistency.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Oct 13 14:19:21 1998 UTC (26 years, 3 months ago) by kleink
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
Need internal names for snprintf() and vsnprintf().

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 26 11:17:28 1998 UTC (26 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
constify some tables.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jul 13 19:54:57 1997 UTC (27 years, 6 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Fix RCSID's

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jun 2 09:52:50 1997 UTC (27 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +45 -21 lines
Add support for localized character sets (a.k.a. LC_CTYPE).

Thanks go to Matthias Scheler <tron@lyssa.owl.de> for contributing his initial
work in PR/3592, and to Christos Zoulas for refining it!

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Apr 29 16:40:19 1997 UTC (27 years, 9 months ago) by kleink
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -0 lines
RCSid police.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 29 13:30:17 1997 UTC (27 years, 9 months ago) by kleink
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +9 -11 lines
* Handle cases when 'lang' and friends have been set to "" correctly.
* Fix botch when setting the locale for no specific category.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Apr 22 12:27:34 1997 UTC (27 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -2 lines
KNF.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jan 23 14:02:01 1997 UTC (28 years ago) by mrg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -6 lines
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 13 06:59:57 1995 UTC (29 years, 8 months ago) by jtc
Branches: MAIN
CVS tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, ivory_soap2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -0 lines
#include appropriate header files to bring prototypes into scope

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 30 02:20:50 1994 UTC (30 years, 4 months ago) by jtc
Branches: MAIN
CVS tags: ivory_soap
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +184 -14 lines
New setlocale() that does everything except actually load new locales;
and that's coming in the next week.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Aug 26 00:45:44 1993 UTC (31 years, 5 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Declare rcsid strings so they are stored in text segment.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Aug 6 22:56:18 1993 UTC (31 years, 5 months ago) by jtc
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -3 lines
setlocale(category, "") is supposed to set locale to the default.
The "C" locale in our case, since we have no other locale support.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:39:59 1993 UTC (31 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Add RCS identifiers.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 10 months ago) by cgd
Branches: WFJ-920714
CVS tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 10 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>