kopensolaris-gnu/glibc.git
17 years ago__longjmp implementation for PPC32 with FPU.
drepper [Thu, 5 Sep 2002 08:58:45 +0000 (08:58 +0000)]
__longjmp implementation for PPC32 with FPU.

17 years agoMoved to powerpc32/elf.
drepper [Thu, 5 Sep 2002 08:46:53 +0000 (08:46 +0000)]
Moved to powerpc32/elf.

17 years agoStartup code for PPC32/ELF.
drepper [Thu, 5 Sep 2002 08:46:13 +0000 (08:46 +0000)]
Startup code for PPC32/ELF.

17 years agobzero implementation for PPC32/ELF.
drepper [Thu, 5 Sep 2002 08:45:56 +0000 (08:45 +0000)]
bzero implementation for PPC32/ELF.

17 years agoMoved into powerpc32 subdir.
drepper [Thu, 5 Sep 2002 08:43:35 +0000 (08:43 +0000)]
Moved into powerpc32 subdir.

17 years agoPPC32 ABI helper functions to save register content.
drepper [Thu, 5 Sep 2002 08:40:32 +0000 (08:40 +0000)]
PPC32 ABI helper functions to save register content.

17 years agoPPC32 ABI helper functions to save register content.
drepper [Thu, 5 Sep 2002 08:40:20 +0000 (08:40 +0000)]
PPC32 ABI helper functions to save register content.

17 years agoPPC32 ABI helper functions to restore register content.
drepper [Thu, 5 Sep 2002 08:40:02 +0000 (08:40 +0000)]
PPC32 ABI helper functions to restore register content.

17 years agoPPC32 ABI helper functions to restore register content.
drepper [Thu, 5 Sep 2002 08:39:15 +0000 (08:39 +0000)]
PPC32 ABI helper functions to restore register content.

17 years agoMoved into powerpc32 subdir.
drepper [Thu, 5 Sep 2002 08:33:14 +0000 (08:33 +0000)]
Moved into powerpc32 subdir.

17 years agoGMP subtrace and multiply routine for PPC32.
drepper [Thu, 5 Sep 2002 08:32:46 +0000 (08:32 +0000)]
GMP subtrace and multiply routine for PPC32.

17 years agoGMP subtract vector routine for PPC32.
drepper [Thu, 5 Sep 2002 08:32:28 +0000 (08:32 +0000)]
GMP subtract vector routine for PPC32.

17 years agoGMP right shift routine for PPC32.
drepper [Thu, 5 Sep 2002 08:32:02 +0000 (08:32 +0000)]
GMP right shift routine for PPC32.

17 years agoGMP multiply routine for PPC32.
drepper [Thu, 5 Sep 2002 08:31:49 +0000 (08:31 +0000)]
GMP multiply routine for PPC32.

17 years agoGMP left shift routine for PPC32.
drepper [Thu, 5 Sep 2002 08:31:33 +0000 (08:31 +0000)]
GMP left shift routine for PPC32.

17 years agolibgcc compatibility code for PPC32.
drepper [Thu, 5 Sep 2002 08:31:16 +0000 (08:31 +0000)]
libgcc compatibility code for PPC32.

17 years agogcc division helper routine for PPC32.
drepper [Thu, 5 Sep 2002 08:31:00 +0000 (08:31 +0000)]
gcc division helper routine for PPC32.

17 years agoGMP add and multiply routine for PPC32.
drepper [Thu, 5 Sep 2002 08:30:45 +0000 (08:30 +0000)]
GMP add and multiply routine for PPC32.

17 years agoGMP add vector routine for PPC32.
drepper [Thu, 5 Sep 2002 08:30:31 +0000 (08:30 +0000)]
GMP add vector routine for PPC32.

17 years agoELF startup code for PPC32.
drepper [Thu, 5 Sep 2002 08:30:15 +0000 (08:30 +0000)]
ELF startup code for PPC32.

17 years agoMoved into powerpc32 subdir.
drepper [Thu, 5 Sep 2002 08:28:10 +0000 (08:28 +0000)]
Moved into powerpc32 subdir.

17 years agostrlen definition for PPC32.
drepper [Thu, 5 Sep 2002 08:27:34 +0000 (08:27 +0000)]
strlen definition for PPC32.

17 years agostrcpy definition for PPC32.
drepper [Thu, 5 Sep 2002 08:27:23 +0000 (08:27 +0000)]
strcpy definition for PPC32.

17 years agostrcmp definition for PPC32.
drepper [Thu, 5 Sep 2002 08:27:07 +0000 (08:27 +0000)]
strcmp definition for PPC32.

17 years agostrchr definitions for PPC32.
drepper [Thu, 5 Sep 2002 08:26:52 +0000 (08:26 +0000)]
strchr definitions for PPC32.

17 years agostpcpy definition for PPC32,
drepper [Thu, 5 Sep 2002 08:26:37 +0000 (08:26 +0000)]
stpcpy definition for PPC32,

17 years agosetjmp implementation for PPC32.
drepper [Thu, 5 Sep 2002 08:26:02 +0000 (08:26 +0000)]
setjmp implementation for PPC32.

17 years agoDefinitions for register dumping code on PPC32.
drepper [Thu, 5 Sep 2002 08:25:50 +0000 (08:25 +0000)]
Definitions for register dumping code on PPC32.

17 years ago_mcount definition for PPC32.
drepper [Thu, 5 Sep 2002 08:25:25 +0000 (08:25 +0000)]
_mcount definition for PPC32.

17 years agomemset implementation for PPC32.
drepper [Thu, 5 Sep 2002 08:25:07 +0000 (08:25 +0000)]
memset implementation for PPC32.

17 years agoDynamic linker internals for PPC32.
drepper [Thu, 5 Sep 2002 08:24:49 +0000 (08:24 +0000)]
Dynamic linker internals for PPC32.

17 years agoDynamic linker definitions for PPC32.
drepper [Thu, 5 Sep 2002 08:24:12 +0000 (08:24 +0000)]
Dynamic linker definitions for PPC32.

17 years agoBSD-style sigsetjmp implementation for PPC32.
drepper [Thu, 5 Sep 2002 08:23:54 +0000 (08:23 +0000)]
BSD-style sigsetjmp implementation for PPC32.

17 years agoBSD-stle setjmp implementation for PPC32.
drepper [Thu, 5 Sep 2002 08:23:27 +0000 (08:23 +0000)]
BSD-stle setjmp implementation for PPC32.

17 years agoBounded pointer definitions for PPC32.
drepper [Thu, 5 Sep 2002 08:23:10 +0000 (08:23 +0000)]
Bounded pointer definitions for PPC32.

17 years agoBacktrace generation code for PPC32.
drepper [Thu, 5 Sep 2002 08:22:53 +0000 (08:22 +0000)]
Backtrace generation code for PPC32.

17 years agoAtomicity definitions for PPC32.
drepper [Thu, 5 Sep 2002 08:22:39 +0000 (08:22 +0000)]
Atomicity definitions for PPC32.

17 years ago__longjmp implementation for PPC32.
drepper [Thu, 5 Sep 2002 08:22:20 +0000 (08:22 +0000)]
__longjmp implementation for PPC32.

17 years agoMoved into powerpc32 subdir.
drepper [Thu, 5 Sep 2002 07:24:02 +0000 (07:24 +0000)]
Moved into powerpc32 subdir.

17 years agoMachine specific definitions for linuxthreads on PPC32.
drepper [Thu, 5 Sep 2002 07:23:35 +0000 (07:23 +0000)]
Machine specific definitions for linuxthreads on PPC32.

17 years agoInclude <errno.h>.
drepper [Thu, 5 Sep 2002 05:31:10 +0000 (05:31 +0000)]
Include <errno.h>.
(do_test): Only perform fstatvfs check if ST_NOATIME is defined.

17 years ago(regexec): Append "__restrict" modifier to avoid warnings of some compilers.
drepper [Thu, 5 Sep 2002 03:38:28 +0000 (03:38 +0000)]
(regexec): Append "__restrict" modifier to avoid warnings of some compilers.
(transit_state_bkref_loop): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer in
array subscript.
(check_node_accept_bytes): Likewise.
(find_collation_sequence_value): Likewise.

17 years agoChange the type of characters in
drepper [Thu, 5 Sep 2002 03:37:29 +0000 (03:37 +0000)]
Change the type of characters in
re_string_t and bracket_elem_t from "unsigned char" to "char".

17 years ago(re_string_construct_common): Likewise.
drepper [Thu, 5 Sep 2002 03:34:33 +0000 (03:34 +0000)]
(re_string_construct_common): Likewise.
(re_string_allocate): Likewise.
(re_string_construct): Likewise.
(re_string_realloc_buffers): Likewise.
(build_wcs_buffer): Likewise.
(re_string_reconstruct): Likewise.

17 years ago(regcomp): Append "__restrict" modifier to avoid
drepper [Thu, 5 Sep 2002 03:33:58 +0000 (03:33 +0000)]
(regcomp): Append "__restrict" modifier to avoid
warnings of some compilers.
(build_collating_symbol): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer in
array subscript.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(re_compile_pattern): Remove incorrect cast.
(re_compile_fastmap_iter): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer
in array subscript.
(parse_bracket_exp): Likewise.

17 years ago.
roland [Thu, 5 Sep 2002 01:23:20 +0000 (01:23 +0000)]
.

17 years ago2002-09-04 Roland McGrath <roland@redhat.com>
roland [Thu, 5 Sep 2002 01:23:06 +0000 (01:23 +0000)]
2002-09-04  Roland McGrath  <roland@redhat.com>

* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.

17 years agoUpdate.
drepper [Wed, 4 Sep 2002 23:40:45 +0000 (23:40 +0000)]
Update.

17 years agoUpdate.
drepper [Wed, 4 Sep 2002 23:14:36 +0000 (23:14 +0000)]
Update.

17 years agoRegenerate.
drepper [Wed, 4 Sep 2002 23:12:48 +0000 (23:12 +0000)]
Regenerate.

17 years agoUpdate.
drepper [Wed, 4 Sep 2002 20:58:01 +0000 (20:58 +0000)]
Update.

17 years ago(do_test): Make sure noatime flag isn't set for filesystem.
drepper [Wed, 4 Sep 2002 20:50:52 +0000 (20:50 +0000)]
(do_test): Make sure noatime flag isn't set for filesystem.

17 years ago.
roland [Wed, 4 Sep 2002 16:21:38 +0000 (16:21 +0000)]
.

17 years ago2002-09-04 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 4 Sep 2002 16:21:24 +0000 (16:21 +0000)]
2002-09-04  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex11.c: New test.
* posix/Makefile (tests): Add bug-regex11.

17 years agoUpdate.
drepper [Tue, 3 Sep 2002 18:43:43 +0000 (18:43 +0000)]
Update.

17 years ago(run_test): Pass LC_ALL_MASK not LC_ALL to newlocale.
drepper [Tue, 3 Sep 2002 18:40:30 +0000 (18:40 +0000)]
(run_test): Pass LC_ALL_MASK not LC_ALL to newlocale.

17 years agoUndo last change.
drepper [Tue, 3 Sep 2002 03:30:32 +0000 (03:30 +0000)]
Undo last change.

17 years agoUpdate.
drepper [Tue, 3 Sep 2002 03:14:59 +0000 (03:14 +0000)]
Update.

17 years agoUpdate.
drepper [Tue, 3 Sep 2002 03:13:00 +0000 (03:13 +0000)]
Update.

17 years agoExtra Makefile for powerpc linuxthreads.
drepper [Tue, 3 Sep 2002 03:11:22 +0000 (03:11 +0000)]
Extra Makefile for powerpc linuxthreads.

17 years ago(VERSION): Update from 2.3 release.
drepper [Tue, 3 Sep 2002 02:52:58 +0000 (02:52 +0000)]
(VERSION): Update from 2.3 release.

17 years ago.
roland [Tue, 3 Sep 2002 02:45:12 +0000 (02:45 +0000)]
.

17 years ago2002-09-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Sep 2002 02:44:56 +0000 (02:44 +0000)]
2002-09-02  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call
__pthread_initialize_minimal and __libc_check_standard_fds to
match the generic version.

17 years ago2002-09-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Sep 2002 02:33:05 +0000 (02:33 +0000)]
2002-09-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a
warning when INLINE_SYSCALL macro uses the __syscall_ipc function.

17 years ago2002-09-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Sep 2002 02:33:04 +0000 (02:33 +0000)]
2002-09-02  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/Makefile (CFLAGS-pt-initfini.s): New variable.

17 years ago2002-09-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Sep 2002 02:33:03 +0000 (02:33 +0000)]
2002-09-02  Roland McGrath  <roland@redhat.com>

* locale/localeconv.c (__localeconv): Cast -1 to char to avoid
warnings on platorms where char is unsigned.

17 years agoUpdate.
drepper [Tue, 3 Sep 2002 01:44:19 +0000 (01:44 +0000)]
Update.

17 years agoAdd __start_context.S.
drepper [Tue, 3 Sep 2002 01:35:37 +0000 (01:35 +0000)]
Add __start_context.S.

17 years agoRemade for development-2.2.93
drepper [Tue, 3 Sep 2002 01:27:57 +0000 (01:27 +0000)]
Remade for development-2.2.93

17 years agoUpdate.
drepper [Tue, 3 Sep 2002 01:27:35 +0000 (01:27 +0000)]
Update.

17 years ago(VERSION): Bump to 2.2.93.
drepper [Tue, 3 Sep 2002 01:22:59 +0000 (01:22 +0000)]
(VERSION): Bump to 2.2.93.

17 years agoUpdate.
drepper [Mon, 2 Sep 2002 23:46:49 +0000 (23:46 +0000)]
Update.

17 years ago.
roland [Mon, 2 Sep 2002 20:19:26 +0000 (20:19 +0000)]
.

17 years ago2002-09-02 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 2 Sep 2002 20:19:12 +0000 (20:19 +0000)]
2002-09-02  Jakub Jelinek  <jakub@redhat.com>

        * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
        as relocated.

17 years ago.
roland [Mon, 2 Sep 2002 20:04:55 +0000 (20:04 +0000)]
.

17 years ago2002-09-02 Jack Howarth <howarth@bromo.msbb.uc.edu>
roland [Mon, 2 Sep 2002 20:04:40 +0000 (20:04 +0000)]
2002-09-02  Jack Howarth  <howarth@bromo.msbb.uc.edu>

* sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.

17 years ago.
roland [Mon, 2 Sep 2002 19:34:39 +0000 (19:34 +0000)]
.

17 years ago2002-09-02 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 2 Sep 2002 19:34:23 +0000 (19:34 +0000)]
2002-09-02  Jakub Jelinek  <jakub@redhat.com>

* locale/localeinfo.h (struct locale_data): Add private.ctype.
* wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale,
__wcsmbs_to_wc, update_conversion_ptrs): Removed.
(__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs.
(__wcsmbs_load_conv): Remove const from argument.
(_nl_cleanup_ctype): New proto.
(get_gconv_fcts): New function.
* wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed.
(__wcsmbs_to_wc): Rename back to...
(to_wc): ... this.
(__wcsmbs_gconv_fcts): Rename to...
(__wcsmbs_gconv_fcts_c): ... this.  Make const.  Use to_wc.
(lock): Removed.
(__libc_setlocale_lock): New extern.
(__wcsmbs_load_conv): Remove const from argument.
Initialize new_category->private.ctype instead of a global
variable.
(__wcsmbs_clone_conv): Use get_gconv_fcts instead of
update_function_ptrs.  No locking is necessary.
(_nl_cleanup_ctype): New function.
* wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of
update_function_ptrs and a global __wcsmbs_gconv_fcts variable.
* wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
* wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
* wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
* wcsmbs/wctob.c (wctob): Likewise.
* stdlib/mblen.c (mblen): Likewise.
* stdlib/mbtowc.c (mbtowc): Likewise.
* stdlib/wctomb.c (wctomb): Likewise.
* wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs.
* wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs):
Removed.

17 years ago.
roland [Mon, 2 Sep 2002 19:02:16 +0000 (19:02 +0000)]
.

17 years ago2002-09-02 Roland McGrath <roland@frob.com>
roland [Mon, 2 Sep 2002 19:01:52 +0000 (19:01 +0000)]
2002-09-02  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64.

17 years ago.
roland [Mon, 2 Sep 2002 07:09:08 +0000 (07:09 +0000)]
.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Sep 2002 07:08:53 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower):
Variable declarations removed.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare
these functions to replace them.
(__isctype, tolower, toupper, _tolower, _toupper): Use those accessor
functions plus an indirection rather than the old global variables.
* include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper):
Macros removed.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern
inline functions.
* ctype/ctype-info.c: Revert last reversion back the other way.
Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER.
Define real function versions of include/ctype.h inlines here.
* ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc,
__ctype_tolower_loc, __ctype_toupper_loc.
* locale/lc-ctype.c: Revert last reversion back the other way.
(_nl_postload_ctype): If current thread uses the global locale,
update its tsd vars.
* locale/uselocale.c (__uselocale): Update tsd vars from new locale.
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B,
CTYPE_TOLOWER, CTYPE_TOUPPER.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Sep 2002 07:08:51 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed
from __libc_tsd_threadvar_location.
(__libc_tsd_set, __libc_tsd_get): Update uses.

17 years ago.
roland [Mon, 2 Sep 2002 07:08:35 +0000 (07:08 +0000)]
.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Sep 2002 07:08:21 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-tsd.h (enum __libc_tsd_key_t): Add new keys
CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER.
* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro.
(__libc_internal_tsd_address): Declare it.
* Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add
__libc_internal_tsd_address.
* specific.c (libc_internal_tsd_address): New function.
(__libc_internal_tsd_address): New variable.
* no-tsd.c (__libc_internal_tsd_address): New variable.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Sep 2002 07:08:20 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro.
(__libc_internal_tsd_address): Declare it.
* Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add
__libc_internal_tsd_address.
* specific.c (libc_internal_tsd_address): New function.
(__libc_internal_tsd_address): New variable.
* no-tsd.c (__libc_internal_tsd_address): New variable.

17 years agoUpdate.
drepper [Sun, 1 Sep 2002 20:30:19 +0000 (20:30 +0000)]
Update.

17 years agoRevert last patch.
drepper [Sun, 1 Sep 2002 20:08:47 +0000 (20:08 +0000)]
Revert last patch.

17 years agoUndo last patch.
drepper [Sun, 1 Sep 2002 20:08:18 +0000 (20:08 +0000)]
Undo last patch.

17 years agoUndo the patch before the last one. Put back the macro definitions
drepper [Sun, 1 Sep 2002 20:07:29 +0000 (20:07 +0000)]
Undo the patch before the last one.  Put back the macro definitions
for the standard functions to access the classificaiton and mapping
arrays.

17 years agoPartly revert last patch. Move the macro definitions for the exported
drepper [Sun, 1 Sep 2002 20:04:03 +0000 (20:04 +0000)]
Partly revert last patch.  Move the macro definitions for the exported
functions back to the public header.  #undef all the macros defined
here.

17 years agoUpdate.
drepper [Sun, 1 Sep 2002 18:27:42 +0000 (18:27 +0000)]
Update.

17 years ago(routines): Add isctype.
drepper [Sun, 1 Sep 2002 18:26:06 +0000 (18:26 +0000)]
(routines): Add isctype.

17 years ago(libc): Export isctype and __isctype for GLIBC_2.3.
drepper [Sun, 1 Sep 2002 18:25:22 +0000 (18:25 +0000)]
(libc): Export isctype and __isctype for GLIBC_2.3.

17 years agoisctype implementation.
drepper [Sun, 1 Sep 2002 18:24:55 +0000 (18:24 +0000)]
isctype implementation.

17 years agoAdd declaration of isctype.
drepper [Sun, 1 Sep 2002 18:24:05 +0000 (18:24 +0000)]
Add declaration of isctype.

17 years agoDeclare __isctype.
drepper [Sun, 1 Sep 2002 18:23:10 +0000 (18:23 +0000)]
Declare __isctype.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:39:35 +0000 (12:39 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* tst-ctype.c (main): Use nl_langinfo instead of __ctype_b global.

17 years ago.
roland [Sun, 1 Sep 2002 12:39:34 +0000 (12:39 +0000)]
.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:38:04 +0000 (12:38 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower,
iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank,
towlower, towupper): Macros removed.
* ctype/ctype.h (__tobody): Put parens around macro argument.
(__isctype): Macro removed.
(__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed.
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Macros and inlines removed.
* include/ctype.h [! NOT_IN_libc]
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Define here instead, using _NL_CURRENT.
* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros
using _NL_CURRENT.
* ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise.
* ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper):
Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT.
(__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise.
(__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed.
* locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables,
conditional on SHLIB_COMPAT.  Don't set removed variables at all.
* wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals.
* wcsmbs/wcwidth.h (internal_wcwidth): Likewise.
* resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars.
(ISSORTMASK): Update use.
* intl/localealias.c [__GNUC__]: #undef alloca before #define.
* nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'.
(_nss_files_getENTNAME_r): Likewise.
* nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r):
Likewise.