kopensolaris-gnu/glibc.git
18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:22:38 +0000 (06:22 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* Makefile ($(INSTALL-SUPPORTED-LOCALES)): Pass --alias-file option to
localedef.

18 years ago.
roland [Sat, 10 Aug 2002 06:22:37 +0000 (06:22 +0000)]
.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:41 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Parse locale
name to find codeset name (if any) and normalize it.  If the
normalized name differs, look up only that in the archive.
* locale/programs/locarchive.c (add_locale_to_archive): If the name
contains a codeset, normalize the codeset store only the normalized
name in the archive.  If not, add an alias containing the locale's
normalized codeset name.  Apply codeset name normalization when
matching entries in the alias file.
* locale/Makefile (routines): Add loadarchive.
* locale/loadarchive.c: New file, started from code by Ulrich Drepper.
(_nl_load_locale_from_archive): New function.
* locale/localeinfo.h: Declare it.
* locale/findlocale.c (_nl_find_locale): If using default locale path,
try _nl_load_locale_from_archive first.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:39 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/programs/localedef.c (options): Add -A/--alias-file.
(alias_file): New variable.
(parse_opt): Grok -A, set that.
* locale/programs/localedef.h: Declare it.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:37 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/loadlocale.c (_nl_intern_locale_data): New function,
broken out of _nl_load_locale.
(_nl_load_locale): Call that.
* locale/localeinfo.h: Declare it.
(struct locale_data): Replace member `mmaped' with `alloc', an enum.
(struct locale_data): Remove unused member `options'.
* locale/findlocale.c (_nl_remove_locale): Update uses.
* locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise.
* locale/C-collate.c: Update initializer.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-address.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-messages.c : Likewise.
* locale/C-ctype.c: Likewise.
* locale/localeinfo.h (_nl_find_locale, _nl_load_locale,
_nl_unload_locale): Add `internal_function attribute_hidden' to decls.
* locale/findlocale.c (_nl_find_locale): Add internal_function to defn.
(_nl_remove_locale): Likewise.
* locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise.
2002-08-08  Roland McGrath  <roland@redhat.com>

* locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT.
* catgets/open_catalog.c (__open_catalog): Likewise.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:35 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/hashval.h [! LONGBITS]: Include <limits.h> here and
use CHAR_BIT instead of BITSPERBYTE.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:34 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Parse locale
name to find codeset name (if any) and normalize it.  If the
normalized name differs, look up only that in the archive.
* locale/programs/locarchive.c (add_locale_to_archive): If the name
contains a codeset, normalize the codeset store only the normalized
name in the archive.  If not, add an alias containing the locale's
normalized codeset name.  Apply codeset name normalization when
matching entries in the alias file.
* locale/programs/locarchive.c (delete_locales_from_archive): Don't
decrement HEAD->namehash_used here.
(add_locale): Only need to insert name string when name_offset != 0.
* locale/programs/locarchive.c (insert_name): New function, broken out
of ...
(add_locale_to_archive): ... here.  Call that.
(add_alias): New function.
(add_locale): New static function, add_locale_to_archive renamed.
(add_locale_to_archive): Call that and use add_alias to add an alias
for the name with codeset if the given name lacks it.
(enlarge_archive): Call add_locale instead of add_locale_to_archive.
2002-08-08  Roland McGrath  <roland@redhat.com>

* locale/programs/locarchive.c (INITIAL_NUM_NAMES): Renamed
from typo INITIAL_NUM_NANES.
(create_archive): Update use.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:32 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/findlocale.c (_nl_default_locale_path): New variable.
(_nl_find_locale): If LOCALE_PATH is null, default to that.
* locale/localeinfo.h: Declare it.
* locale/setlocale.c (setlocale): Use _nl_default_locale_path
in place of LOCALEDIR.  If no LOCPATH, pass null to _nl_find_locale.
* locale/newlocale.c (__newlocale): Likewise.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:30 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/Makefile (routines): Add loadarchive.
* locale/loadarchive.c: New file, started from code by Ulrich Drepper.
(_nl_load_locale_from_archive): New function.
* locale/localeinfo.h: Declare it.
* locale/findlocale.c (_nl_find_locale): If using default locale path,
try _nl_load_locale_from_archive first.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:29 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/loadlocale.c (_nl_intern_locale_data): New function,
broken out of _nl_load_locale.
(_nl_load_locale): Call that.
* locale/localeinfo.h: Declare it.
(struct locale_data): Replace member `mmaped' with `alloc', an enum.
(struct locale_data): Remove unused member `options'.
* locale/findlocale.c (_nl_remove_locale): Update uses.
* locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise.
* locale/C-collate.c: Update initializer.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-address.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-messages.c : Likewise.
* locale/C-ctype.c: Likewise.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:27 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* locale/Makefile (routines): Add loadarchive.
* locale/loadarchive.c: New file, started from code by Ulrich Drepper.
(_nl_load_locale_from_archive): New function.
* locale/localeinfo.h: Declare it.
* locale/findlocale.c (_nl_find_locale): If using default locale path,
try _nl_load_locale_from_archive first.
* locale/loadlocale.c (_nl_intern_locale_data): New function,
broken out of _nl_load_locale.
(_nl_load_locale): Call that.
* locale/localeinfo.h: Declare it.
(struct locale_data): Replace member `mmaped' with `alloc', an enum.
(struct locale_data): Remove unused member `options'.
* locale/findlocale.c (_nl_remove_locale): Update uses.
* locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise.
* locale/C-collate.c: Update initializer.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-address.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-messages.c : Likewise.
* locale/C-ctype.c: Likewise.
* locale/localeinfo.h (_nl_find_locale, _nl_load_locale,
_nl_unload_locale): Add `internal_function attribute_hidden' to decls.
* locale/findlocale.c (_nl_find_locale): Add internal_function to defn.
(_nl_remove_locale): Likewise.
* locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise.
* locale/findlocale.c (_nl_default_locale_path): New variable.
(_nl_find_locale): If LOCALE_PATH is null, default to that.
* locale/localeinfo.h: Declare it.
* locale/setlocale.c (setlocale): Use _nl_default_locale_path
in place of LOCALEDIR.  If no LOCPATH, pass null to _nl_find_locale.
* locale/newlocale.c (__newlocale): Likewise.

18 years ago2002-08-09 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:24 +0000 (06:21 +0000)]
2002-08-09  Roland McGrath  <roland@redhat.com>

* misc/err.c (vwarnx, vwarn): Fix typos in libc_hidden_def uses.
* inet/rexec.c (rexec_af): Add libc_hidden_def.
* sysdeps/generic/morecore.c: Likewise.
* signal/allocrtsig.c (__libc_current_sigrtmin): Likewise.
(__libc_current_sigrtmax): Likewise.

18 years ago2002-08-08 Roland McGrath <roland@redhat.com>
roland [Sat, 10 Aug 2002 06:21:22 +0000 (06:21 +0000)]
2002-08-08  Roland McGrath  <roland@redhat.com>

* locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT.
* catgets/open_catalog.c (__open_catalog): Likewise.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 22:19:31 +0000 (22:19 +0000)]
Update.

18 years agosigwait implementation for Linux based in sigtimedwait syscall.
drepper [Thu, 8 Aug 2002 22:13:45 +0000 (22:13 +0000)]
sigwait implementation for Linux based in sigtimedwait syscall.

18 years ago.
roland [Thu, 8 Aug 2002 21:17:22 +0000 (21:17 +0000)]
.

18 years ago2002-08-08 Roland McGrath <roland@frob.com>
roland [Thu, 8 Aug 2002 21:17:03 +0000 (21:17 +0000)]
2002-08-08  Roland McGrath  <roland@frob.com>

* resolv/netdb.h: Don't declare h_errno as a plain global any more.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 11:46:51 +0000 (11:46 +0000)]
Update.

18 years agoDefine to something else and undefine after including wcstol_l.c.
drepper [Thu, 8 Aug 2002 11:44:51 +0000 (11:44 +0000)]
Define to something else and undefine after including wcstol_l.c.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 09:04:02 +0000 (09:04 +0000)]
Update.

18 years ago(TLS_DO_SET_THREAD_AREA): Removed.
drepper [Thu, 8 Aug 2002 09:02:49 +0000 (09:02 +0000)]
(TLS_DO_SET_THREAD_AREA): Removed.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 08:45:14 +0000 (08:45 +0000)]
Update.

18 years ago(write_gmon): Use O_NOFOLLOW in open calls if available.
drepper [Thu, 8 Aug 2002 08:42:49 +0000 (08:42 +0000)]
(write_gmon): Use O_NOFOLLOW in open calls if available.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 08:14:53 +0000 (08:14 +0000)]
Update.

18 years agoRegenerated.
drepper [Thu, 8 Aug 2002 08:14:14 +0000 (08:14 +0000)]
Regenerated.

18 years agoMake the test for broken_alias_attribute stricter.
drepper [Thu, 8 Aug 2002 08:12:27 +0000 (08:12 +0000)]
Make the test for broken_alias_attribute stricter.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 07:53:36 +0000 (07:53 +0000)]
Update.

18 years ago(routines): Add sched_getaffinity and sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:46:18 +0000 (07:46 +0000)]
(routines): Add sched_getaffinity and sched_setaffinity.

18 years agoAdd declarations for sched_getaffinity and sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:45:30 +0000 (07:45 +0000)]
Add declarations for sched_getaffinity and sched_setaffinity.

18 years agoStub implementation of sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:44:20 +0000 (07:44 +0000)]
Stub implementation of sched_setaffinity.

18 years agoStub implementation for sched_getaffinity.
drepper [Thu, 8 Aug 2002 07:43:50 +0000 (07:43 +0000)]
Stub implementation for sched_getaffinity.

18 years agoAdd sched_getaffinity and sched_setaffinity.
drepper [Thu, 8 Aug 2002 07:42:36 +0000 (07:42 +0000)]
Add sched_getaffinity and sched_setaffinity.

18 years agoIf TIMES is NULL pass it through to utimes.
drepper [Thu, 8 Aug 2002 06:42:30 +0000 (06:42 +0000)]
If TIMES is NULL pass it through to utimes.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 06:38:19 +0000 (06:38 +0000)]
Update.

18 years ago(_dl_map_object_from_fd): Add missing \n in error message.
drepper [Thu, 8 Aug 2002 06:33:28 +0000 (06:33 +0000)]
(_dl_map_object_from_fd): Add missing \n in error message.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 05:40:50 +0000 (05:40 +0000)]
Update.

18 years agoDefine LINUXTHREADS_INITIAL_REPORT_EVENTS.
drepper [Thu, 8 Aug 2002 05:40:03 +0000 (05:40 +0000)]
Define LINUXTHREADS_INITIAL_REPORT_EVENTS.

18 years ago(td_thr_event_enable): If th->th_unique is null write to
drepper [Thu, 8 Aug 2002 05:37:38 +0000 (05:37 +0000)]
(td_thr_event_enable): If th->th_unique is null write to
__linuxthreads_initial_report_events.

18 years ago(symbol_list_arr): Add __linuxthreads_initial_report_events.
drepper [Thu, 8 Aug 2002 05:35:46 +0000 (05:35 +0000)]
(symbol_list_arr): Add __linuxthreads_initial_report_events.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 05:34:04 +0000 (05:34 +0000)]
Update.

18 years ago(__linuxthreads_initial_report_events): New variable.
drepper [Thu, 8 Aug 2002 05:20:04 +0000 (05:20 +0000)]
(__linuxthreads_initial_report_events): New variable.
(__pthread_initialize_manager): Use it to initialize p_report_events
of initial thread.
[TLS]: Store pointer to descriptor of manager in __pthread_handles.

18 years ago.
roland [Thu, 8 Aug 2002 04:58:42 +0000 (04:58 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 04:58:30 +0000 (04:58 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Add an extra argument with
an "m" constraint to the asm so the compiler knows LDT_ENTRY was used.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 04:48:50 +0000 (04:48 +0000)]
Update.

18 years ago(get_null_defines): Treat NOT_IN_libc special. It is known to be defined.
drepper [Thu, 8 Aug 2002 04:44:47 +0000 (04:44 +0000)]
(get_null_defines): Treat NOT_IN_libc special.  It is known to be defined.

18 years agoDefine index and rindex only if _ISOMAC is not defined.
drepper [Thu, 8 Aug 2002 04:43:55 +0000 (04:43 +0000)]
Define index and rindex only if _ISOMAC is not defined.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 04:16:54 +0000 (04:16 +0000)]
Update.

18 years agoInclude <errno.h>.
drepper [Thu, 8 Aug 2002 04:13:38 +0000 (04:13 +0000)]
Include <errno.h>.

18 years agoUpdate.
drepper [Thu, 8 Aug 2002 03:35:15 +0000 (03:35 +0000)]
Update.

18 years agoInclude <errno.h>.
drepper [Thu, 8 Aug 2002 03:31:34 +0000 (03:31 +0000)]
Include <errno.h>.

18 years ago.
roland [Thu, 8 Aug 2002 02:01:41 +0000 (02:01 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 02:01:31 +0000 (02:01 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* resolv/res_debug.c (latlon2ul): Add const to argument type, and use
it internally.
(precsize_aton): Likewise.

18 years ago.
roland [Thu, 8 Aug 2002 01:33:05 +0000 (01:33 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 01:32:52 +0000 (01:32 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c (__newlocale): Use a bit mask instead of a second
loop to notice missing categories in a composite name.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 01:32:50 +0000 (01:32 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* locale/locale.h (LC_CTYPE_MASK, LC_NUMERIC_MASK, LC_TIME_MASK,
LC_COLLATE_MASK, LC_MONETARY_MASK, LC_MESSAGES_MASK, LC_ALL_MASK,
LC_PAPER_MASK, LC_NAME_MASK, LC_ADDRESS_MASK, LC_TELEPHONE_MASK,
LC_MEASUREMENT_MASK, LC_IDENTIFICATION_MASK, LC_ALL_MASK): New macros.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Thu, 8 Aug 2002 01:32:48 +0000 (01:32 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually call
the static symbols added in the last change (doofus is me).

18 years agoUpdate.
drepper [Wed, 7 Aug 2002 23:08:10 +0000 (23:08 +0000)]
Update.

18 years agoAdd tests for one or both parameters being zero.
drepper [Wed, 7 Aug 2002 23:06:11 +0000 (23:06 +0000)]
Add tests for one or both parameters being zero.

18 years ago.
roland [Wed, 7 Aug 2002 22:14:40 +0000 (22:14 +0000)]
.

18 years ago2002-08-07 Roland McGrath <roland@redhat.com>
roland [Wed, 7 Aug 2002 22:14:15 +0000 (22:14 +0000)]
2002-08-07  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_rel): Add to, don't clobber,
unrelocated initial value for DTPOFF32 and TPOFF32 relocs.
Reported by Jakub Jelinek  <jakub@redhat.com>.

18 years ago.
roland [Wed, 7 Aug 2002 19:32:54 +0000 (19:32 +0000)]
.

18 years ago2002-08-07 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 7 Aug 2002 19:32:41 +0000 (19:32 +0000)]
2002-08-07  Jakub Jelinek  <jakub@redhat.com>

        * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before
division.

18 years ago.
roland [Tue, 6 Aug 2002 21:10:50 +0000 (21:10 +0000)]
.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 21:10:37 +0000 (21:10 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr):
Define as a macro for __dl_iterate_phdr.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 21:10:35 +0000 (21:10 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* include/getopt.h: But private decls inside [_GETOPT_H].
Use libc_hidden_proto for getopt_long, getopt_long_only.
* posix/getopt1.c [_LIBC]: Include <getopt.h> instead of "getopt.h".
Add libc_hidden_def.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 21:10:33 +0000 (21:10 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name,
made static.  Add __ name as a strong alias.
(internal_endnetgrent): Likewise.
(internal_getnetgrent_r): Likewise.

18 years ago.
roland [Tue, 6 Aug 2002 08:40:20 +0000 (08:40 +0000)]
.

18 years ago2002-08-06 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 08:39:56 +0000 (08:39 +0000)]
2002-08-06  Roland McGrath  <roland@redhat.com>

* locale/Versions (libc: GLIBC_2.3): Add all the *_l functions
with no __ prefix.
* locale/langinfo.h [__USE_GNU]: Declare nl_langinfo_l.
* ctype/ctype.h [__USE_GNU]: Add declarations and macros for
all *_l functions with no __ prefix.
* wctype/wcfuncs_l.c: Define weak aliases without __ for all fns.
* ctype/ctype_l.c: Likewise.
* locale/nl_langinfo.c: Likewise.
* string/string.h [__USE_GNU]: Add decls for all *_l fns with no __.
* stdlib/stdlib.h [__USE_GNU]: Likewise.
* wcsmbs/wchar.h [__USE_GNU]: Likewise.
* wctype/wctype.h [__USE_GNU]: Likewise.
* string/strcoll_l.c (strcoll_l): Define as weak alias.
* string/strxfrm_l.c (strxfrm_l): Define as weak alias.
* sysdeps/generic/strcasecmp_l.c (strcasecmp_l): Define as weak alias.
* sysdeps/generic/strncase_l.c (strncasecmp_l): Define as weak alias.
* stdlib/strtod_l.c (strtod_l): Define as weak alias.
* stdlib/strtof_l.c (strtof_l): Define as weak alias.
* stdlib/strtold_l.c (strtold_l): Define as weak alias.
* wcsmbs/wcscasecmp_l.c (wcscasecmp_l): Define as weak alias.
(__wcscasecmp_l): Add libc_hidden_def.
* wcsmbs/wcsncase_l.c (wcsncasecmp_l): Define as weak alias.
(__wcsncasecmp_l): Add libc_hidden_def.
* wcsmbs/wcstof_l.c (wcstof_l): Define as weak alias.
* wcsmbs/wcstod_l.c (wcstod_l): Define as weak alias.
* wcsmbs/wcstold_l.c (wcstold_l): Define as weak alias.
* wcsmbs/wcscoll_l.c (wcscoll_l): Define as weak alias.
* wcsmbs/wcsxfrm_l.c (wcsxfrm_l): Define as weak alias.
* sysdeps/generic/wcstol_l.c (wcstol_l): Define as weak alias.
* sysdeps/generic/wcstoll_l.c (wcstoll_l): Define as weak alias.
* sysdeps/generic/wcstoul_l.c (wcstoul_l): Define as weak alias.
* sysdeps/generic/wcstoull_l.c (wcstoull_l): Define as weak alias.
* sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define as weak alias.
* sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Define as weak alias.
* wctype/wctrans_l.c (wctrans_l) Define as weak alias.
* wctype/towctrans_l.c (towctrans_l) Define as weak alias.
* wctype/wctype_l.c (wctype_l) Define as weak alias.

18 years ago.
roland [Tue, 6 Aug 2002 06:09:28 +0000 (06:09 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:09:09 +0000 (06:09 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset.
* wcsmbs/wmemchr.c: Add libc_hidden_def.
* wcsmbs/wmemset.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:09:00 +0000 (06:09 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset.
* wcsmbs/wmemchr.c: Add libc_hidden_def.
* wcsmbs/wmemset.c: Add libc_hidden_def.
* include/wchar.h: Use libc_hidden_proto for mbrtowc.
* wcsmbs/mbrtowc.c: Add libc_hidden_weak.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:48 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname, key_gendes.
* sunrpc/netname.c: Add libc_hidden_def.
* sunrpc/key_call.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:38 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo,
freeaddrinfo.
* inet/getnameinfo.c: Add libc_hidden_def.
* sysdeps/generic/getaddrinfo.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:25 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply.
* sunrpc/rpc_prot.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:16 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* string/envz.c (envz_strip): index -> strchr

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:08:07 +0000 (06:08 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H.
(index, rindex): Define as macros for strchr, strrchr.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 06:07:59 +0000 (06:07 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/wchar.h: Use libc_hidden_proto for mbrtowc.
* wcsmbs/mbrtowc.c: Add libc_hidden_weak.

18 years ago.
roland [Tue, 6 Aug 2002 05:10:45 +0000 (05:10 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:35 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/stdlib.h: Use libc_hidden_proto for wctomb.
* stdlib/wctomb.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:33 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af,
rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror.
* resolv/herror.c: Likewise.
* inet/rcmd.c: Add libc_hidden_def.
* inet/ruserpass.c: Likewise.
* inet/getnetgrent_r.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:30 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/svc.h: Use libc_hidden_proto for svc_register,
svc_unregister, remove *_internal decls.  Use libc_hidden_proto
for svcerr_auth, svcerr_noprog, svcerr_progvers.
* sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to
libc_hidden_def.
(svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def.
* sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 05:10:27 +0000 (05:10 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname.
* sunrpc/netname.c: Add libc_hidden_def.

18 years ago.
roland [Tue, 6 Aug 2002 04:30:03 +0000 (04:30 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:45 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/system.c (do_system): New function, guts broken out of
__libc_system.
(__libc_system): Call it, putting just the line == NULL test here.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:44 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* elf/dl-open.c (dl_open_worker): Use _ macro instead of gettext.
* elf/dl-close.c (_dl_close): Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:41 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname.
* sunrpc/netname.c: Add libc_hidden_def.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:40 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/libc-symbols.h (__hidden_proto): Add extern keywords so
variables work right.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:38 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netinet/ether.h: Use libc_hidden_proto for ether_ntoa_r,
ether_aton_r.
* inet/ether_aton_r.c: Add libc_hidden_def.
* inet/ether_ntoa_r.c: Likewise.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:36 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netinet/in.h: Use libc_hidden_proto for bindresvport,
in6addr_any, in6addr_loopback.  Remove decls for
bindresvport_internal, in6addr_any_internal, in6addr_loopback_internal.
* sunrpc/svc_udp.c (svcudp_bufcreate): Nix INTUSE for bindresvport.
* sunrpc/svc_tcp.c (svctcp_create): Likewise.
* sunrpc/clnt_udp.c (clntudp_bufcreate): Likewise.
* sunrpc/bindrsvprt.c: Change INTDEF to libc_hidden_def.
* inet/in6_addr.c: Change INTVARDEF to libc_hidden_def.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Nix INTUSE for
in6addr_loopback.
* inet/gethstbyad_r.c (PREPROCESS): Nix INTUSE for in6addr_any.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 04:29:32 +0000 (04:29 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af,
rexec_af, rresvport_af, ruserok_af.
* inet/rcmd.c: Add libc_hidden_def.
* inet/getnetgrent_r.c: Likewise.

18 years ago.
roland [Tue, 6 Aug 2002 01:23:32 +0000 (01:23 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Tue, 6 Aug 2002 01:23:20 +0000 (01:23 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/rpc/svc.h: Use libc_hidden_proto for xprt_register,
xprt_unregister.
* sunrpc/svc.c: Add libc_hidden_def.
* include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport,
pmap_set, pmap_unset.
* sunrpc/pmap_clnt.c: Add libc_hidden_def.
* sunrpc/pm_getport.c: Likewise.
* include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey.
* sunrpc/publickey.c: Add libc_hidden_def.

18 years agoUpdate.
drepper [Tue, 6 Aug 2002 01:00:59 +0000 (01:00 +0000)]
Update.

18 years ago(_dl_start): Don't use memset. Use same tricks as for the other
drepper [Tue, 6 Aug 2002 00:55:24 +0000 (00:55 +0000)]
(_dl_start): Don't use memset.  Use same tricks as for the other
memset call in this function.

18 years ago(_dl_allocate_tls_init): Store dtv pointer at correct index. Clear
drepper [Tue, 6 Aug 2002 00:51:51 +0000 (00:51 +0000)]
(_dl_allocate_tls_init): Store dtv pointer at correct index.  Clear
BSS region now that memalign is used.

18 years ago.
roland [Mon, 5 Aug 2002 22:47:19 +0000 (22:47 +0000)]
.

18 years ago2002-08-05 Roland McGrath <roland@redhat.com>
roland [Mon, 5 Aug 2002 22:47:08 +0000 (22:47 +0000)]
2002-08-05  Roland McGrath  <roland@redhat.com>

* include/sys/utsname.h: Use libc_hidden_proto for uname, __uname.
* sysdeps/generic/uname.c: Add libc_hidden_def.
* sysdeps/mach/hurd/uname.c: Likewise.

18 years ago.
roland [Mon, 5 Aug 2002 22:11:14 +0000 (22:11 +0000)]
.

18 years ago2002-08-05 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 5 Aug 2002 22:11:03 +0000 (22:11 +0000)]
2002-08-05  Jakub Jelinek  <jakub@redhat.com>

        * include/rpc/des_crypt.h (des_setparity, ecb_crypt, cbc_crypt): Add
        libc_hidden_proto.
        * sunrpc/des_crypt.c (ecb_crypt, cbc_crypt): Add libc_hidden_proto.
        * sunrpc/des_soft.c (des_setparity): Likewise.

18 years ago2002-08-05 Jakub Jelinek <jakub@redhat.com>
roland [Mon, 5 Aug 2002 22:11:02 +0000 (22:11 +0000)]
2002-08-05  Jakub Jelinek  <jakub@redhat.com>

        * include/rpc/clnt.h (clnt_sperrno, clnt_spcreateerror,
        clnt_perror, clnt_sperror, _rpc_dtablesize): Add libc_hidden_proto.
        * sunrpc/clnt_perr.c (clnt_sperrno, clnt_spcreateerror,
        clnt_perror, clnt_sperror): Add libc_hidden_def.
        * sunrpc/rpc_dtable.c (_rpc_dtablesize): Likewise.