Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
include.
Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
* ctype/ctype-info.c: (__ctype_width): New variable.
(__ctype_names): Initialize correctly without offset.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c: Change copyright.
* locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
endianess for initialization value.
* locale/lc-ctype.c (current): Add parameter for offset.
(__ctype32_b, __ctype_width): Add initialization for these
variables.
* locale/programs/charmap.c: Finish support for WIDTH information.
(new_width): New function.
* locale/programs/charset.h (width_rule): new data structure.
(charset_t): Add elements for width information.
* locale/programs/ld-ctype.c (locale_ctype_t): Add element
for width information.
(allocate_arrays): Add new argument for charset.
(ctype_finish): Make sure all characters named in charset
width table are known to name table.
(ctype_output): Correct handling of class and map name
information and write out width information.
(find_idx): Prepare for being called with NULL pointer as
TABLE argument. This means only allocate name entry.
(allocate_arrays): Correct handling of array element -1.
Because EOF == -1 the value of element 127 must *not* be
mirrored here.
Fill width information from charset tables.
* locale/programs/localedef.c (main): Correct loop over all
categories after change of order from Thu Mar 28 14:22:51 1996.
Add new charset argument to call of `write_all_categories'.
* locale/programs/locales.h (ctype_finish, ctype_output): New
charset argument.
* locale/programs/locfile.c (write_all_categories): Call
`ctype_output' with additional argument charset.
* posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
and _POSIX_PRIO_IO definitions.
* posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
and CHARCLASS_NAME_MAX.
* posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
and _POSIX_PRIO_IO.
* stdlib/grouping.h: Prepare for use in wide string functions.
* stdlib/stdlib.h: Correct prototypes for __strto*_internal
functions.
* stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
* stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
* string/strcoll.c: Extend for use as `wcscoll'.
* string/strxfrm.c: Extend for use as `wcsxfrm'.
* sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
_PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
* sysdeps/generic/stpncpy.c: Correct return value.
* sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
_PC_ASYNC_IO, and _PC_PRIO_IO.
* sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
_SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
_SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
_SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
_SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
_SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
* sysdeps/stub/sysconf.c: Ditto.
* sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
* sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
* sysdeps/unix/sysv/linux/Makefile [subdir == misc]
(sysdep_routines): Add s_sysctl and sysctl.
* sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
* sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
around kernel header.
* sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
interface to `sysctl' function.
* sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
* sysdeps/unix/sysv/linux/sysconf.c: Add handling of
_SC_CHARCLASS_NAME_MAX.
* sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
of _sysctl system call.
* sysvipc/Makefile (routines): Add ftok.
* sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
David Mosberger-Tang.
* wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
wcsxfrm, wcwidth, and wcswidth.
* wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
wcsxfrm, wcwidth, and wcswidth.
Declare internal interfaces for wcsto* functions.
[OPTIMIZE]: Define inline functions for wcsto* functions to
call internal interface functions.
* wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
standard function equivalent to stpcpy/stpncpy.
* wcsmbs/wcscoll.c: Implement `wcscoll' function by using
`strcoll' implementation.
* wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
wchar_t.
* wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
implementation.
* wcsmbs/wcstof.c: Same for `wcstof'.
* wcsmbs/wcstold.c: Same for `strtold'.
* wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
implementation.
* wcsmbs/wcstoq.c: Same for `wcstoq'.
* wcsmbs/wcstoul.c: Same for `wcstoul'.
* wcsmbs/wcstouq.c: Same for `wcstouq'.
* wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
CAE.
* wcsmbs/wcwidth.c: Ditto for `wcwidth'.
* wcsmbs/wcwidth.h: Common function for definitions of above two
functions.
* wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
`strxfrm implementation.
* wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
* wctype/wctype.h (wint_t): Protect against multiple definition.
(wctype_t): Always define as `unsigned long int'.
* wctype.h: New file. Wrapper around wctype/wctype.h.
* hurd/hurdstartup.c (_hurd_split_args): Function removed.
(_hurd_startup): Use argz functions.
* hurd/hurdexec.c: Use argz functions.
1996-05-01 13:55:18 +00:00
|
|
|
/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
|
|
|
This file is part of the GNU C Library.
|
|
|
|
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
|
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Library General Public License as
|
|
|
|
published by the Free Software Foundation; either version 2 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
|
|
License along with the GNU C Library; see the file COPYING.LIB. If
|
|
|
|
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
Boston, MA 02111-1307, USA. */
|
1995-02-18 01:27:10 +00:00
|
|
|
|
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
1995-03-06 03:00:08 +00:00
|
|
|
#include "localeinfo.h"
|
|
|
|
#include <endian.h>
|
1995-02-18 01:27:10 +00:00
|
|
|
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_class[768] =
|
Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/C-ctype.c: New correct data generated by drepper.
* Rules: Don't use $(libc.a).
Parsing of grouped numbers contributed by Ulrich Drepper.
* stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
new flag arg; if nonzero, parse locale-dependent thousands
grouping and interpret only the prefix that is correctly grouped.
(strtol): Define this to call _strtol_internal with zero for the flag.
Use a weak symbol for the definition.
* stdlib/strtod.c (strtod, __strtod_internal): Likewise.
Check for the exponent of the number overflowing the float format.
* stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
(__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
[__OPTIMIZE__]: Define inline functions calling those.
* stdlib/grouping.h: New file, written by drepper.
* stdlib/Makefile (distribute): Add grouping.h.
* stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
__strtoX_internal with the grouping flag set iff the modifier is
present.
Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
* mach/Machrules: Produce static deps for all object flavors.
[interface-library]: Remove all these variables and rules.
($(interface-library)-routines): Define this variable.
(extra-libs): Append $(interface-library) to this.
* mach/Makefile (interface-library): Omit .a suffix.
* hurd/Makefile: Likewise.
Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
early if no new data in buffer after priming.
* Makerules (object-suffixes, libtypes): Move all these variables
to Makeconfig.
* Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
* Makerules (build-extra-lib): New canned sequence.
* sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
fix uses of FILE and PORT. Remove bogus weak alias for `access'.
* sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
Add missing semicolon.
* sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
hurd_fd *' temp var, since DIRP->__fd is a `void *'.
* sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
* stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
locale data format is implemented.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Pass &__sigreturn on the stack to the trampoline code, so it is
not position-dependent.
* stdio/printf_fp.c (NDEBUG): Define this to disable assert.
Don't include <stdarg.h>.
(__printf_fp): Last arg ARGS is now `const void **const';
dereference ARGS[0] instead of using va_arg.
* locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
loop to install data.
* locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
to extract number from item code.
(_nl_load_locale): Close the descriptor when finished.
* malloc/realloc.c (_realloc_internal): Call _malloc_internal in
place of malloc.
* time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
1995-03-16 05:32:45 +00:00
|
|
|
/* 0x80 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x86 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x8c */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x92 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x98 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x9e */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xa4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xaa */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xb0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xb6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xbc */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xc2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xc8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xce */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xd4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xda */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xe0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xe6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xec */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xf2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xf8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xfe */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x04 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\003\040"
|
|
|
|
/* 0x0a */ "\002\040" "\002\040" "\002\040" "\002\040" "\002\000" "\002\000"
|
|
|
|
/* 0x10 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x16 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x1c */ "\002\000" "\002\000" "\002\000" "\002\000" "\001\140" "\004\300"
|
|
|
|
/* 0x22 */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
|
|
|
|
/* 0x28 */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
/* 0x2e */ "\004\300" "\004\300" "\010\330" "\010\330" "\010\330" "\010\330"
|
|
|
|
/* 0x34 */ "\010\330" "\010\330" "\010\330" "\010\330" "\010\330" "\010\330"
|
Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/C-ctype.c: New correct data generated by drepper.
* Rules: Don't use $(libc.a).
Parsing of grouped numbers contributed by Ulrich Drepper.
* stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
new flag arg; if nonzero, parse locale-dependent thousands
grouping and interpret only the prefix that is correctly grouped.
(strtol): Define this to call _strtol_internal with zero for the flag.
Use a weak symbol for the definition.
* stdlib/strtod.c (strtod, __strtod_internal): Likewise.
Check for the exponent of the number overflowing the float format.
* stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
(__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
[__OPTIMIZE__]: Define inline functions calling those.
* stdlib/grouping.h: New file, written by drepper.
* stdlib/Makefile (distribute): Add grouping.h.
* stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
__strtoX_internal with the grouping flag set iff the modifier is
present.
Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
* mach/Machrules: Produce static deps for all object flavors.
[interface-library]: Remove all these variables and rules.
($(interface-library)-routines): Define this variable.
(extra-libs): Append $(interface-library) to this.
* mach/Makefile (interface-library): Omit .a suffix.
* hurd/Makefile: Likewise.
Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
early if no new data in buffer after priming.
* Makerules (object-suffixes, libtypes): Move all these variables
to Makeconfig.
* Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
* Makerules (build-extra-lib): New canned sequence.
* sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
fix uses of FILE and PORT. Remove bogus weak alias for `access'.
* sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
Add missing semicolon.
* sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
hurd_fd *' temp var, since DIRP->__fd is a `void *'.
* sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
* stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
locale data format is implemented.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Pass &__sigreturn on the stack to the trampoline code, so it is
not position-dependent.
* stdio/printf_fp.c (NDEBUG): Define this to disable assert.
Don't include <stdarg.h>.
(__printf_fp): Last arg ARGS is now `const void **const';
dereference ARGS[0] instead of using va_arg.
* locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
loop to install data.
* locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
to extract number from item code.
(_nl_load_locale): Close the descriptor when finished.
* malloc/realloc.c (_realloc_internal): Call _malloc_internal in
place of malloc.
* time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
1995-03-16 05:32:45 +00:00
|
|
|
/* 0x3a */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
/* 0x40 */ "\004\300" "\010\325" "\010\325" "\010\325" "\010\325" "\010\325"
|
|
|
|
/* 0x46 */ "\010\325" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
|
|
|
|
/* 0x4c */ "\010\305" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
|
|
|
|
/* 0x52 */ "\010\305" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
|
|
|
|
/* 0x58 */ "\010\305" "\010\305" "\010\305" "\004\300" "\004\300" "\004\300"
|
|
|
|
/* 0x5e */ "\004\300" "\004\300" "\004\300" "\010\326" "\010\326" "\010\326"
|
|
|
|
/* 0x64 */ "\010\326" "\010\326" "\010\326" "\010\306" "\010\306" "\010\306"
|
|
|
|
/* 0x6a */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
|
|
|
|
/* 0x70 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
|
|
|
|
/* 0x76 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\004\300"
|
Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/C-ctype.c: New correct data generated by drepper.
* Rules: Don't use $(libc.a).
Parsing of grouped numbers contributed by Ulrich Drepper.
* stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
new flag arg; if nonzero, parse locale-dependent thousands
grouping and interpret only the prefix that is correctly grouped.
(strtol): Define this to call _strtol_internal with zero for the flag.
Use a weak symbol for the definition.
* stdlib/strtod.c (strtod, __strtod_internal): Likewise.
Check for the exponent of the number overflowing the float format.
* stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
(__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
[__OPTIMIZE__]: Define inline functions calling those.
* stdlib/grouping.h: New file, written by drepper.
* stdlib/Makefile (distribute): Add grouping.h.
* stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
__strtoX_internal with the grouping flag set iff the modifier is
present.
Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
* mach/Machrules: Produce static deps for all object flavors.
[interface-library]: Remove all these variables and rules.
($(interface-library)-routines): Define this variable.
(extra-libs): Append $(interface-library) to this.
* mach/Makefile (interface-library): Omit .a suffix.
* hurd/Makefile: Likewise.
Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
early if no new data in buffer after priming.
* Makerules (object-suffixes, libtypes): Move all these variables
to Makeconfig.
* Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
* Makerules (build-extra-lib): New canned sequence.
* sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
fix uses of FILE and PORT. Remove bogus weak alias for `access'.
* sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
Add missing semicolon.
* sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
hurd_fd *' temp var, since DIRP->__fd is a `void *'.
* sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
* stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
locale data format is implemented.
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Pass &__sigreturn on the stack to the trampoline code, so it is
not position-dependent.
* stdio/printf_fp.c (NDEBUG): Define this to disable assert.
Don't include <stdarg.h>.
(__printf_fp): Last arg ARGS is now `const void **const';
dereference ARGS[0] instead of using va_arg.
* locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
loop to install data.
* locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
to extract number from item code.
(_nl_load_locale): Close the descriptor when finished.
* malloc/realloc.c (_realloc_internal): Call _malloc_internal in
place of malloc.
* time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
1995-03-16 05:32:45 +00:00
|
|
|
/* 0x7c */ "\004\300" "\004\300" "\004\300" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x82 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x88 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x8e */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x94 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0x9a */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xa0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xa6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xac */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xb2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xb8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xbe */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xc4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xca */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xd0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xd6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xdc */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xe2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xe8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xee */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xf4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
|
|
|
/* 0xfa */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
|
1995-03-10 05:01:07 +00:00
|
|
|
;
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_class32[1024] =
|
Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
include.
Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
* ctype/ctype-info.c: (__ctype_width): New variable.
(__ctype_names): Initialize correctly without offset.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c: Change copyright.
* locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
endianess for initialization value.
* locale/lc-ctype.c (current): Add parameter for offset.
(__ctype32_b, __ctype_width): Add initialization for these
variables.
* locale/programs/charmap.c: Finish support for WIDTH information.
(new_width): New function.
* locale/programs/charset.h (width_rule): new data structure.
(charset_t): Add elements for width information.
* locale/programs/ld-ctype.c (locale_ctype_t): Add element
for width information.
(allocate_arrays): Add new argument for charset.
(ctype_finish): Make sure all characters named in charset
width table are known to name table.
(ctype_output): Correct handling of class and map name
information and write out width information.
(find_idx): Prepare for being called with NULL pointer as
TABLE argument. This means only allocate name entry.
(allocate_arrays): Correct handling of array element -1.
Because EOF == -1 the value of element 127 must *not* be
mirrored here.
Fill width information from charset tables.
* locale/programs/localedef.c (main): Correct loop over all
categories after change of order from Thu Mar 28 14:22:51 1996.
Add new charset argument to call of `write_all_categories'.
* locale/programs/locales.h (ctype_finish, ctype_output): New
charset argument.
* locale/programs/locfile.c (write_all_categories): Call
`ctype_output' with additional argument charset.
* posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
and _POSIX_PRIO_IO definitions.
* posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
and CHARCLASS_NAME_MAX.
* posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
and _POSIX_PRIO_IO.
* stdlib/grouping.h: Prepare for use in wide string functions.
* stdlib/stdlib.h: Correct prototypes for __strto*_internal
functions.
* stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
* stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
* string/strcoll.c: Extend for use as `wcscoll'.
* string/strxfrm.c: Extend for use as `wcsxfrm'.
* sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
_PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
* sysdeps/generic/stpncpy.c: Correct return value.
* sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
_PC_ASYNC_IO, and _PC_PRIO_IO.
* sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
_SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
_SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
_SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
_SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
_SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
* sysdeps/stub/sysconf.c: Ditto.
* sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
* sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
* sysdeps/unix/sysv/linux/Makefile [subdir == misc]
(sysdep_routines): Add s_sysctl and sysctl.
* sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
* sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
around kernel header.
* sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
interface to `sysctl' function.
* sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
* sysdeps/unix/sysv/linux/sysconf.c: Add handling of
_SC_CHARCLASS_NAME_MAX.
* sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
of _sysctl system call.
* sysvipc/Makefile (routines): Add ftok.
* sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
David Mosberger-Tang.
* wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
wcsxfrm, wcwidth, and wcswidth.
* wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
wcsxfrm, wcwidth, and wcswidth.
Declare internal interfaces for wcsto* functions.
[OPTIMIZE]: Define inline functions for wcsto* functions to
call internal interface functions.
* wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
standard function equivalent to stpcpy/stpncpy.
* wcsmbs/wcscoll.c: Implement `wcscoll' function by using
`strcoll' implementation.
* wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
wchar_t.
* wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
implementation.
* wcsmbs/wcstof.c: Same for `wcstof'.
* wcsmbs/wcstold.c: Same for `strtold'.
* wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
implementation.
* wcsmbs/wcstoq.c: Same for `wcstoq'.
* wcsmbs/wcstoul.c: Same for `wcstoul'.
* wcsmbs/wcstouq.c: Same for `wcstouq'.
* wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
CAE.
* wcsmbs/wcwidth.c: Ditto for `wcwidth'.
* wcsmbs/wcwidth.h: Common function for definitions of above two
functions.
* wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
`strxfrm implementation.
* wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
* wctype/wctype.h (wint_t): Protect against multiple definition.
(wctype_t): Always define as `unsigned long int'.
* wctype.h: New file. Wrapper around wctype/wctype.h.
* hurd/hurdstartup.c (_hurd_split_args): Function removed.
(_hurd_startup): Use argz functions.
* hurd/hurdexec.c: Use argz functions.
1996-05-01 13:55:18 +00:00
|
|
|
/* 0x00 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x03 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x06 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x09 */ "\000\000\003\040" "\000\000\002\040" "\000\000\002\040"
|
|
|
|
/* 0x0c */ "\000\000\002\040" "\000\000\002\040" "\000\000\002\000"
|
|
|
|
/* 0x0f */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x12 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x15 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x18 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x1b */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x1e */ "\000\000\002\000" "\000\000\002\000" "\000\000\001\140"
|
|
|
|
/* 0x21 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x24 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x27 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x2a */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x2d */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x30 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
|
|
|
|
/* 0x33 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
|
|
|
|
/* 0x36 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
|
|
|
|
/* 0x39 */ "\000\000\010\330" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x3c */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x3f */ "\000\000\004\300" "\000\000\004\300" "\000\000\010\325"
|
|
|
|
/* 0x42 */ "\000\000\010\325" "\000\000\010\325" "\000\000\010\325"
|
|
|
|
/* 0x45 */ "\000\000\010\325" "\000\000\010\325" "\000\000\010\305"
|
|
|
|
/* 0x48 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
|
|
|
|
/* 0x4b */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
|
|
|
|
/* 0x4e */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
|
|
|
|
/* 0x51 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
|
|
|
|
/* 0x54 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
|
|
|
|
/* 0x57 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
|
|
|
|
/* 0x5a */ "\000\000\010\305" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x5d */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x60 */ "\000\000\004\300" "\000\000\010\326" "\000\000\010\326"
|
|
|
|
/* 0x63 */ "\000\000\010\326" "\000\000\010\326" "\000\000\010\326"
|
|
|
|
/* 0x66 */ "\000\000\010\326" "\000\000\010\306" "\000\000\010\306"
|
|
|
|
/* 0x69 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
|
|
|
|
/* 0x6c */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
|
|
|
|
/* 0x6f */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
|
|
|
|
/* 0x72 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
|
|
|
|
/* 0x75 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
|
|
|
|
/* 0x78 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
|
|
|
|
/* 0x7b */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
|
|
|
|
/* 0x7e */ "\000\000\004\300" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x81 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x84 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x87 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x8a */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x8d */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x90 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x93 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x96 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x99 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x9c */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0x9f */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xa2 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xa5 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xa8 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xab */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xae */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xb1 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xb4 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xb7 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xba */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xbd */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xc0 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xc3 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xc6 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xc9 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xcc */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xcf */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xd2 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xd5 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xd8 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xdb */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xde */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xe1 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xe4 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xe7 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xea */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xed */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xf0 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xf3 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xf6 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xf9 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xfc */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
|
|
|
|
/* 0xff */ "\000\000\002\000"
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
;
|
1995-03-10 05:01:07 +00:00
|
|
|
#if BYTE_ORDER == LITTLE_ENDIAN
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_toupper[1536] =
|
1995-03-10 05:01:07 +00:00
|
|
|
/* 0x80 */ "\200\000\000\000" "\201\000\000\000" "\202\000\000\000"
|
|
|
|
/* 0x83 */ "\203\000\000\000" "\204\000\000\000" "\205\000\000\000"
|
|
|
|
/* 0x86 */ "\206\000\000\000" "\207\000\000\000" "\210\000\000\000"
|
|
|
|
/* 0x89 */ "\211\000\000\000" "\212\000\000\000" "\213\000\000\000"
|
|
|
|
/* 0x8c */ "\214\000\000\000" "\215\000\000\000" "\216\000\000\000"
|
|
|
|
/* 0x8f */ "\217\000\000\000" "\220\000\000\000" "\221\000\000\000"
|
|
|
|
/* 0x92 */ "\222\000\000\000" "\223\000\000\000" "\224\000\000\000"
|
|
|
|
/* 0x95 */ "\225\000\000\000" "\226\000\000\000" "\227\000\000\000"
|
|
|
|
/* 0x98 */ "\230\000\000\000" "\231\000\000\000" "\232\000\000\000"
|
|
|
|
/* 0x9b */ "\233\000\000\000" "\234\000\000\000" "\235\000\000\000"
|
|
|
|
/* 0x9e */ "\236\000\000\000" "\237\000\000\000" "\240\000\000\000"
|
|
|
|
/* 0xa1 */ "\241\000\000\000" "\242\000\000\000" "\243\000\000\000"
|
|
|
|
/* 0xa4 */ "\244\000\000\000" "\245\000\000\000" "\246\000\000\000"
|
|
|
|
/* 0xa7 */ "\247\000\000\000" "\250\000\000\000" "\251\000\000\000"
|
|
|
|
/* 0xaa */ "\252\000\000\000" "\253\000\000\000" "\254\000\000\000"
|
|
|
|
/* 0xad */ "\255\000\000\000" "\256\000\000\000" "\257\000\000\000"
|
|
|
|
/* 0xb0 */ "\260\000\000\000" "\261\000\000\000" "\262\000\000\000"
|
|
|
|
/* 0xb3 */ "\263\000\000\000" "\264\000\000\000" "\265\000\000\000"
|
|
|
|
/* 0xb6 */ "\266\000\000\000" "\267\000\000\000" "\270\000\000\000"
|
|
|
|
/* 0xb9 */ "\271\000\000\000" "\272\000\000\000" "\273\000\000\000"
|
|
|
|
/* 0xbc */ "\274\000\000\000" "\275\000\000\000" "\276\000\000\000"
|
|
|
|
/* 0xbf */ "\277\000\000\000" "\300\000\000\000" "\301\000\000\000"
|
|
|
|
/* 0xc2 */ "\302\000\000\000" "\303\000\000\000" "\304\000\000\000"
|
|
|
|
/* 0xc5 */ "\305\000\000\000" "\306\000\000\000" "\307\000\000\000"
|
|
|
|
/* 0xc8 */ "\310\000\000\000" "\311\000\000\000" "\312\000\000\000"
|
|
|
|
/* 0xcb */ "\313\000\000\000" "\314\000\000\000" "\315\000\000\000"
|
|
|
|
/* 0xce */ "\316\000\000\000" "\317\000\000\000" "\320\000\000\000"
|
|
|
|
/* 0xd1 */ "\321\000\000\000" "\322\000\000\000" "\323\000\000\000"
|
|
|
|
/* 0xd4 */ "\324\000\000\000" "\325\000\000\000" "\326\000\000\000"
|
|
|
|
/* 0xd7 */ "\327\000\000\000" "\330\000\000\000" "\331\000\000\000"
|
|
|
|
/* 0xda */ "\332\000\000\000" "\333\000\000\000" "\334\000\000\000"
|
|
|
|
/* 0xdd */ "\335\000\000\000" "\336\000\000\000" "\337\000\000\000"
|
|
|
|
/* 0xe0 */ "\340\000\000\000" "\341\000\000\000" "\342\000\000\000"
|
|
|
|
/* 0xe3 */ "\343\000\000\000" "\344\000\000\000" "\345\000\000\000"
|
|
|
|
/* 0xe6 */ "\346\000\000\000" "\347\000\000\000" "\350\000\000\000"
|
|
|
|
/* 0xe9 */ "\351\000\000\000" "\352\000\000\000" "\353\000\000\000"
|
|
|
|
/* 0xec */ "\354\000\000\000" "\355\000\000\000" "\356\000\000\000"
|
|
|
|
/* 0xef */ "\357\000\000\000" "\360\000\000\000" "\361\000\000\000"
|
|
|
|
/* 0xf2 */ "\362\000\000\000" "\363\000\000\000" "\364\000\000\000"
|
|
|
|
/* 0xf5 */ "\365\000\000\000" "\366\000\000\000" "\367\000\000\000"
|
|
|
|
/* 0xf8 */ "\370\000\000\000" "\371\000\000\000" "\372\000\000\000"
|
|
|
|
/* 0xfb */ "\373\000\000\000" "\374\000\000\000" "\375\000\000\000"
|
|
|
|
/* 0xfe */ "\376\000\000\000" "\377\000\000\000" "\000\000\000\000"
|
|
|
|
/* 0x01 */ "\001\000\000\000" "\002\000\000\000" "\003\000\000\000"
|
|
|
|
/* 0x04 */ "\004\000\000\000" "\005\000\000\000" "\006\000\000\000"
|
|
|
|
/* 0x07 */ "\007\000\000\000" "\010\000\000\000" "\011\000\000\000"
|
|
|
|
/* 0x0a */ "\012\000\000\000" "\013\000\000\000" "\014\000\000\000"
|
|
|
|
/* 0x0d */ "\015\000\000\000" "\016\000\000\000" "\017\000\000\000"
|
|
|
|
/* 0x10 */ "\020\000\000\000" "\021\000\000\000" "\022\000\000\000"
|
|
|
|
/* 0x13 */ "\023\000\000\000" "\024\000\000\000" "\025\000\000\000"
|
|
|
|
/* 0x16 */ "\026\000\000\000" "\027\000\000\000" "\030\000\000\000"
|
|
|
|
/* 0x19 */ "\031\000\000\000" "\032\000\000\000" "\033\000\000\000"
|
|
|
|
/* 0x1c */ "\034\000\000\000" "\035\000\000\000" "\036\000\000\000"
|
|
|
|
/* 0x1f */ "\037\000\000\000" "\040\000\000\000" "\041\000\000\000"
|
|
|
|
/* 0x22 */ "\042\000\000\000" "\043\000\000\000" "\044\000\000\000"
|
|
|
|
/* 0x25 */ "\045\000\000\000" "\046\000\000\000" "\047\000\000\000"
|
|
|
|
/* 0x28 */ "\050\000\000\000" "\051\000\000\000" "\052\000\000\000"
|
|
|
|
/* 0x2b */ "\053\000\000\000" "\054\000\000\000" "\055\000\000\000"
|
|
|
|
/* 0x2e */ "\056\000\000\000" "\057\000\000\000" "\060\000\000\000"
|
|
|
|
/* 0x31 */ "\061\000\000\000" "\062\000\000\000" "\063\000\000\000"
|
|
|
|
/* 0x34 */ "\064\000\000\000" "\065\000\000\000" "\066\000\000\000"
|
|
|
|
/* 0x37 */ "\067\000\000\000" "\070\000\000\000" "\071\000\000\000"
|
|
|
|
/* 0x3a */ "\072\000\000\000" "\073\000\000\000" "\074\000\000\000"
|
|
|
|
/* 0x3d */ "\075\000\000\000" "\076\000\000\000" "\077\000\000\000"
|
|
|
|
/* 0x40 */ "\100\000\000\000" "\101\000\000\000" "\102\000\000\000"
|
|
|
|
/* 0x43 */ "\103\000\000\000" "\104\000\000\000" "\105\000\000\000"
|
|
|
|
/* 0x46 */ "\106\000\000\000" "\107\000\000\000" "\110\000\000\000"
|
|
|
|
/* 0x49 */ "\111\000\000\000" "\112\000\000\000" "\113\000\000\000"
|
|
|
|
/* 0x4c */ "\114\000\000\000" "\115\000\000\000" "\116\000\000\000"
|
|
|
|
/* 0x4f */ "\117\000\000\000" "\120\000\000\000" "\121\000\000\000"
|
|
|
|
/* 0x52 */ "\122\000\000\000" "\123\000\000\000" "\124\000\000\000"
|
|
|
|
/* 0x55 */ "\125\000\000\000" "\126\000\000\000" "\127\000\000\000"
|
|
|
|
/* 0x58 */ "\130\000\000\000" "\131\000\000\000" "\132\000\000\000"
|
|
|
|
/* 0x5b */ "\133\000\000\000" "\134\000\000\000" "\135\000\000\000"
|
|
|
|
/* 0x5e */ "\136\000\000\000" "\137\000\000\000" "\140\000\000\000"
|
|
|
|
/* 0x61 */ "\101\000\000\000" "\102\000\000\000" "\103\000\000\000"
|
|
|
|
/* 0x64 */ "\104\000\000\000" "\105\000\000\000" "\106\000\000\000"
|
|
|
|
/* 0x67 */ "\107\000\000\000" "\110\000\000\000" "\111\000\000\000"
|
|
|
|
/* 0x6a */ "\112\000\000\000" "\113\000\000\000" "\114\000\000\000"
|
|
|
|
/* 0x6d */ "\115\000\000\000" "\116\000\000\000" "\117\000\000\000"
|
|
|
|
/* 0x70 */ "\120\000\000\000" "\121\000\000\000" "\122\000\000\000"
|
|
|
|
/* 0x73 */ "\123\000\000\000" "\124\000\000\000" "\125\000\000\000"
|
|
|
|
/* 0x76 */ "\126\000\000\000" "\127\000\000\000" "\130\000\000\000"
|
|
|
|
/* 0x79 */ "\131\000\000\000" "\132\000\000\000" "\173\000\000\000"
|
|
|
|
/* 0x7c */ "\174\000\000\000" "\175\000\000\000" "\176\000\000\000"
|
|
|
|
/* 0x7f */ "\177\000\000\000" "\200\000\000\000" "\201\000\000\000"
|
|
|
|
/* 0x82 */ "\202\000\000\000" "\203\000\000\000" "\204\000\000\000"
|
|
|
|
/* 0x85 */ "\205\000\000\000" "\206\000\000\000" "\207\000\000\000"
|
|
|
|
/* 0x88 */ "\210\000\000\000" "\211\000\000\000" "\212\000\000\000"
|
|
|
|
/* 0x8b */ "\213\000\000\000" "\214\000\000\000" "\215\000\000\000"
|
|
|
|
/* 0x8e */ "\216\000\000\000" "\217\000\000\000" "\220\000\000\000"
|
|
|
|
/* 0x91 */ "\221\000\000\000" "\222\000\000\000" "\223\000\000\000"
|
|
|
|
/* 0x94 */ "\224\000\000\000" "\225\000\000\000" "\226\000\000\000"
|
|
|
|
/* 0x97 */ "\227\000\000\000" "\230\000\000\000" "\231\000\000\000"
|
|
|
|
/* 0x9a */ "\232\000\000\000" "\233\000\000\000" "\234\000\000\000"
|
|
|
|
/* 0x9d */ "\235\000\000\000" "\236\000\000\000" "\237\000\000\000"
|
|
|
|
/* 0xa0 */ "\240\000\000\000" "\241\000\000\000" "\242\000\000\000"
|
|
|
|
/* 0xa3 */ "\243\000\000\000" "\244\000\000\000" "\245\000\000\000"
|
|
|
|
/* 0xa6 */ "\246\000\000\000" "\247\000\000\000" "\250\000\000\000"
|
|
|
|
/* 0xa9 */ "\251\000\000\000" "\252\000\000\000" "\253\000\000\000"
|
|
|
|
/* 0xac */ "\254\000\000\000" "\255\000\000\000" "\256\000\000\000"
|
|
|
|
/* 0xaf */ "\257\000\000\000" "\260\000\000\000" "\261\000\000\000"
|
|
|
|
/* 0xb2 */ "\262\000\000\000" "\263\000\000\000" "\264\000\000\000"
|
|
|
|
/* 0xb5 */ "\265\000\000\000" "\266\000\000\000" "\267\000\000\000"
|
|
|
|
/* 0xb8 */ "\270\000\000\000" "\271\000\000\000" "\272\000\000\000"
|
|
|
|
/* 0xbb */ "\273\000\000\000" "\274\000\000\000" "\275\000\000\000"
|
|
|
|
/* 0xbe */ "\276\000\000\000" "\277\000\000\000" "\300\000\000\000"
|
|
|
|
/* 0xc1 */ "\301\000\000\000" "\302\000\000\000" "\303\000\000\000"
|
|
|
|
/* 0xc4 */ "\304\000\000\000" "\305\000\000\000" "\306\000\000\000"
|
|
|
|
/* 0xc7 */ "\307\000\000\000" "\310\000\000\000" "\311\000\000\000"
|
|
|
|
/* 0xca */ "\312\000\000\000" "\313\000\000\000" "\314\000\000\000"
|
|
|
|
/* 0xcd */ "\315\000\000\000" "\316\000\000\000" "\317\000\000\000"
|
|
|
|
/* 0xd0 */ "\320\000\000\000" "\321\000\000\000" "\322\000\000\000"
|
|
|
|
/* 0xd3 */ "\323\000\000\000" "\324\000\000\000" "\325\000\000\000"
|
|
|
|
/* 0xd6 */ "\326\000\000\000" "\327\000\000\000" "\330\000\000\000"
|
|
|
|
/* 0xd9 */ "\331\000\000\000" "\332\000\000\000" "\333\000\000\000"
|
|
|
|
/* 0xdc */ "\334\000\000\000" "\335\000\000\000" "\336\000\000\000"
|
|
|
|
/* 0xdf */ "\337\000\000\000" "\340\000\000\000" "\341\000\000\000"
|
|
|
|
/* 0xe2 */ "\342\000\000\000" "\343\000\000\000" "\344\000\000\000"
|
|
|
|
/* 0xe5 */ "\345\000\000\000" "\346\000\000\000" "\347\000\000\000"
|
|
|
|
/* 0xe8 */ "\350\000\000\000" "\351\000\000\000" "\352\000\000\000"
|
|
|
|
/* 0xeb */ "\353\000\000\000" "\354\000\000\000" "\355\000\000\000"
|
|
|
|
/* 0xee */ "\356\000\000\000" "\357\000\000\000" "\360\000\000\000"
|
|
|
|
/* 0xf1 */ "\361\000\000\000" "\362\000\000\000" "\363\000\000\000"
|
|
|
|
/* 0xf4 */ "\364\000\000\000" "\365\000\000\000" "\366\000\000\000"
|
|
|
|
/* 0xf7 */ "\367\000\000\000" "\370\000\000\000" "\371\000\000\000"
|
|
|
|
/* 0xfa */ "\372\000\000\000" "\373\000\000\000" "\374\000\000\000"
|
|
|
|
/* 0xfd */ "\375\000\000\000" "\376\000\000\000" "\377\000\000\000"
|
|
|
|
;
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_tolower[1536] =
|
1995-03-10 05:01:07 +00:00
|
|
|
/* 0x80 */ "\200\000\000\000" "\201\000\000\000" "\202\000\000\000"
|
|
|
|
/* 0x83 */ "\203\000\000\000" "\204\000\000\000" "\205\000\000\000"
|
|
|
|
/* 0x86 */ "\206\000\000\000" "\207\000\000\000" "\210\000\000\000"
|
|
|
|
/* 0x89 */ "\211\000\000\000" "\212\000\000\000" "\213\000\000\000"
|
|
|
|
/* 0x8c */ "\214\000\000\000" "\215\000\000\000" "\216\000\000\000"
|
|
|
|
/* 0x8f */ "\217\000\000\000" "\220\000\000\000" "\221\000\000\000"
|
|
|
|
/* 0x92 */ "\222\000\000\000" "\223\000\000\000" "\224\000\000\000"
|
|
|
|
/* 0x95 */ "\225\000\000\000" "\226\000\000\000" "\227\000\000\000"
|
|
|
|
/* 0x98 */ "\230\000\000\000" "\231\000\000\000" "\232\000\000\000"
|
|
|
|
/* 0x9b */ "\233\000\000\000" "\234\000\000\000" "\235\000\000\000"
|
|
|
|
/* 0x9e */ "\236\000\000\000" "\237\000\000\000" "\240\000\000\000"
|
|
|
|
/* 0xa1 */ "\241\000\000\000" "\242\000\000\000" "\243\000\000\000"
|
|
|
|
/* 0xa4 */ "\244\000\000\000" "\245\000\000\000" "\246\000\000\000"
|
|
|
|
/* 0xa7 */ "\247\000\000\000" "\250\000\000\000" "\251\000\000\000"
|
|
|
|
/* 0xaa */ "\252\000\000\000" "\253\000\000\000" "\254\000\000\000"
|
|
|
|
/* 0xad */ "\255\000\000\000" "\256\000\000\000" "\257\000\000\000"
|
|
|
|
/* 0xb0 */ "\260\000\000\000" "\261\000\000\000" "\262\000\000\000"
|
|
|
|
/* 0xb3 */ "\263\000\000\000" "\264\000\000\000" "\265\000\000\000"
|
|
|
|
/* 0xb6 */ "\266\000\000\000" "\267\000\000\000" "\270\000\000\000"
|
|
|
|
/* 0xb9 */ "\271\000\000\000" "\272\000\000\000" "\273\000\000\000"
|
|
|
|
/* 0xbc */ "\274\000\000\000" "\275\000\000\000" "\276\000\000\000"
|
|
|
|
/* 0xbf */ "\277\000\000\000" "\300\000\000\000" "\301\000\000\000"
|
|
|
|
/* 0xc2 */ "\302\000\000\000" "\303\000\000\000" "\304\000\000\000"
|
|
|
|
/* 0xc5 */ "\305\000\000\000" "\306\000\000\000" "\307\000\000\000"
|
|
|
|
/* 0xc8 */ "\310\000\000\000" "\311\000\000\000" "\312\000\000\000"
|
|
|
|
/* 0xcb */ "\313\000\000\000" "\314\000\000\000" "\315\000\000\000"
|
|
|
|
/* 0xce */ "\316\000\000\000" "\317\000\000\000" "\320\000\000\000"
|
|
|
|
/* 0xd1 */ "\321\000\000\000" "\322\000\000\000" "\323\000\000\000"
|
|
|
|
/* 0xd4 */ "\324\000\000\000" "\325\000\000\000" "\326\000\000\000"
|
|
|
|
/* 0xd7 */ "\327\000\000\000" "\330\000\000\000" "\331\000\000\000"
|
|
|
|
/* 0xda */ "\332\000\000\000" "\333\000\000\000" "\334\000\000\000"
|
|
|
|
/* 0xdd */ "\335\000\000\000" "\336\000\000\000" "\337\000\000\000"
|
|
|
|
/* 0xe0 */ "\340\000\000\000" "\341\000\000\000" "\342\000\000\000"
|
|
|
|
/* 0xe3 */ "\343\000\000\000" "\344\000\000\000" "\345\000\000\000"
|
|
|
|
/* 0xe6 */ "\346\000\000\000" "\347\000\000\000" "\350\000\000\000"
|
|
|
|
/* 0xe9 */ "\351\000\000\000" "\352\000\000\000" "\353\000\000\000"
|
|
|
|
/* 0xec */ "\354\000\000\000" "\355\000\000\000" "\356\000\000\000"
|
|
|
|
/* 0xef */ "\357\000\000\000" "\360\000\000\000" "\361\000\000\000"
|
|
|
|
/* 0xf2 */ "\362\000\000\000" "\363\000\000\000" "\364\000\000\000"
|
|
|
|
/* 0xf5 */ "\365\000\000\000" "\366\000\000\000" "\367\000\000\000"
|
|
|
|
/* 0xf8 */ "\370\000\000\000" "\371\000\000\000" "\372\000\000\000"
|
|
|
|
/* 0xfb */ "\373\000\000\000" "\374\000\000\000" "\375\000\000\000"
|
|
|
|
/* 0xfe */ "\376\000\000\000" "\377\000\000\000" "\000\000\000\000"
|
|
|
|
/* 0x01 */ "\001\000\000\000" "\002\000\000\000" "\003\000\000\000"
|
|
|
|
/* 0x04 */ "\004\000\000\000" "\005\000\000\000" "\006\000\000\000"
|
|
|
|
/* 0x07 */ "\007\000\000\000" "\010\000\000\000" "\011\000\000\000"
|
|
|
|
/* 0x0a */ "\012\000\000\000" "\013\000\000\000" "\014\000\000\000"
|
|
|
|
/* 0x0d */ "\015\000\000\000" "\016\000\000\000" "\017\000\000\000"
|
|
|
|
/* 0x10 */ "\020\000\000\000" "\021\000\000\000" "\022\000\000\000"
|
|
|
|
/* 0x13 */ "\023\000\000\000" "\024\000\000\000" "\025\000\000\000"
|
|
|
|
/* 0x16 */ "\026\000\000\000" "\027\000\000\000" "\030\000\000\000"
|
|
|
|
/* 0x19 */ "\031\000\000\000" "\032\000\000\000" "\033\000\000\000"
|
|
|
|
/* 0x1c */ "\034\000\000\000" "\035\000\000\000" "\036\000\000\000"
|
|
|
|
/* 0x1f */ "\037\000\000\000" "\040\000\000\000" "\041\000\000\000"
|
|
|
|
/* 0x22 */ "\042\000\000\000" "\043\000\000\000" "\044\000\000\000"
|
|
|
|
/* 0x25 */ "\045\000\000\000" "\046\000\000\000" "\047\000\000\000"
|
|
|
|
/* 0x28 */ "\050\000\000\000" "\051\000\000\000" "\052\000\000\000"
|
|
|
|
/* 0x2b */ "\053\000\000\000" "\054\000\000\000" "\055\000\000\000"
|
|
|
|
/* 0x2e */ "\056\000\000\000" "\057\000\000\000" "\060\000\000\000"
|
|
|
|
/* 0x31 */ "\061\000\000\000" "\062\000\000\000" "\063\000\000\000"
|
|
|
|
/* 0x34 */ "\064\000\000\000" "\065\000\000\000" "\066\000\000\000"
|
|
|
|
/* 0x37 */ "\067\000\000\000" "\070\000\000\000" "\071\000\000\000"
|
|
|
|
/* 0x3a */ "\072\000\000\000" "\073\000\000\000" "\074\000\000\000"
|
|
|
|
/* 0x3d */ "\075\000\000\000" "\076\000\000\000" "\077\000\000\000"
|
|
|
|
/* 0x40 */ "\100\000\000\000" "\141\000\000\000" "\142\000\000\000"
|
|
|
|
/* 0x43 */ "\143\000\000\000" "\144\000\000\000" "\145\000\000\000"
|
|
|
|
/* 0x46 */ "\146\000\000\000" "\147\000\000\000" "\150\000\000\000"
|
|
|
|
/* 0x49 */ "\151\000\000\000" "\152\000\000\000" "\153\000\000\000"
|
|
|
|
/* 0x4c */ "\154\000\000\000" "\155\000\000\000" "\156\000\000\000"
|
|
|
|
/* 0x4f */ "\157\000\000\000" "\160\000\000\000" "\161\000\000\000"
|
|
|
|
/* 0x52 */ "\162\000\000\000" "\163\000\000\000" "\164\000\000\000"
|
|
|
|
/* 0x55 */ "\165\000\000\000" "\166\000\000\000" "\167\000\000\000"
|
|
|
|
/* 0x58 */ "\170\000\000\000" "\171\000\000\000" "\172\000\000\000"
|
|
|
|
/* 0x5b */ "\133\000\000\000" "\134\000\000\000" "\135\000\000\000"
|
|
|
|
/* 0x5e */ "\136\000\000\000" "\137\000\000\000" "\140\000\000\000"
|
|
|
|
/* 0x61 */ "\141\000\000\000" "\142\000\000\000" "\143\000\000\000"
|
|
|
|
/* 0x64 */ "\144\000\000\000" "\145\000\000\000" "\146\000\000\000"
|
|
|
|
/* 0x67 */ "\147\000\000\000" "\150\000\000\000" "\151\000\000\000"
|
|
|
|
/* 0x6a */ "\152\000\000\000" "\153\000\000\000" "\154\000\000\000"
|
|
|
|
/* 0x6d */ "\155\000\000\000" "\156\000\000\000" "\157\000\000\000"
|
|
|
|
/* 0x70 */ "\160\000\000\000" "\161\000\000\000" "\162\000\000\000"
|
|
|
|
/* 0x73 */ "\163\000\000\000" "\164\000\000\000" "\165\000\000\000"
|
|
|
|
/* 0x76 */ "\166\000\000\000" "\167\000\000\000" "\170\000\000\000"
|
|
|
|
/* 0x79 */ "\171\000\000\000" "\172\000\000\000" "\173\000\000\000"
|
|
|
|
/* 0x7c */ "\174\000\000\000" "\175\000\000\000" "\176\000\000\000"
|
|
|
|
/* 0x7f */ "\177\000\000\000" "\200\000\000\000" "\201\000\000\000"
|
|
|
|
/* 0x82 */ "\202\000\000\000" "\203\000\000\000" "\204\000\000\000"
|
|
|
|
/* 0x85 */ "\205\000\000\000" "\206\000\000\000" "\207\000\000\000"
|
|
|
|
/* 0x88 */ "\210\000\000\000" "\211\000\000\000" "\212\000\000\000"
|
|
|
|
/* 0x8b */ "\213\000\000\000" "\214\000\000\000" "\215\000\000\000"
|
|
|
|
/* 0x8e */ "\216\000\000\000" "\217\000\000\000" "\220\000\000\000"
|
|
|
|
/* 0x91 */ "\221\000\000\000" "\222\000\000\000" "\223\000\000\000"
|
|
|
|
/* 0x94 */ "\224\000\000\000" "\225\000\000\000" "\226\000\000\000"
|
|
|
|
/* 0x97 */ "\227\000\000\000" "\230\000\000\000" "\231\000\000\000"
|
|
|
|
/* 0x9a */ "\232\000\000\000" "\233\000\000\000" "\234\000\000\000"
|
|
|
|
/* 0x9d */ "\235\000\000\000" "\236\000\000\000" "\237\000\000\000"
|
|
|
|
/* 0xa0 */ "\240\000\000\000" "\241\000\000\000" "\242\000\000\000"
|
|
|
|
/* 0xa3 */ "\243\000\000\000" "\244\000\000\000" "\245\000\000\000"
|
|
|
|
/* 0xa6 */ "\246\000\000\000" "\247\000\000\000" "\250\000\000\000"
|
|
|
|
/* 0xa9 */ "\251\000\000\000" "\252\000\000\000" "\253\000\000\000"
|
|
|
|
/* 0xac */ "\254\000\000\000" "\255\000\000\000" "\256\000\000\000"
|
|
|
|
/* 0xaf */ "\257\000\000\000" "\260\000\000\000" "\261\000\000\000"
|
|
|
|
/* 0xb2 */ "\262\000\000\000" "\263\000\000\000" "\264\000\000\000"
|
|
|
|
/* 0xb5 */ "\265\000\000\000" "\266\000\000\000" "\267\000\000\000"
|
|
|
|
/* 0xb8 */ "\270\000\000\000" "\271\000\000\000" "\272\000\000\000"
|
|
|
|
/* 0xbb */ "\273\000\000\000" "\274\000\000\000" "\275\000\000\000"
|
|
|
|
/* 0xbe */ "\276\000\000\000" "\277\000\000\000" "\300\000\000\000"
|
|
|
|
/* 0xc1 */ "\301\000\000\000" "\302\000\000\000" "\303\000\000\000"
|
|
|
|
/* 0xc4 */ "\304\000\000\000" "\305\000\000\000" "\306\000\000\000"
|
|
|
|
/* 0xc7 */ "\307\000\000\000" "\310\000\000\000" "\311\000\000\000"
|
|
|
|
/* 0xca */ "\312\000\000\000" "\313\000\000\000" "\314\000\000\000"
|
|
|
|
/* 0xcd */ "\315\000\000\000" "\316\000\000\000" "\317\000\000\000"
|
|
|
|
/* 0xd0 */ "\320\000\000\000" "\321\000\000\000" "\322\000\000\000"
|
|
|
|
/* 0xd3 */ "\323\000\000\000" "\324\000\000\000" "\325\000\000\000"
|
|
|
|
/* 0xd6 */ "\326\000\000\000" "\327\000\000\000" "\330\000\000\000"
|
|
|
|
/* 0xd9 */ "\331\000\000\000" "\332\000\000\000" "\333\000\000\000"
|
|
|
|
/* 0xdc */ "\334\000\000\000" "\335\000\000\000" "\336\000\000\000"
|
|
|
|
/* 0xdf */ "\337\000\000\000" "\340\000\000\000" "\341\000\000\000"
|
|
|
|
/* 0xe2 */ "\342\000\000\000" "\343\000\000\000" "\344\000\000\000"
|
|
|
|
/* 0xe5 */ "\345\000\000\000" "\346\000\000\000" "\347\000\000\000"
|
|
|
|
/* 0xe8 */ "\350\000\000\000" "\351\000\000\000" "\352\000\000\000"
|
|
|
|
/* 0xeb */ "\353\000\000\000" "\354\000\000\000" "\355\000\000\000"
|
|
|
|
/* 0xee */ "\356\000\000\000" "\357\000\000\000" "\360\000\000\000"
|
|
|
|
/* 0xf1 */ "\361\000\000\000" "\362\000\000\000" "\363\000\000\000"
|
|
|
|
/* 0xf4 */ "\364\000\000\000" "\365\000\000\000" "\366\000\000\000"
|
|
|
|
/* 0xf7 */ "\367\000\000\000" "\370\000\000\000" "\371\000\000\000"
|
|
|
|
/* 0xfa */ "\372\000\000\000" "\373\000\000\000" "\374\000\000\000"
|
|
|
|
/* 0xfd */ "\375\000\000\000" "\376\000\000\000" "\377\000\000\000"
|
|
|
|
;
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_names[1024] =
|
|
|
|
/* 0x00 */ "\000\000\000\000" "\001\000\000\000" "\002\000\000\000"
|
|
|
|
/* 0x03 */ "\003\000\000\000" "\004\000\000\000" "\005\000\000\000"
|
|
|
|
/* 0x06 */ "\006\000\000\000" "\007\000\000\000" "\010\000\000\000"
|
|
|
|
/* 0x09 */ "\011\000\000\000" "\012\000\000\000" "\013\000\000\000"
|
|
|
|
/* 0x0c */ "\014\000\000\000" "\015\000\000\000" "\016\000\000\000"
|
|
|
|
/* 0x0f */ "\017\000\000\000" "\020\000\000\000" "\021\000\000\000"
|
|
|
|
/* 0x12 */ "\022\000\000\000" "\023\000\000\000" "\024\000\000\000"
|
|
|
|
/* 0x15 */ "\025\000\000\000" "\026\000\000\000" "\027\000\000\000"
|
|
|
|
/* 0x18 */ "\030\000\000\000" "\031\000\000\000" "\032\000\000\000"
|
|
|
|
/* 0x1b */ "\033\000\000\000" "\034\000\000\000" "\035\000\000\000"
|
|
|
|
/* 0x1e */ "\036\000\000\000" "\037\000\000\000" "\040\000\000\000"
|
|
|
|
/* 0x21 */ "\041\000\000\000" "\042\000\000\000" "\043\000\000\000"
|
|
|
|
/* 0x24 */ "\044\000\000\000" "\045\000\000\000" "\046\000\000\000"
|
|
|
|
/* 0x27 */ "\047\000\000\000" "\050\000\000\000" "\051\000\000\000"
|
|
|
|
/* 0x2a */ "\052\000\000\000" "\053\000\000\000" "\054\000\000\000"
|
|
|
|
/* 0x2d */ "\055\000\000\000" "\056\000\000\000" "\057\000\000\000"
|
|
|
|
/* 0x30 */ "\060\000\000\000" "\061\000\000\000" "\062\000\000\000"
|
|
|
|
/* 0x33 */ "\063\000\000\000" "\064\000\000\000" "\065\000\000\000"
|
|
|
|
/* 0x36 */ "\066\000\000\000" "\067\000\000\000" "\070\000\000\000"
|
|
|
|
/* 0x39 */ "\071\000\000\000" "\072\000\000\000" "\073\000\000\000"
|
|
|
|
/* 0x3c */ "\074\000\000\000" "\075\000\000\000" "\076\000\000\000"
|
|
|
|
/* 0x3f */ "\077\000\000\000" "\100\000\000\000" "\101\000\000\000"
|
|
|
|
/* 0x42 */ "\102\000\000\000" "\103\000\000\000" "\104\000\000\000"
|
|
|
|
/* 0x45 */ "\105\000\000\000" "\106\000\000\000" "\107\000\000\000"
|
|
|
|
/* 0x48 */ "\110\000\000\000" "\111\000\000\000" "\112\000\000\000"
|
|
|
|
/* 0x4b */ "\113\000\000\000" "\114\000\000\000" "\115\000\000\000"
|
|
|
|
/* 0x4e */ "\116\000\000\000" "\117\000\000\000" "\120\000\000\000"
|
|
|
|
/* 0x51 */ "\121\000\000\000" "\122\000\000\000" "\123\000\000\000"
|
|
|
|
/* 0x54 */ "\124\000\000\000" "\125\000\000\000" "\126\000\000\000"
|
|
|
|
/* 0x57 */ "\127\000\000\000" "\130\000\000\000" "\131\000\000\000"
|
|
|
|
/* 0x5a */ "\132\000\000\000" "\133\000\000\000" "\134\000\000\000"
|
|
|
|
/* 0x5d */ "\135\000\000\000" "\136\000\000\000" "\137\000\000\000"
|
|
|
|
/* 0x60 */ "\140\000\000\000" "\141\000\000\000" "\142\000\000\000"
|
|
|
|
/* 0x63 */ "\143\000\000\000" "\144\000\000\000" "\145\000\000\000"
|
|
|
|
/* 0x66 */ "\146\000\000\000" "\147\000\000\000" "\150\000\000\000"
|
|
|
|
/* 0x69 */ "\151\000\000\000" "\152\000\000\000" "\153\000\000\000"
|
|
|
|
/* 0x6c */ "\154\000\000\000" "\155\000\000\000" "\156\000\000\000"
|
|
|
|
/* 0x6f */ "\157\000\000\000" "\160\000\000\000" "\161\000\000\000"
|
|
|
|
/* 0x72 */ "\162\000\000\000" "\163\000\000\000" "\164\000\000\000"
|
|
|
|
/* 0x75 */ "\165\000\000\000" "\166\000\000\000" "\167\000\000\000"
|
|
|
|
/* 0x78 */ "\170\000\000\000" "\171\000\000\000" "\172\000\000\000"
|
|
|
|
/* 0x7b */ "\173\000\000\000" "\174\000\000\000" "\175\000\000\000"
|
|
|
|
/* 0x7e */ "\176\000\000\000" "\177\000\000\000" "\200\000\000\000"
|
|
|
|
/* 0x81 */ "\201\000\000\000" "\202\000\000\000" "\203\000\000\000"
|
|
|
|
/* 0x84 */ "\204\000\000\000" "\205\000\000\000" "\206\000\000\000"
|
|
|
|
/* 0x87 */ "\207\000\000\000" "\210\000\000\000" "\211\000\000\000"
|
|
|
|
/* 0x8a */ "\212\000\000\000" "\213\000\000\000" "\214\000\000\000"
|
|
|
|
/* 0x8d */ "\215\000\000\000" "\216\000\000\000" "\217\000\000\000"
|
|
|
|
/* 0x90 */ "\220\000\000\000" "\221\000\000\000" "\222\000\000\000"
|
|
|
|
/* 0x93 */ "\223\000\000\000" "\224\000\000\000" "\225\000\000\000"
|
|
|
|
/* 0x96 */ "\226\000\000\000" "\227\000\000\000" "\230\000\000\000"
|
|
|
|
/* 0x99 */ "\231\000\000\000" "\232\000\000\000" "\233\000\000\000"
|
|
|
|
/* 0x9c */ "\234\000\000\000" "\235\000\000\000" "\236\000\000\000"
|
|
|
|
/* 0x9f */ "\237\000\000\000" "\240\000\000\000" "\241\000\000\000"
|
|
|
|
/* 0xa2 */ "\242\000\000\000" "\243\000\000\000" "\244\000\000\000"
|
|
|
|
/* 0xa5 */ "\245\000\000\000" "\246\000\000\000" "\247\000\000\000"
|
|
|
|
/* 0xa8 */ "\250\000\000\000" "\251\000\000\000" "\252\000\000\000"
|
|
|
|
/* 0xab */ "\253\000\000\000" "\254\000\000\000" "\255\000\000\000"
|
|
|
|
/* 0xae */ "\256\000\000\000" "\257\000\000\000" "\260\000\000\000"
|
|
|
|
/* 0xb1 */ "\261\000\000\000" "\262\000\000\000" "\263\000\000\000"
|
|
|
|
/* 0xb4 */ "\264\000\000\000" "\265\000\000\000" "\266\000\000\000"
|
|
|
|
/* 0xb7 */ "\267\000\000\000" "\270\000\000\000" "\271\000\000\000"
|
|
|
|
/* 0xba */ "\272\000\000\000" "\273\000\000\000" "\274\000\000\000"
|
|
|
|
/* 0xbd */ "\275\000\000\000" "\276\000\000\000" "\277\000\000\000"
|
|
|
|
/* 0xc0 */ "\300\000\000\000" "\301\000\000\000" "\302\000\000\000"
|
|
|
|
/* 0xc3 */ "\303\000\000\000" "\304\000\000\000" "\305\000\000\000"
|
|
|
|
/* 0xc6 */ "\306\000\000\000" "\307\000\000\000" "\310\000\000\000"
|
|
|
|
/* 0xc9 */ "\311\000\000\000" "\312\000\000\000" "\313\000\000\000"
|
|
|
|
/* 0xcc */ "\314\000\000\000" "\315\000\000\000" "\316\000\000\000"
|
|
|
|
/* 0xcf */ "\317\000\000\000" "\320\000\000\000" "\321\000\000\000"
|
|
|
|
/* 0xd2 */ "\322\000\000\000" "\323\000\000\000" "\324\000\000\000"
|
|
|
|
/* 0xd5 */ "\325\000\000\000" "\326\000\000\000" "\327\000\000\000"
|
|
|
|
/* 0xd8 */ "\330\000\000\000" "\331\000\000\000" "\332\000\000\000"
|
|
|
|
/* 0xdb */ "\333\000\000\000" "\334\000\000\000" "\335\000\000\000"
|
|
|
|
/* 0xde */ "\336\000\000\000" "\337\000\000\000" "\340\000\000\000"
|
|
|
|
/* 0xe1 */ "\341\000\000\000" "\342\000\000\000" "\343\000\000\000"
|
|
|
|
/* 0xe4 */ "\344\000\000\000" "\345\000\000\000" "\346\000\000\000"
|
|
|
|
/* 0xe7 */ "\347\000\000\000" "\350\000\000\000" "\351\000\000\000"
|
|
|
|
/* 0xea */ "\352\000\000\000" "\353\000\000\000" "\354\000\000\000"
|
|
|
|
/* 0xed */ "\355\000\000\000" "\356\000\000\000" "\357\000\000\000"
|
|
|
|
/* 0xf0 */ "\360\000\000\000" "\361\000\000\000" "\362\000\000\000"
|
|
|
|
/* 0xf3 */ "\363\000\000\000" "\364\000\000\000" "\365\000\000\000"
|
|
|
|
/* 0xf6 */ "\366\000\000\000" "\367\000\000\000" "\370\000\000\000"
|
|
|
|
/* 0xf9 */ "\371\000\000\000" "\372\000\000\000" "\373\000\000\000"
|
|
|
|
/* 0xfc */ "\374\000\000\000" "\375\000\000\000" "\376\000\000\000"
|
|
|
|
/* 0xff */ "\377\000\000\000"
|
|
|
|
;
|
1995-03-10 05:01:07 +00:00
|
|
|
#elif BYTE_ORDER == BIG_ENDIAN
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_toupper[1536] =
|
1995-03-10 05:01:07 +00:00
|
|
|
/* 0x80 */ "\000\000\000\200" "\000\000\000\201" "\000\000\000\202"
|
|
|
|
/* 0x83 */ "\000\000\000\203" "\000\000\000\204" "\000\000\000\205"
|
|
|
|
/* 0x86 */ "\000\000\000\206" "\000\000\000\207" "\000\000\000\210"
|
|
|
|
/* 0x89 */ "\000\000\000\211" "\000\000\000\212" "\000\000\000\213"
|
|
|
|
/* 0x8c */ "\000\000\000\214" "\000\000\000\215" "\000\000\000\216"
|
|
|
|
/* 0x8f */ "\000\000\000\217" "\000\000\000\220" "\000\000\000\221"
|
|
|
|
/* 0x92 */ "\000\000\000\222" "\000\000\000\223" "\000\000\000\224"
|
|
|
|
/* 0x95 */ "\000\000\000\225" "\000\000\000\226" "\000\000\000\227"
|
|
|
|
/* 0x98 */ "\000\000\000\230" "\000\000\000\231" "\000\000\000\232"
|
|
|
|
/* 0x9b */ "\000\000\000\233" "\000\000\000\234" "\000\000\000\235"
|
|
|
|
/* 0x9e */ "\000\000\000\236" "\000\000\000\237" "\000\000\000\240"
|
|
|
|
/* 0xa1 */ "\000\000\000\241" "\000\000\000\242" "\000\000\000\243"
|
|
|
|
/* 0xa4 */ "\000\000\000\244" "\000\000\000\245" "\000\000\000\246"
|
|
|
|
/* 0xa7 */ "\000\000\000\247" "\000\000\000\250" "\000\000\000\251"
|
|
|
|
/* 0xaa */ "\000\000\000\252" "\000\000\000\253" "\000\000\000\254"
|
|
|
|
/* 0xad */ "\000\000\000\255" "\000\000\000\256" "\000\000\000\257"
|
|
|
|
/* 0xb0 */ "\000\000\000\260" "\000\000\000\261" "\000\000\000\262"
|
|
|
|
/* 0xb3 */ "\000\000\000\263" "\000\000\000\264" "\000\000\000\265"
|
|
|
|
/* 0xb6 */ "\000\000\000\266" "\000\000\000\267" "\000\000\000\270"
|
|
|
|
/* 0xb9 */ "\000\000\000\271" "\000\000\000\272" "\000\000\000\273"
|
|
|
|
/* 0xbc */ "\000\000\000\274" "\000\000\000\275" "\000\000\000\276"
|
|
|
|
/* 0xbf */ "\000\000\000\277" "\000\000\000\300" "\000\000\000\301"
|
|
|
|
/* 0xc2 */ "\000\000\000\302" "\000\000\000\303" "\000\000\000\304"
|
|
|
|
/* 0xc5 */ "\000\000\000\305" "\000\000\000\306" "\000\000\000\307"
|
|
|
|
/* 0xc8 */ "\000\000\000\310" "\000\000\000\311" "\000\000\000\312"
|
|
|
|
/* 0xcb */ "\000\000\000\313" "\000\000\000\314" "\000\000\000\315"
|
|
|
|
/* 0xce */ "\000\000\000\316" "\000\000\000\317" "\000\000\000\320"
|
|
|
|
/* 0xd1 */ "\000\000\000\321" "\000\000\000\322" "\000\000\000\323"
|
|
|
|
/* 0xd4 */ "\000\000\000\324" "\000\000\000\325" "\000\000\000\326"
|
|
|
|
/* 0xd7 */ "\000\000\000\327" "\000\000\000\330" "\000\000\000\331"
|
|
|
|
/* 0xda */ "\000\000\000\332" "\000\000\000\333" "\000\000\000\334"
|
|
|
|
/* 0xdd */ "\000\000\000\335" "\000\000\000\336" "\000\000\000\337"
|
|
|
|
/* 0xe0 */ "\000\000\000\340" "\000\000\000\341" "\000\000\000\342"
|
|
|
|
/* 0xe3 */ "\000\000\000\343" "\000\000\000\344" "\000\000\000\345"
|
|
|
|
/* 0xe6 */ "\000\000\000\346" "\000\000\000\347" "\000\000\000\350"
|
|
|
|
/* 0xe9 */ "\000\000\000\351" "\000\000\000\352" "\000\000\000\353"
|
|
|
|
/* 0xec */ "\000\000\000\354" "\000\000\000\355" "\000\000\000\356"
|
|
|
|
/* 0xef */ "\000\000\000\357" "\000\000\000\360" "\000\000\000\361"
|
|
|
|
/* 0xf2 */ "\000\000\000\362" "\000\000\000\363" "\000\000\000\364"
|
|
|
|
/* 0xf5 */ "\000\000\000\365" "\000\000\000\366" "\000\000\000\367"
|
|
|
|
/* 0xf8 */ "\000\000\000\370" "\000\000\000\371" "\000\000\000\372"
|
|
|
|
/* 0xfb */ "\000\000\000\373" "\000\000\000\374" "\000\000\000\375"
|
|
|
|
/* 0xfe */ "\000\000\000\376" "\000\000\000\377" "\000\000\000\000"
|
|
|
|
/* 0x01 */ "\000\000\000\001" "\000\000\000\002" "\000\000\000\003"
|
|
|
|
/* 0x04 */ "\000\000\000\004" "\000\000\000\005" "\000\000\000\006"
|
|
|
|
/* 0x07 */ "\000\000\000\007" "\000\000\000\010" "\000\000\000\011"
|
|
|
|
/* 0x0a */ "\000\000\000\012" "\000\000\000\013" "\000\000\000\014"
|
|
|
|
/* 0x0d */ "\000\000\000\015" "\000\000\000\016" "\000\000\000\017"
|
|
|
|
/* 0x10 */ "\000\000\000\020" "\000\000\000\021" "\000\000\000\022"
|
|
|
|
/* 0x13 */ "\000\000\000\023" "\000\000\000\024" "\000\000\000\025"
|
|
|
|
/* 0x16 */ "\000\000\000\026" "\000\000\000\027" "\000\000\000\030"
|
|
|
|
/* 0x19 */ "\000\000\000\031" "\000\000\000\032" "\000\000\000\033"
|
|
|
|
/* 0x1c */ "\000\000\000\034" "\000\000\000\035" "\000\000\000\036"
|
|
|
|
/* 0x1f */ "\000\000\000\037" "\000\000\000\040" "\000\000\000\041"
|
|
|
|
/* 0x22 */ "\000\000\000\042" "\000\000\000\043" "\000\000\000\044"
|
|
|
|
/* 0x25 */ "\000\000\000\045" "\000\000\000\046" "\000\000\000\047"
|
|
|
|
/* 0x28 */ "\000\000\000\050" "\000\000\000\051" "\000\000\000\052"
|
|
|
|
/* 0x2b */ "\000\000\000\053" "\000\000\000\054" "\000\000\000\055"
|
|
|
|
/* 0x2e */ "\000\000\000\056" "\000\000\000\057" "\000\000\000\060"
|
|
|
|
/* 0x31 */ "\000\000\000\061" "\000\000\000\062" "\000\000\000\063"
|
|
|
|
/* 0x34 */ "\000\000\000\064" "\000\000\000\065" "\000\000\000\066"
|
|
|
|
/* 0x37 */ "\000\000\000\067" "\000\000\000\070" "\000\000\000\071"
|
|
|
|
/* 0x3a */ "\000\000\000\072" "\000\000\000\073" "\000\000\000\074"
|
|
|
|
/* 0x3d */ "\000\000\000\075" "\000\000\000\076" "\000\000\000\077"
|
|
|
|
/* 0x40 */ "\000\000\000\100" "\000\000\000\101" "\000\000\000\102"
|
|
|
|
/* 0x43 */ "\000\000\000\103" "\000\000\000\104" "\000\000\000\105"
|
|
|
|
/* 0x46 */ "\000\000\000\106" "\000\000\000\107" "\000\000\000\110"
|
|
|
|
/* 0x49 */ "\000\000\000\111" "\000\000\000\112" "\000\000\000\113"
|
|
|
|
/* 0x4c */ "\000\000\000\114" "\000\000\000\115" "\000\000\000\116"
|
|
|
|
/* 0x4f */ "\000\000\000\117" "\000\000\000\120" "\000\000\000\121"
|
|
|
|
/* 0x52 */ "\000\000\000\122" "\000\000\000\123" "\000\000\000\124"
|
|
|
|
/* 0x55 */ "\000\000\000\125" "\000\000\000\126" "\000\000\000\127"
|
|
|
|
/* 0x58 */ "\000\000\000\130" "\000\000\000\131" "\000\000\000\132"
|
|
|
|
/* 0x5b */ "\000\000\000\133" "\000\000\000\134" "\000\000\000\135"
|
|
|
|
/* 0x5e */ "\000\000\000\136" "\000\000\000\137" "\000\000\000\140"
|
|
|
|
/* 0x61 */ "\000\000\000\101" "\000\000\000\102" "\000\000\000\103"
|
|
|
|
/* 0x64 */ "\000\000\000\104" "\000\000\000\105" "\000\000\000\106"
|
|
|
|
/* 0x67 */ "\000\000\000\107" "\000\000\000\110" "\000\000\000\111"
|
|
|
|
/* 0x6a */ "\000\000\000\112" "\000\000\000\113" "\000\000\000\114"
|
|
|
|
/* 0x6d */ "\000\000\000\115" "\000\000\000\116" "\000\000\000\117"
|
|
|
|
/* 0x70 */ "\000\000\000\120" "\000\000\000\121" "\000\000\000\122"
|
|
|
|
/* 0x73 */ "\000\000\000\123" "\000\000\000\124" "\000\000\000\125"
|
|
|
|
/* 0x76 */ "\000\000\000\126" "\000\000\000\127" "\000\000\000\130"
|
|
|
|
/* 0x79 */ "\000\000\000\131" "\000\000\000\132" "\000\000\000\173"
|
|
|
|
/* 0x7c */ "\000\000\000\174" "\000\000\000\175" "\000\000\000\176"
|
|
|
|
/* 0x7f */ "\000\000\000\177" "\000\000\000\200" "\000\000\000\201"
|
|
|
|
/* 0x82 */ "\000\000\000\202" "\000\000\000\203" "\000\000\000\204"
|
|
|
|
/* 0x85 */ "\000\000\000\205" "\000\000\000\206" "\000\000\000\207"
|
|
|
|
/* 0x88 */ "\000\000\000\210" "\000\000\000\211" "\000\000\000\212"
|
|
|
|
/* 0x8b */ "\000\000\000\213" "\000\000\000\214" "\000\000\000\215"
|
|
|
|
/* 0x8e */ "\000\000\000\216" "\000\000\000\217" "\000\000\000\220"
|
|
|
|
/* 0x91 */ "\000\000\000\221" "\000\000\000\222" "\000\000\000\223"
|
|
|
|
/* 0x94 */ "\000\000\000\224" "\000\000\000\225" "\000\000\000\226"
|
|
|
|
/* 0x97 */ "\000\000\000\227" "\000\000\000\230" "\000\000\000\231"
|
|
|
|
/* 0x9a */ "\000\000\000\232" "\000\000\000\233" "\000\000\000\234"
|
|
|
|
/* 0x9d */ "\000\000\000\235" "\000\000\000\236" "\000\000\000\237"
|
|
|
|
/* 0xa0 */ "\000\000\000\240" "\000\000\000\241" "\000\000\000\242"
|
|
|
|
/* 0xa3 */ "\000\000\000\243" "\000\000\000\244" "\000\000\000\245"
|
|
|
|
/* 0xa6 */ "\000\000\000\246" "\000\000\000\247" "\000\000\000\250"
|
|
|
|
/* 0xa9 */ "\000\000\000\251" "\000\000\000\252" "\000\000\000\253"
|
|
|
|
/* 0xac */ "\000\000\000\254" "\000\000\000\255" "\000\000\000\256"
|
|
|
|
/* 0xaf */ "\000\000\000\257" "\000\000\000\260" "\000\000\000\261"
|
|
|
|
/* 0xb2 */ "\000\000\000\262" "\000\000\000\263" "\000\000\000\264"
|
|
|
|
/* 0xb5 */ "\000\000\000\265" "\000\000\000\266" "\000\000\000\267"
|
|
|
|
/* 0xb8 */ "\000\000\000\270" "\000\000\000\271" "\000\000\000\272"
|
|
|
|
/* 0xbb */ "\000\000\000\273" "\000\000\000\274" "\000\000\000\275"
|
|
|
|
/* 0xbe */ "\000\000\000\276" "\000\000\000\277" "\000\000\000\300"
|
|
|
|
/* 0xc1 */ "\000\000\000\301" "\000\000\000\302" "\000\000\000\303"
|
|
|
|
/* 0xc4 */ "\000\000\000\304" "\000\000\000\305" "\000\000\000\306"
|
|
|
|
/* 0xc7 */ "\000\000\000\307" "\000\000\000\310" "\000\000\000\311"
|
|
|
|
/* 0xca */ "\000\000\000\312" "\000\000\000\313" "\000\000\000\314"
|
|
|
|
/* 0xcd */ "\000\000\000\315" "\000\000\000\316" "\000\000\000\317"
|
|
|
|
/* 0xd0 */ "\000\000\000\320" "\000\000\000\321" "\000\000\000\322"
|
|
|
|
/* 0xd3 */ "\000\000\000\323" "\000\000\000\324" "\000\000\000\325"
|
|
|
|
/* 0xd6 */ "\000\000\000\326" "\000\000\000\327" "\000\000\000\330"
|
|
|
|
/* 0xd9 */ "\000\000\000\331" "\000\000\000\332" "\000\000\000\333"
|
|
|
|
/* 0xdc */ "\000\000\000\334" "\000\000\000\335" "\000\000\000\336"
|
|
|
|
/* 0xdf */ "\000\000\000\337" "\000\000\000\340" "\000\000\000\341"
|
|
|
|
/* 0xe2 */ "\000\000\000\342" "\000\000\000\343" "\000\000\000\344"
|
|
|
|
/* 0xe5 */ "\000\000\000\345" "\000\000\000\346" "\000\000\000\347"
|
|
|
|
/* 0xe8 */ "\000\000\000\350" "\000\000\000\351" "\000\000\000\352"
|
|
|
|
/* 0xeb */ "\000\000\000\353" "\000\000\000\354" "\000\000\000\355"
|
|
|
|
/* 0xee */ "\000\000\000\356" "\000\000\000\357" "\000\000\000\360"
|
|
|
|
/* 0xf1 */ "\000\000\000\361" "\000\000\000\362" "\000\000\000\363"
|
|
|
|
/* 0xf4 */ "\000\000\000\364" "\000\000\000\365" "\000\000\000\366"
|
|
|
|
/* 0xf7 */ "\000\000\000\367" "\000\000\000\370" "\000\000\000\371"
|
|
|
|
/* 0xfa */ "\000\000\000\372" "\000\000\000\373" "\000\000\000\374"
|
|
|
|
/* 0xfd */ "\000\000\000\375" "\000\000\000\376" "\000\000\000\377"
|
|
|
|
;
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_tolower[1536] =
|
1995-03-10 05:01:07 +00:00
|
|
|
/* 0x80 */ "\000\000\000\200" "\000\000\000\201" "\000\000\000\202"
|
|
|
|
/* 0x83 */ "\000\000\000\203" "\000\000\000\204" "\000\000\000\205"
|
|
|
|
/* 0x86 */ "\000\000\000\206" "\000\000\000\207" "\000\000\000\210"
|
|
|
|
/* 0x89 */ "\000\000\000\211" "\000\000\000\212" "\000\000\000\213"
|
|
|
|
/* 0x8c */ "\000\000\000\214" "\000\000\000\215" "\000\000\000\216"
|
|
|
|
/* 0x8f */ "\000\000\000\217" "\000\000\000\220" "\000\000\000\221"
|
|
|
|
/* 0x92 */ "\000\000\000\222" "\000\000\000\223" "\000\000\000\224"
|
|
|
|
/* 0x95 */ "\000\000\000\225" "\000\000\000\226" "\000\000\000\227"
|
|
|
|
/* 0x98 */ "\000\000\000\230" "\000\000\000\231" "\000\000\000\232"
|
|
|
|
/* 0x9b */ "\000\000\000\233" "\000\000\000\234" "\000\000\000\235"
|
|
|
|
/* 0x9e */ "\000\000\000\236" "\000\000\000\237" "\000\000\000\240"
|
|
|
|
/* 0xa1 */ "\000\000\000\241" "\000\000\000\242" "\000\000\000\243"
|
|
|
|
/* 0xa4 */ "\000\000\000\244" "\000\000\000\245" "\000\000\000\246"
|
|
|
|
/* 0xa7 */ "\000\000\000\247" "\000\000\000\250" "\000\000\000\251"
|
|
|
|
/* 0xaa */ "\000\000\000\252" "\000\000\000\253" "\000\000\000\254"
|
|
|
|
/* 0xad */ "\000\000\000\255" "\000\000\000\256" "\000\000\000\257"
|
|
|
|
/* 0xb0 */ "\000\000\000\260" "\000\000\000\261" "\000\000\000\262"
|
|
|
|
/* 0xb3 */ "\000\000\000\263" "\000\000\000\264" "\000\000\000\265"
|
|
|
|
/* 0xb6 */ "\000\000\000\266" "\000\000\000\267" "\000\000\000\270"
|
|
|
|
/* 0xb9 */ "\000\000\000\271" "\000\000\000\272" "\000\000\000\273"
|
|
|
|
/* 0xbc */ "\000\000\000\274" "\000\000\000\275" "\000\000\000\276"
|
|
|
|
/* 0xbf */ "\000\000\000\277" "\000\000\000\300" "\000\000\000\301"
|
|
|
|
/* 0xc2 */ "\000\000\000\302" "\000\000\000\303" "\000\000\000\304"
|
|
|
|
/* 0xc5 */ "\000\000\000\305" "\000\000\000\306" "\000\000\000\307"
|
|
|
|
/* 0xc8 */ "\000\000\000\310" "\000\000\000\311" "\000\000\000\312"
|
|
|
|
/* 0xcb */ "\000\000\000\313" "\000\000\000\314" "\000\000\000\315"
|
|
|
|
/* 0xce */ "\000\000\000\316" "\000\000\000\317" "\000\000\000\320"
|
|
|
|
/* 0xd1 */ "\000\000\000\321" "\000\000\000\322" "\000\000\000\323"
|
|
|
|
/* 0xd4 */ "\000\000\000\324" "\000\000\000\325" "\000\000\000\326"
|
|
|
|
/* 0xd7 */ "\000\000\000\327" "\000\000\000\330" "\000\000\000\331"
|
|
|
|
/* 0xda */ "\000\000\000\332" "\000\000\000\333" "\000\000\000\334"
|
|
|
|
/* 0xdd */ "\000\000\000\335" "\000\000\000\336" "\000\000\000\337"
|
|
|
|
/* 0xe0 */ "\000\000\000\340" "\000\000\000\341" "\000\000\000\342"
|
|
|
|
/* 0xe3 */ "\000\000\000\343" "\000\000\000\344" "\000\000\000\345"
|
|
|
|
/* 0xe6 */ "\000\000\000\346" "\000\000\000\347" "\000\000\000\350"
|
|
|
|
/* 0xe9 */ "\000\000\000\351" "\000\000\000\352" "\000\000\000\353"
|
|
|
|
/* 0xec */ "\000\000\000\354" "\000\000\000\355" "\000\000\000\356"
|
|
|
|
/* 0xef */ "\000\000\000\357" "\000\000\000\360" "\000\000\000\361"
|
|
|
|
/* 0xf2 */ "\000\000\000\362" "\000\000\000\363" "\000\000\000\364"
|
|
|
|
/* 0xf5 */ "\000\000\000\365" "\000\000\000\366" "\000\000\000\367"
|
|
|
|
/* 0xf8 */ "\000\000\000\370" "\000\000\000\371" "\000\000\000\372"
|
|
|
|
/* 0xfb */ "\000\000\000\373" "\000\000\000\374" "\000\000\000\375"
|
|
|
|
/* 0xfe */ "\000\000\000\376" "\000\000\000\377" "\000\000\000\000"
|
|
|
|
/* 0x01 */ "\000\000\000\001" "\000\000\000\002" "\000\000\000\003"
|
|
|
|
/* 0x04 */ "\000\000\000\004" "\000\000\000\005" "\000\000\000\006"
|
|
|
|
/* 0x07 */ "\000\000\000\007" "\000\000\000\010" "\000\000\000\011"
|
|
|
|
/* 0x0a */ "\000\000\000\012" "\000\000\000\013" "\000\000\000\014"
|
|
|
|
/* 0x0d */ "\000\000\000\015" "\000\000\000\016" "\000\000\000\017"
|
|
|
|
/* 0x10 */ "\000\000\000\020" "\000\000\000\021" "\000\000\000\022"
|
|
|
|
/* 0x13 */ "\000\000\000\023" "\000\000\000\024" "\000\000\000\025"
|
|
|
|
/* 0x16 */ "\000\000\000\026" "\000\000\000\027" "\000\000\000\030"
|
|
|
|
/* 0x19 */ "\000\000\000\031" "\000\000\000\032" "\000\000\000\033"
|
|
|
|
/* 0x1c */ "\000\000\000\034" "\000\000\000\035" "\000\000\000\036"
|
|
|
|
/* 0x1f */ "\000\000\000\037" "\000\000\000\040" "\000\000\000\041"
|
|
|
|
/* 0x22 */ "\000\000\000\042" "\000\000\000\043" "\000\000\000\044"
|
|
|
|
/* 0x25 */ "\000\000\000\045" "\000\000\000\046" "\000\000\000\047"
|
|
|
|
/* 0x28 */ "\000\000\000\050" "\000\000\000\051" "\000\000\000\052"
|
|
|
|
/* 0x2b */ "\000\000\000\053" "\000\000\000\054" "\000\000\000\055"
|
|
|
|
/* 0x2e */ "\000\000\000\056" "\000\000\000\057" "\000\000\000\060"
|
|
|
|
/* 0x31 */ "\000\000\000\061" "\000\000\000\062" "\000\000\000\063"
|
|
|
|
/* 0x34 */ "\000\000\000\064" "\000\000\000\065" "\000\000\000\066"
|
|
|
|
/* 0x37 */ "\000\000\000\067" "\000\000\000\070" "\000\000\000\071"
|
|
|
|
/* 0x3a */ "\000\000\000\072" "\000\000\000\073" "\000\000\000\074"
|
|
|
|
/* 0x3d */ "\000\000\000\075" "\000\000\000\076" "\000\000\000\077"
|
|
|
|
/* 0x40 */ "\000\000\000\100" "\000\000\000\141" "\000\000\000\142"
|
|
|
|
/* 0x43 */ "\000\000\000\143" "\000\000\000\144" "\000\000\000\145"
|
|
|
|
/* 0x46 */ "\000\000\000\146" "\000\000\000\147" "\000\000\000\150"
|
|
|
|
/* 0x49 */ "\000\000\000\151" "\000\000\000\152" "\000\000\000\153"
|
|
|
|
/* 0x4c */ "\000\000\000\154" "\000\000\000\155" "\000\000\000\156"
|
|
|
|
/* 0x4f */ "\000\000\000\157" "\000\000\000\160" "\000\000\000\161"
|
|
|
|
/* 0x52 */ "\000\000\000\162" "\000\000\000\163" "\000\000\000\164"
|
|
|
|
/* 0x55 */ "\000\000\000\165" "\000\000\000\166" "\000\000\000\167"
|
|
|
|
/* 0x58 */ "\000\000\000\170" "\000\000\000\171" "\000\000\000\172"
|
|
|
|
/* 0x5b */ "\000\000\000\133" "\000\000\000\134" "\000\000\000\135"
|
|
|
|
/* 0x5e */ "\000\000\000\136" "\000\000\000\137" "\000\000\000\140"
|
|
|
|
/* 0x61 */ "\000\000\000\141" "\000\000\000\142" "\000\000\000\143"
|
|
|
|
/* 0x64 */ "\000\000\000\144" "\000\000\000\145" "\000\000\000\146"
|
|
|
|
/* 0x67 */ "\000\000\000\147" "\000\000\000\150" "\000\000\000\151"
|
|
|
|
/* 0x6a */ "\000\000\000\152" "\000\000\000\153" "\000\000\000\154"
|
|
|
|
/* 0x6d */ "\000\000\000\155" "\000\000\000\156" "\000\000\000\157"
|
|
|
|
/* 0x70 */ "\000\000\000\160" "\000\000\000\161" "\000\000\000\162"
|
|
|
|
/* 0x73 */ "\000\000\000\163" "\000\000\000\164" "\000\000\000\165"
|
|
|
|
/* 0x76 */ "\000\000\000\166" "\000\000\000\167" "\000\000\000\170"
|
|
|
|
/* 0x79 */ "\000\000\000\171" "\000\000\000\172" "\000\000\000\173"
|
|
|
|
/* 0x7c */ "\000\000\000\174" "\000\000\000\175" "\000\000\000\176"
|
|
|
|
/* 0x7f */ "\000\000\000\177" "\000\000\000\200" "\000\000\000\201"
|
|
|
|
/* 0x82 */ "\000\000\000\202" "\000\000\000\203" "\000\000\000\204"
|
|
|
|
/* 0x85 */ "\000\000\000\205" "\000\000\000\206" "\000\000\000\207"
|
|
|
|
/* 0x88 */ "\000\000\000\210" "\000\000\000\211" "\000\000\000\212"
|
|
|
|
/* 0x8b */ "\000\000\000\213" "\000\000\000\214" "\000\000\000\215"
|
|
|
|
/* 0x8e */ "\000\000\000\216" "\000\000\000\217" "\000\000\000\220"
|
|
|
|
/* 0x91 */ "\000\000\000\221" "\000\000\000\222" "\000\000\000\223"
|
|
|
|
/* 0x94 */ "\000\000\000\224" "\000\000\000\225" "\000\000\000\226"
|
|
|
|
/* 0x97 */ "\000\000\000\227" "\000\000\000\230" "\000\000\000\231"
|
|
|
|
/* 0x9a */ "\000\000\000\232" "\000\000\000\233" "\000\000\000\234"
|
|
|
|
/* 0x9d */ "\000\000\000\235" "\000\000\000\236" "\000\000\000\237"
|
|
|
|
/* 0xa0 */ "\000\000\000\240" "\000\000\000\241" "\000\000\000\242"
|
|
|
|
/* 0xa3 */ "\000\000\000\243" "\000\000\000\244" "\000\000\000\245"
|
|
|
|
/* 0xa6 */ "\000\000\000\246" "\000\000\000\247" "\000\000\000\250"
|
|
|
|
/* 0xa9 */ "\000\000\000\251" "\000\000\000\252" "\000\000\000\253"
|
|
|
|
/* 0xac */ "\000\000\000\254" "\000\000\000\255" "\000\000\000\256"
|
|
|
|
/* 0xaf */ "\000\000\000\257" "\000\000\000\260" "\000\000\000\261"
|
|
|
|
/* 0xb2 */ "\000\000\000\262" "\000\000\000\263" "\000\000\000\264"
|
|
|
|
/* 0xb5 */ "\000\000\000\265" "\000\000\000\266" "\000\000\000\267"
|
|
|
|
/* 0xb8 */ "\000\000\000\270" "\000\000\000\271" "\000\000\000\272"
|
|
|
|
/* 0xbb */ "\000\000\000\273" "\000\000\000\274" "\000\000\000\275"
|
|
|
|
/* 0xbe */ "\000\000\000\276" "\000\000\000\277" "\000\000\000\300"
|
|
|
|
/* 0xc1 */ "\000\000\000\301" "\000\000\000\302" "\000\000\000\303"
|
|
|
|
/* 0xc4 */ "\000\000\000\304" "\000\000\000\305" "\000\000\000\306"
|
|
|
|
/* 0xc7 */ "\000\000\000\307" "\000\000\000\310" "\000\000\000\311"
|
|
|
|
/* 0xca */ "\000\000\000\312" "\000\000\000\313" "\000\000\000\314"
|
|
|
|
/* 0xcd */ "\000\000\000\315" "\000\000\000\316" "\000\000\000\317"
|
|
|
|
/* 0xd0 */ "\000\000\000\320" "\000\000\000\321" "\000\000\000\322"
|
|
|
|
/* 0xd3 */ "\000\000\000\323" "\000\000\000\324" "\000\000\000\325"
|
|
|
|
/* 0xd6 */ "\000\000\000\326" "\000\000\000\327" "\000\000\000\330"
|
|
|
|
/* 0xd9 */ "\000\000\000\331" "\000\000\000\332" "\000\000\000\333"
|
|
|
|
/* 0xdc */ "\000\000\000\334" "\000\000\000\335" "\000\000\000\336"
|
|
|
|
/* 0xdf */ "\000\000\000\337" "\000\000\000\340" "\000\000\000\341"
|
|
|
|
/* 0xe2 */ "\000\000\000\342" "\000\000\000\343" "\000\000\000\344"
|
|
|
|
/* 0xe5 */ "\000\000\000\345" "\000\000\000\346" "\000\000\000\347"
|
|
|
|
/* 0xe8 */ "\000\000\000\350" "\000\000\000\351" "\000\000\000\352"
|
|
|
|
/* 0xeb */ "\000\000\000\353" "\000\000\000\354" "\000\000\000\355"
|
|
|
|
/* 0xee */ "\000\000\000\356" "\000\000\000\357" "\000\000\000\360"
|
|
|
|
/* 0xf1 */ "\000\000\000\361" "\000\000\000\362" "\000\000\000\363"
|
|
|
|
/* 0xf4 */ "\000\000\000\364" "\000\000\000\365" "\000\000\000\366"
|
|
|
|
/* 0xf7 */ "\000\000\000\367" "\000\000\000\370" "\000\000\000\371"
|
|
|
|
/* 0xfa */ "\000\000\000\372" "\000\000\000\373" "\000\000\000\374"
|
|
|
|
/* 0xfd */ "\000\000\000\375" "\000\000\000\376" "\000\000\000\377"
|
|
|
|
;
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_names[1024] =
|
|
|
|
/* 0x00 */ "\000\000\000\000" "\000\000\000\001" "\000\000\000\002"
|
|
|
|
/* 0x03 */ "\000\000\000\003" "\000\000\000\004" "\000\000\000\005"
|
|
|
|
/* 0x06 */ "\000\000\000\006" "\000\000\000\007" "\000\000\000\010"
|
|
|
|
/* 0x09 */ "\000\000\000\011" "\000\000\000\012" "\000\000\000\013"
|
|
|
|
/* 0x0c */ "\000\000\000\014" "\000\000\000\015" "\000\000\000\016"
|
|
|
|
/* 0x0f */ "\000\000\000\017" "\000\000\000\020" "\000\000\000\021"
|
|
|
|
/* 0x12 */ "\000\000\000\022" "\000\000\000\023" "\000\000\000\024"
|
|
|
|
/* 0x15 */ "\000\000\000\025" "\000\000\000\026" "\000\000\000\027"
|
|
|
|
/* 0x18 */ "\000\000\000\030" "\000\000\000\031" "\000\000\000\032"
|
|
|
|
/* 0x1b */ "\000\000\000\033" "\000\000\000\034" "\000\000\000\035"
|
|
|
|
/* 0x1e */ "\000\000\000\036" "\000\000\000\037" "\000\000\000\040"
|
|
|
|
/* 0x21 */ "\000\000\000\041" "\000\000\000\042" "\000\000\000\043"
|
|
|
|
/* 0x24 */ "\000\000\000\044" "\000\000\000\045" "\000\000\000\046"
|
|
|
|
/* 0x27 */ "\000\000\000\047" "\000\000\000\050" "\000\000\000\051"
|
|
|
|
/* 0x2a */ "\000\000\000\052" "\000\000\000\053" "\000\000\000\054"
|
|
|
|
/* 0x2d */ "\000\000\000\055" "\000\000\000\056" "\000\000\000\057"
|
|
|
|
/* 0x30 */ "\000\000\000\060" "\000\000\000\061" "\000\000\000\062"
|
|
|
|
/* 0x33 */ "\000\000\000\063" "\000\000\000\064" "\000\000\000\065"
|
|
|
|
/* 0x36 */ "\000\000\000\066" "\000\000\000\067" "\000\000\000\070"
|
|
|
|
/* 0x39 */ "\000\000\000\071" "\000\000\000\072" "\000\000\000\073"
|
|
|
|
/* 0x3c */ "\000\000\000\074" "\000\000\000\075" "\000\000\000\076"
|
|
|
|
/* 0x3f */ "\000\000\000\077" "\000\000\000\100" "\000\000\000\101"
|
|
|
|
/* 0x42 */ "\000\000\000\102" "\000\000\000\103" "\000\000\000\104"
|
|
|
|
/* 0x45 */ "\000\000\000\105" "\000\000\000\106" "\000\000\000\107"
|
|
|
|
/* 0x48 */ "\000\000\000\110" "\000\000\000\111" "\000\000\000\112"
|
|
|
|
/* 0x4b */ "\000\000\000\113" "\000\000\000\114" "\000\000\000\115"
|
|
|
|
/* 0x4e */ "\000\000\000\116" "\000\000\000\117" "\000\000\000\120"
|
|
|
|
/* 0x51 */ "\000\000\000\121" "\000\000\000\122" "\000\000\000\123"
|
|
|
|
/* 0x54 */ "\000\000\000\124" "\000\000\000\125" "\000\000\000\126"
|
|
|
|
/* 0x57 */ "\000\000\000\127" "\000\000\000\130" "\000\000\000\131"
|
|
|
|
/* 0x5a */ "\000\000\000\132" "\000\000\000\133" "\000\000\000\134"
|
|
|
|
/* 0x5d */ "\000\000\000\135" "\000\000\000\136" "\000\000\000\137"
|
|
|
|
/* 0x60 */ "\000\000\000\140" "\000\000\000\141" "\000\000\000\142"
|
|
|
|
/* 0x63 */ "\000\000\000\143" "\000\000\000\144" "\000\000\000\145"
|
|
|
|
/* 0x66 */ "\000\000\000\146" "\000\000\000\147" "\000\000\000\150"
|
|
|
|
/* 0x69 */ "\000\000\000\151" "\000\000\000\152" "\000\000\000\153"
|
|
|
|
/* 0x6c */ "\000\000\000\154" "\000\000\000\155" "\000\000\000\156"
|
|
|
|
/* 0x6f */ "\000\000\000\157" "\000\000\000\160" "\000\000\000\161"
|
|
|
|
/* 0x72 */ "\000\000\000\162" "\000\000\000\163" "\000\000\000\164"
|
|
|
|
/* 0x75 */ "\000\000\000\165" "\000\000\000\166" "\000\000\000\167"
|
|
|
|
/* 0x78 */ "\000\000\000\170" "\000\000\000\171" "\000\000\000\172"
|
|
|
|
/* 0x7b */ "\000\000\000\173" "\000\000\000\174" "\000\000\000\175"
|
|
|
|
/* 0x7e */ "\000\000\000\176" "\000\000\000\177" "\000\000\000\200"
|
|
|
|
/* 0x81 */ "\000\000\000\201" "\000\000\000\202" "\000\000\000\203"
|
|
|
|
/* 0x84 */ "\000\000\000\204" "\000\000\000\205" "\000\000\000\206"
|
|
|
|
/* 0x87 */ "\000\000\000\207" "\000\000\000\210" "\000\000\000\211"
|
|
|
|
/* 0x8a */ "\000\000\000\212" "\000\000\000\213" "\000\000\000\214"
|
|
|
|
/* 0x8d */ "\000\000\000\215" "\000\000\000\216" "\000\000\000\217"
|
|
|
|
/* 0x90 */ "\000\000\000\220" "\000\000\000\221" "\000\000\000\222"
|
|
|
|
/* 0x93 */ "\000\000\000\223" "\000\000\000\224" "\000\000\000\225"
|
|
|
|
/* 0x96 */ "\000\000\000\226" "\000\000\000\227" "\000\000\000\230"
|
|
|
|
/* 0x99 */ "\000\000\000\231" "\000\000\000\232" "\000\000\000\233"
|
|
|
|
/* 0x9c */ "\000\000\000\234" "\000\000\000\235" "\000\000\000\236"
|
|
|
|
/* 0x9f */ "\000\000\000\237" "\000\000\000\240" "\000\000\000\241"
|
|
|
|
/* 0xa2 */ "\000\000\000\242" "\000\000\000\243" "\000\000\000\244"
|
|
|
|
/* 0xa5 */ "\000\000\000\245" "\000\000\000\246" "\000\000\000\247"
|
|
|
|
/* 0xa8 */ "\000\000\000\250" "\000\000\000\251" "\000\000\000\252"
|
|
|
|
/* 0xab */ "\000\000\000\253" "\000\000\000\254" "\000\000\000\255"
|
|
|
|
/* 0xae */ "\000\000\000\256" "\000\000\000\257" "\000\000\000\260"
|
|
|
|
/* 0xb1 */ "\000\000\000\261" "\000\000\000\262" "\000\000\000\263"
|
|
|
|
/* 0xb4 */ "\000\000\000\264" "\000\000\000\265" "\000\000\000\266"
|
|
|
|
/* 0xb7 */ "\000\000\000\267" "\000\000\000\270" "\000\000\000\271"
|
|
|
|
/* 0xba */ "\000\000\000\272" "\000\000\000\273" "\000\000\000\274"
|
|
|
|
/* 0xbd */ "\000\000\000\275" "\000\000\000\276" "\000\000\000\277"
|
|
|
|
/* 0xc0 */ "\000\000\000\300" "\000\000\000\301" "\000\000\000\302"
|
|
|
|
/* 0xc3 */ "\000\000\000\303" "\000\000\000\304" "\000\000\000\305"
|
|
|
|
/* 0xc6 */ "\000\000\000\306" "\000\000\000\307" "\000\000\000\310"
|
|
|
|
/* 0xc9 */ "\000\000\000\311" "\000\000\000\312" "\000\000\000\313"
|
|
|
|
/* 0xcc */ "\000\000\000\314" "\000\000\000\315" "\000\000\000\316"
|
|
|
|
/* 0xcf */ "\000\000\000\317" "\000\000\000\320" "\000\000\000\321"
|
|
|
|
/* 0xd2 */ "\000\000\000\322" "\000\000\000\323" "\000\000\000\324"
|
|
|
|
/* 0xd5 */ "\000\000\000\325" "\000\000\000\326" "\000\000\000\327"
|
|
|
|
/* 0xd8 */ "\000\000\000\330" "\000\000\000\331" "\000\000\000\332"
|
|
|
|
/* 0xdb */ "\000\000\000\333" "\000\000\000\334" "\000\000\000\335"
|
|
|
|
/* 0xde */ "\000\000\000\336" "\000\000\000\337" "\000\000\000\340"
|
|
|
|
/* 0xe1 */ "\000\000\000\341" "\000\000\000\342" "\000\000\000\343"
|
|
|
|
/* 0xe4 */ "\000\000\000\344" "\000\000\000\345" "\000\000\000\346"
|
|
|
|
/* 0xe7 */ "\000\000\000\347" "\000\000\000\350" "\000\000\000\351"
|
|
|
|
/* 0xea */ "\000\000\000\352" "\000\000\000\353" "\000\000\000\354"
|
|
|
|
/* 0xed */ "\000\000\000\355" "\000\000\000\356" "\000\000\000\357"
|
|
|
|
/* 0xf0 */ "\000\000\000\360" "\000\000\000\361" "\000\000\000\362"
|
|
|
|
/* 0xf3 */ "\000\000\000\363" "\000\000\000\364" "\000\000\000\365"
|
|
|
|
/* 0xf6 */ "\000\000\000\366" "\000\000\000\367" "\000\000\000\370"
|
|
|
|
/* 0xf9 */ "\000\000\000\371" "\000\000\000\372" "\000\000\000\373"
|
|
|
|
/* 0xfc */ "\000\000\000\374" "\000\000\000\375" "\000\000\000\376"
|
|
|
|
/* 0xff */ "\000\000\000\377"
|
|
|
|
;
|
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
1995-03-06 03:00:08 +00:00
|
|
|
#else
|
1995-03-10 05:01:07 +00:00
|
|
|
#error "BYTE_ORDER" BYTE_ORDER " not handled."
|
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
1995-03-06 03:00:08 +00:00
|
|
|
#endif
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const char _nl_C_LC_CTYPE_width[256] =
|
|
|
|
/* 0x00 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x10 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x20 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x30 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x40 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x50 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x60 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x70 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x80 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0x90 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0xa0 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0xb0 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0xc0 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0xd0 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0xe0 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
/* 0xf0 */ "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001"
|
|
|
|
;
|
1995-02-18 01:27:10 +00:00
|
|
|
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
const struct locale_data _nl_C_LC_CTYPE =
|
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
1995-03-06 03:00:08 +00:00
|
|
|
{
|
Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
LOCALE_ALIAS_PATH.
Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
* intl/Makefile (routines): Add l10nflist and explodename.
(distribute): Add loadinfo.h and locale.alias.
(install-others): New variable to install locale.alias.
* intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
is now shared with the locale implementation.
* intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
Extracted from finddomain.c. This is also used in the locale
implementation.
* intl/locale.alias: New file. Locale alias database compatible
with X Window System's locale alias file. Can now be used in
locale and gettext code.
* libio/stdio.h: Add prototypes for asprint and vasprintf.
* locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
field in structure with name of locale ("C" in this case).
* locale/Makefile (routines): Add findlocale.
* locale/findlocale.c: New file. Instead of trying to load the
directly described file we now try to be much smarter when this
fails. Use the same code as gettext does.
* locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
new loading scheme.
* locale/localeinfo.h: Adapt prototypes and declarations for new
setlocale implementation. Remove definition of u32_t type. We
now use u_int32_t from <sys/types.h>.
* locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
with constant.
* locale/programs/config.h, locale/lc-collate.c,
locale/localeinfo.h, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
Change to use u_int32_t and u_int16_t.
* locale/programs/localedef.c (construct_output_path): Change name
of output locale to contain normalized form of the character set
portion.
* string/Makefile (routines): Add agrz-ctsep and argz-next.
(tests): Add tst-strlen.
* string/argz-ctsep.c: New file. Implement reverse operation
from argz-stringify.
* string/argz-next.c: Non-inline version of function from argz.h.
* string/argz.h, string/envz.h: Make usable as global header file.
* string/envz.c: Fix declarations to use size_t where prototypes
say so.
* string/tst-strlen.c: New file. Another test for critical
situation in strlen implementations.
* sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
being zero.
* wctype/test_wctype.c: Fix controlling comparison after change to
32 bit character class array.
Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/getpriority.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
Disable all exceptions.
Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
define __NO_MATH_INLINES, which is already defined on command
line.
Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
Replace 0x80000000 by 0x48000000.
* sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sunrpc/svc_simple.c: Make global variable pl local to
registerrpc.
Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* time/Makefile (tz-cflags): New variable.
(CFLAGS-tzfile.c): New variable.
(CFLAGS-zic.c): Add $(tz-cflags).
(tz-cc): Remove variable.
($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
* sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
name, instead of checking for reaching end of buffer, which happens
when the match is the last entry in the buffer.
1996-05-03 17:44:31 +00:00
|
|
|
_nl_C_name,
|
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
1995-03-06 03:00:08 +00:00
|
|
|
NULL, 0, /* no file mapped */
|
Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
* limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
character in UTF-8 encoding has that many bytes.
* locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
* locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
* locale/Makefile (routines): Add mb_cur_max.
* locale/mb_cur_max.c: New file. This function gets called
when the macro MB_CUR_MAX is used.
* locale/C-ctype.c: Initialize new mb_cur_max field.
* locale/localeinfo.h: Change magic value because of incompatible
change.
* locale/programs/ld-ctype.c: Determine value of mb_cur_max
according to current character set and write it out with the rest.
* stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
according to currently used locale for catefory LC_CTYPE by
calling the function __ctype_get_mb_cur_max.
Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
* FAQ: Fix some typos.
Tell that for Linux the kernel header files are necessary.
* PROJECTS: New file. List of open jobs for glibc.
* Makefile (distribute): Add PROJECTS.
* crypt/GNUmakefile (headers): New variable. Mention crypt.h.
* crypt/crypt.h: Header for crypt functions.
* elf/elf.h: Add some new constants from recent Cygnus ELF
header files.
* login/getutid_r.c: Test for correct type.
Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
_HAVE_UT_ID resp. are defined.
Make really compliant with specification.
* login/getutline_r.c, login/pututline_r.c: Don't depend on
ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
defined.
Make really compliant with specification.
* login/setutent_r.c: Don't depend on ut_type and ut_id unless
_HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
* login/login.c, login/logout.c, login/logwtmp.c: Complete
rewrite. Now based on getut*/setut* functions.
* stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
This prevented using this file in other GNU packages.
* sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
and _HAVE_UT_TV because struct utmp has these members.
* sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
* utmp.h: New file. Wrapper around login/utmp.h.
* elf/dl-error.c (struct catch): New type.
(catch): New static variable, struct catch *.
(catch_env, signalled_errstring, signalled_objname): Variables removed.
(_dl_signal_error): If CATCH is non-null, set its errstring and
objname members and jump to CATCH->env. If it is null, call
_dl_sysdep_fatal with a standard message.
* elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
No longer use _dl_catch_error.
1996-05-29 04:48:04 +00:00
|
|
|
14,
|
1995-03-10 05:01:07 +00:00
|
|
|
{
|
Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* intl/Makefile (copysrc): Add missing > in sed cmd.
Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* Makeconfig: Rename Makefile variable nlsdir to i18ndir and
change value to $(datadir)/i18n. `nls' is not an appropriate
name.
* Makefile (subdirs): Add new subdir wctype.
* ctype/ctype-info.c: Add new global variable __ctype_names
and initialize from _nl_C_LC_CTYPE.
* ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
class. Use bit 11.
[_ISbit]: Protect definition of bitmasks because they are also
used in wctype.h.
* libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
after successfully pushing back a character.
Fundamental changes in locale implementation. Almost nothing
from the old code is used anymore.
* locale/charmap.c, locale/collate.c, locale/config.h,
locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
locale/locale.c locale/localeconv.c, locale/localedef.c,
locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
locale/numeric.c, locale/setlocale.c, locale/token.h,
locale/xmalloc.c: Removed.
* locale/Makefile: Update for new locale implementation with
program source code distributed in subdir.
* locale/categories.def, locale/iso-4217.def: Updated file
for new locale implementation.
* locale/langinfo.h: Updated for new locale implementation.
(ERA_D_T_FMT, ERA_T_FMT): New official values according to
P1003.2b/D11.
(_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
_NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
_NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
_NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
extended LC_CTYPE and LC_COLLATE implementation.
* locale/simple-hash.c, locale/simple-hash.h, locale/xmalloc.c,
locale/xstrdup.c: Helper functions for locale related programs.
* locale/C-collate.c, locale/C-ctype.c,
locale/C-messages.c, locale/C-monetary.c,
locale/C-numeric.c, locale/C-time.c,
locale/lc-collate.c, locale/lc-ctype.c,
locale/lc-messages.c, locale/lc-monetary.c,
locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
functions, and new generated "C" locale data.
* locale/loadlocale.c: Now handles word fields in locale binary
automatically by changing the endianess if necessary.
* locale/localeinfo.h (LIMAGIC): Changed magic number because
of incompatible changes.
(locale_data): Changed definition to allow word as a value type.
(coll_sort_rule): Values for collation sorting mode.
(_NL_CURRENT_WORD): New macro to access word value of locale entry.
(__collate_table, __collate_extra): Declare new global variables
for collation tables.
* locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
locale/programs/charmap.c, locale/programs/charset.c,
locale/programs/charset.h, locale/programs/config.h,
locale/programs/ctypedump.c, locale/programs/ld-collate.c,
locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
locale/programs/ld-time.c, locale/programs/linereader.c,
locale/programs/linereader.h, locale/programs/locale.c,
locale/programs/localedef.c, locale/programs/locales.h,
locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
locale/programs/locfile-token.h, locale/programs/locfile.c,
locale/programs/locfile.h, locale/programs/stringtrans.c,
locale/programs/stringtrans.h: Implementation of locale related
programs.
* locale/weight.h: Functions to access collation tables.
* posix/unistd.h: Define _POSIX2_LOCALEDEF.
* stdio-common/printf_fp.c: Fix bug with printing certain numbers
< 10^-1. Reported by Bill Metzenthen.
* stdio-common/tfformat.c: Add new test for above bug.
* string/strcoll.c, string/strxfrm.c: Real implementation of
string collation according to ISO C.
* wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
Implementation of wide character classes and mapping.
1996-03-28 08:30:38 +00:00
|
|
|
{ string: _nl_C_LC_CTYPE_class },
|
|
|
|
#if BYTE_ORDER == LITTLE_ENDIAN
|
|
|
|
{ string: NULL }, { string: NULL },
|
|
|
|
#endif
|
|
|
|
{ string: _nl_C_LC_CTYPE_toupper },
|
|
|
|
{ string: _nl_C_LC_CTYPE_tolower },
|
|
|
|
{ string: NULL },
|
|
|
|
#if BYTE_ORDER == BIG_ENDIAN
|
|
|
|
{ string: NULL },
|
|
|
|
#endif
|
|
|
|
{ string: _nl_C_LC_CTYPE_class32 },
|
|
|
|
{ string: _nl_C_LC_CTYPE_names },
|
|
|
|
#if BYTE_ORDER == BIG_ENDIAN
|
|
|
|
{ string: NULL },
|
|
|
|
#endif
|
|
|
|
{ word: 256 }, { word: 1 },
|
|
|
|
{ string: "upper\0" "lower\0" "alpha\0" "digit\0" "xdigit\0" "space\0"
|
|
|
|
"print\0" "graph\0" "blank\0" "cntrl\0" "punct\0" "alnum\0" },
|
|
|
|
{ string: "tolower\0" "toupper\0" },
|
Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
* limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
character in UTF-8 encoding has that many bytes.
* locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
* locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
* locale/Makefile (routines): Add mb_cur_max.
* locale/mb_cur_max.c: New file. This function gets called
when the macro MB_CUR_MAX is used.
* locale/C-ctype.c: Initialize new mb_cur_max field.
* locale/localeinfo.h: Change magic value because of incompatible
change.
* locale/programs/ld-ctype.c: Determine value of mb_cur_max
according to current character set and write it out with the rest.
* stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
according to currently used locale for catefory LC_CTYPE by
calling the function __ctype_get_mb_cur_max.
Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
* FAQ: Fix some typos.
Tell that for Linux the kernel header files are necessary.
* PROJECTS: New file. List of open jobs for glibc.
* Makefile (distribute): Add PROJECTS.
* crypt/GNUmakefile (headers): New variable. Mention crypt.h.
* crypt/crypt.h: Header for crypt functions.
* elf/elf.h: Add some new constants from recent Cygnus ELF
header files.
* login/getutid_r.c: Test for correct type.
Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
_HAVE_UT_ID resp. are defined.
Make really compliant with specification.
* login/getutline_r.c, login/pututline_r.c: Don't depend on
ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
defined.
Make really compliant with specification.
* login/setutent_r.c: Don't depend on ut_type and ut_id unless
_HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
* login/login.c, login/logout.c, login/logwtmp.c: Complete
rewrite. Now based on getut*/setut* functions.
* stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
This prevented using this file in other GNU packages.
* sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
and _HAVE_UT_TV because struct utmp has these members.
* sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
* utmp.h: New file. Wrapper around login/utmp.h.
* elf/dl-error.c (struct catch): New type.
(catch): New static variable, struct catch *.
(catch_env, signalled_errstring, signalled_objname): Variables removed.
(_dl_signal_error): If CATCH is non-null, set its errstring and
objname members and jump to CATCH->env. If it is null, call
_dl_sysdep_fatal with a standard message.
* elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
No longer use _dl_catch_error.
1996-05-29 04:48:04 +00:00
|
|
|
{ string: _nl_C_LC_CTYPE_width },
|
1996-06-19 05:38:55 +00:00
|
|
|
{ word: 2 },
|
|
|
|
{ string: "ISO_646.IRV:1983" }
|
1995-03-10 05:01:07 +00:00
|
|
|
}
|
Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* locale/localeinfo.h: Rewritten for new locale system, using
locale data files and with <langinfo.h> interface.
* locale/setlocale.c: Rewritten to use locale data files.
* langinfo.h: New file.
* locale/langinfo.h: New file.
* locale/nl_langinfo.c: New file.
* locale/loadlocale.c: New file.
* locale/lc-ctype.c: New file.
* locale/lc-messages.c: New file.
* locale/lc-monetary.c: New file.
* locale/lc-numeric.c: New file.
* locale/lc-time.c: New file.
* locale/categories.def: New file.
* locale/Makefile (headers): Remove localeinfo.h.
(distribute): New variable; put localeinfo.h here, and categories.def.
(routines): Add loadlocale.
(categories): New variable.
(aux): Use that to get C-category and lc-category.
* ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
* locale/C-ctype.c, locale/C-messages.c: New files.
* locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
Default "C" locale data updated for new locale system.
* locale/C-collate.c: File removed.
* locale/C-ctype_ct.c: File removed.
* locale/C-ctype_mb.c: File removed.
* locale/C-response.c: File removed.
* locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
* stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
stdlib/strtod.c, time/asctime.c, time/strftime.c:
Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
locale data.
* time/localtime.c: Don't include <localeinfo.h>.
* time/tzset.c: Don't use locale items for default TZ value or
"GMT" string (use "UTC").
* stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
WIDTH>0; update DONE.
* malloc/malloc.c (morecore): Fix last change to calculate by
blocks instead of bytes.
1995-03-06 03:00:08 +00:00
|
|
|
};
|