kopensolaris-gnu/glibc.git
18 years ago.
roland [Thu, 15 Aug 2002 22:00:12 +0000 (22:00 +0000)]
.

18 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 21:58:11 +0000 (21:58 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive) Store strdup of
the name as passed, rather than the name in the archive dictionary.

18 years agoUpdate.
drepper [Thu, 15 Aug 2002 13:04:07 +0000 (13:04 +0000)]
Update.

18 years agoDefine elide-routines.os not static-only-routines.
drepper [Thu, 15 Aug 2002 13:00:31 +0000 (13:00 +0000)]
Define elide-routines.os not static-only-routines.

18 years agoUse TLS_INIT_HELPER is defined.
drepper [Thu, 15 Aug 2002 12:59:41 +0000 (12:59 +0000)]
Use TLS_INIT_HELPER is defined.

18 years agoset_thread_area was changed again after 2.5.31.
drepper [Thu, 15 Aug 2002 12:58:40 +0000 (12:58 +0000)]
set_thread_area was changed again after 2.5.31.

18 years ago(__clone): Add varargs at the end.
drepper [Thu, 15 Aug 2002 12:52:24 +0000 (12:52 +0000)]
(__clone): Add varargs at the end.

18 years ago(_dl_start): All TLS_INIT_TP to fail and stop in that case.
drepper [Thu, 15 Aug 2002 12:51:32 +0000 (12:51 +0000)]
(_dl_start): All TLS_INIT_TP to fail and stop in that case.
(TLS_INIT_HELPER): If defined use it.

18 years ago(TLS_INIT_TP): Convert to statement expression returning 0.
drepper [Thu, 15 Aug 2002 12:12:51 +0000 (12:12 +0000)]
(TLS_INIT_TP): Convert to statement expression returning 0.

18 years agoUpdate.
aj [Thu, 15 Aug 2002 09:02:50 +0000 (09:02 +0000)]
Update.

18 years agoAdd *xattr syscalls with version 2.3.
aj [Thu, 15 Aug 2002 09:01:49 +0000 (09:01 +0000)]
Add *xattr syscalls with version 2.3.

18 years ago.
roland [Thu, 15 Aug 2002 08:43:31 +0000 (08:43 +0000)]
.

18 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 08:43:20 +0000 (08:43 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* elf/dl-load.c (lose): Remove [!SHARED] conditional from null check
on L->l_prev; it can happen under rtld --verify too.

18 years ago.
roland [Thu, 15 Aug 2002 08:30:31 +0000 (08:30 +0000)]
.

18 years ago2002-08-15 Roland McGrath <roland@redhat.com>
roland [Thu, 15 Aug 2002 08:29:16 +0000 (08:29 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Don't read the
header separately, just map an initial window of 2MB from the file
and remap if that is not large enough to cover the whole header.

18 years agoUpdate.
aj [Thu, 15 Aug 2002 08:28:31 +0000 (08:28 +0000)]
Update.

18 years agoAdd *xattr syscalls.
aj [Thu, 15 Aug 2002 08:25:16 +0000 (08:25 +0000)]
Add *xattr syscalls.

18 years ago.
roland [Thu, 15 Aug 2002 07:49:22 +0000 (07:49 +0000)]
.

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

* locale/locarchive.h (struct locale_category_data): Give this name to
the type of locale_data_t's elements.
* locale/programs/locarchive.c (cmpcategorysize): New static function.
(add_locale): Use that to sort the categories by size and put all
those that fit into two pages into the LC_ALL block, instead of
hard-coding it to do everything but LC_CTYPE and LC_COLLATE.
(show_archive_content): Detect categories inside LC_ALL block
directly, instead of hard-coding.
(oldlocrecentcmp): Compare just on file locations used.

18 years ago.
roland [Thu, 15 Aug 2002 07:02:19 +0000 (07:02 +0000)]
.

18 years ago2002-08-14 Roland McGrath <roland@frob.com>
roland [Thu, 15 Aug 2002 07:01:39 +0000 (07:01 +0000)]
2002-08-14  Roland McGrath  <roland@frob.com>

* locale/locarchive.h (struct locale_category_data): Give this name to
the type of locale_data_t's elements.
* locale/programs/locarchive.c (cmpcategorysize): New static function.
(add_locale): Use that to sort the categories by size and put all
those that fit into two pages into the LC_ALL block, instead of
hard-coding it to do everything but LC_CTYPE and LC_COLLATE.
(show_archive_content): Detect categories inside LC_ALL block
directly, instead of hard-coding.

18 years ago2002-08-14 Roland McGrath <roland@frob.com>
roland [Thu, 15 Aug 2002 05:59:53 +0000 (05:59 +0000)]
2002-08-14  Roland McGrath  <roland@frob.com>

* configure.in: Use "MISSING" as not-found value for MIG.
* sysdeps/mach/configure.in: Fatal if mig not found.
* configure, sysdeps/mach/configure: Regenerated.

18 years ago2002-08-14 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 15 Aug 2002 05:59:48 +0000 (05:59 +0000)]
2002-08-14  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locarchive.c (struct oldlocrecent): New.
(oldlocrecentcmp): New.
(enlarge_archive): Re-add locales in the order they were added
to the archive.
(add_locale): Put all the small locale files together, if the small
locale file block would occupy less pages if page size aligned, align
it.
(show_archive_content): Adjust for locale archives optimized for speed.

18 years ago.
roland [Tue, 13 Aug 2002 17:17:02 +0000 (17:17 +0000)]
.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 17:16:45 +0000 (17:16 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

        * sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def.
        * wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 17:16:43 +0000 (17:16 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

        * locale/loadarchive.c (archfname): Add missing slash.

18 years ago.
roland [Tue, 13 Aug 2002 01:08:15 +0000 (01:08 +0000)]
.

18 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Tue, 13 Aug 2002 01:07:58 +0000 (01:07 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* include/grp.h (setgroups): Add libc_hidden_proto.
* sysdeps/generic/setgroups.c: Add libc_hidden_def.
* sysdeps/mach/hurd/setgroups.c: Likewise.
* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.

18 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Tue, 13 Aug 2002 01:07:55 +0000 (01:07 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* include/net/if.h: New file.  Use libc_hidden_proto
for if_nametoindex and if_indextoname.
* sysdeps/generic/if_index.c: Add libc_hidden_def.
* sysdeps/mach/hurd/if_index.c: Likewise.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.

18 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Tue, 13 Aug 2002 01:07:51 +0000 (01:07 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
* sysdeps/generic/waitpid.c: Likewise.

18 years ago.
roland [Tue, 13 Aug 2002 00:24:58 +0000 (00:24 +0000)]
.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:20 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/string.h (strcoll): Add libc_hidden_proto.
* string/strcoll.c (strcoll): Add libc_hidden_def.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:08 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
__lxstat_internal, __lxstat64_internal): Remove.
(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
Add hidden_proto.
* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
Remove INTDEF where present, remove #undef at the beginning.
* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
* sysdeps/generic/lxstat.c (__lxstat): Likewise.
* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
* sysdeps/generic/xstat.c (__xstat): Likewise.
* sysdeps/generic/xstat64.c (__xstat64): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/xstat.c (__xstat): Likewise.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:04 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:03 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* misc/err.c (vwarn): Fix pasto in libc_hidden_def.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:23:00 +0000 (00:23 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:22:57 +0000 (00:22 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto.
* sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def.
* sysdeps/generic/fstatvfs.c (fstatvfs): Likewise.
* sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise.
* sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise.
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise.

18 years ago2002-08-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 13 Aug 2002 00:22:46 +0000 (00:22 +0000)]
2002-08-13  Jakub Jelinek  <jakub@redhat.com>

* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.

18 years agoUpdate.
drepper [Mon, 12 Aug 2002 19:50:26 +0000 (19:50 +0000)]
Update.

18 years agoMakefile for arm.
drepper [Mon, 12 Aug 2002 19:36:38 +0000 (19:36 +0000)]
Makefile for arm.

18 years ago(tests): Add bug-regex9.
drepper [Mon, 12 Aug 2002 19:20:52 +0000 (19:20 +0000)]
(tests): Add bug-regex9.

18 years agoTest for empty subexpressions.
drepper [Mon, 12 Aug 2002 19:20:29 +0000 (19:20 +0000)]
Test for empty subexpressions.

18 years ago(parse_reg_exp): If '|' is immediately followed by another '|', end of
drepper [Mon, 12 Aug 2002 19:18:45 +0000 (19:18 +0000)]
(parse_reg_exp): If '|' is immediately followed by another '|', end of
regex or enclosing ')', clear branch.

18 years ago.
roland [Mon, 12 Aug 2002 08:48:51 +0000 (08:48 +0000)]
.

18 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 08:48:38 +0000 (08:48 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Fix inner loop
start count condition, use TOTAL instead of variable that was never
set.  Fix outer loop termination condition to TOTAL >= after update.

18 years ago2002-08-12 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 08:48:36 +0000 (08:48 +0000)]
2002-08-12  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize
dl_tls_static_align and dl_tls_static_nelem.

18 years ago.
roland [Mon, 12 Aug 2002 06:25:47 +0000 (06:25 +0000)]
.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 06:25:27 +0000 (06:25 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* elf/tst-tlsmod4.c (in_dso): Insert a random library call before use
of the TLS macros, otherwise the compiler might not have initialized
the PIC register yet when we use the PLT via asm.
* elf/tst-tlsmod3.c (in_dso2): Likewise.
* elf/tst-tlsmod2.c (in_dso): Likewise.

18 years ago.
roland [Mon, 12 Aug 2002 06:04:31 +0000 (06:04 +0000)]
.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 06:04:16 +0000 (06:04 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* manager.c (pthread_handle_create): Move p_header field initializers
together.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 06:04:09 +0000 (06:04 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* pthread.c (__pthread_initialize_manager): Initialize
p_header.data.tcb field of manager thread's descriptor.
(__pthread_initialize_minimal): Don't initialize p_header.data.self
field, already done by TLS_INIT_TP.

18 years ago.
roland [Mon, 12 Aug 2002 02:02:20 +0000 (02:02 +0000)]
.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:58 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/rpc/auth_des.h: Use libc_hidden_proto for rtime.
* sunrpc/rtime.c: Add libc_hidden_def.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:50 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/netdb.h: Use libc_hidden_proto for gai_strerror.
* sysdeps/posix/gai_strerror.c: Add libc_hidden_def.
* sysdeps/generic/gai_strerror.c: Likewise.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:43 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/opensock.c (__opensock): socket -> __socket.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:37 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/unistd.h: Use libc_hidden_proto for getdomainname
and getlogin_r.
* sysdeps/generic/getdomain.c: Add libc_hidden_def.
* sysdeps/mach/hurd/getdomain.c: Likewise.
* sysdeps/unix/getlogin_r.c: Likewise.
* sysdeps/mach/hurd/getlogin_r.c: Likewise.
* sysdeps/generic/getlogin_r.c: Likewise.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:30 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!).

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:24 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/bits/byteswap.h (__bswap_16, __bswap_32, __bswap_64):
Evaluate argument exactly once.  Remove __volatile__ from asm's.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:18 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* include/string.h: Use libc_hidden_proto for basename.
* string/basename.c [_LIBC]: Add libc_hidden_def.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Mon, 12 Aug 2002 02:01:10 +0000 (02:01 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c: munmap -> __munmap throughout.

18 years ago.
roland [Sun, 11 Aug 2002 22:06:06 +0000 (22:06 +0000)]
.

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

* include/sys/errno.h: New file.

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

* include/signal.h: No libc_hidden_proto for raise,
__libc_current_sigrtmin, __libc_current_sigrtmax.
These need to be overridden by linuxthreads.
* sysdeps/posix/raise.c: Reverted.
* sysdeps/generic/raise.c: Reverted.
* signal/allocrtsig.c: Reverted.

18 years ago.
roland [Sun, 11 Aug 2002 20:04:32 +0000 (20:04 +0000)]
.

18 years ago2002-08-11 Roland McGrath <roland@redhat.com>
roland [Sun, 11 Aug 2002 20:04:15 +0000 (20:04 +0000)]
2002-08-11  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (LOCALEDIR): Remove debugging defn.  Oops.

18 years ago2002-08-10 Roland McGrath <roland@redhat.com>
roland [Sun, 11 Aug 2002 04:43:55 +0000 (04:43 +0000)]
2002-08-10  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_archive_subfreeres): New function.
* locale/localeinfo.h: Declare it.

18 years ago.
roland [Sat, 10 Aug 2002 23:55:20 +0000 (23:55 +0000)]
.

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

* locale/loadarchive.c (_nl_archive_subfreeres): New function.
* locale/localeinfo.h: Declare it.
* locale/setlocale.c (free_mem): Don't call _nl_unload_locale on the
current locale if it's not in the file list.
Call _nl_archive_subfreeres.

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 23:54:24 +0000 (23:54 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit,
towlower, towupper): Add prototypes here too.  Add libc_hidden_proto.
* wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit,
towlower, towupper): Add libc_hidden_weak.

18 years agoUpdate.
drepper [Sat, 10 Aug 2002 20:05:23 +0000 (20:05 +0000)]
Update.

18 years ago(iswalpha, iswdigit, iswlower, iswspace, iswxdigit, iswtolower,
drepper [Sat, 10 Aug 2002 19:59:27 +0000 (19:59 +0000)]
(iswalpha, iswdigit, iswlower, iswspace, iswxdigit, iswtolower,
iswtoupper): Add libc_hidden_def.

18 years agoUpdate.
aj [Sat, 10 Aug 2002 18:12:45 +0000 (18:12 +0000)]
Update.

18 years agoAdd comment.
aj [Sat, 10 Aug 2002 18:12:27 +0000 (18:12 +0000)]
Add comment.

18 years ago.
roland [Sat, 10 Aug 2002 09:24:53 +0000 (09:24 +0000)]
.

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

* include/wchar.h (putwc): Use libc_hidden_proto.
* include/stdio.h (dprintf, fprintf, vfprintf, sprintf,
sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise.
* stdio-common/dprintf.c: Add libc_hidden_def.
* stdio-common/fprintf.c: Likewise.
* stdio-common/sprintf.c: Likewise.
* stdio-common/sscanf.c: Likewise.
* libio/iofwrite.c: Likewise.
* libio/memstream.c: Likewise.
* libio/putwc.c: Likewise.
* stdio-common/perror.c: Likewise.
* sysdeps/posix/remove.c: Likewise.
* sysdeps/generic/remove.c: Likewise.
* libio/rewind.c: Likewise.  Use <stdio.h> instead of "stdio.h".
* stdio-common/vfprintf.c: Add libc_hidden_def.  Include <stdio.h>.

18 years ago.
roland [Sat, 10 Aug 2002 07:54:55 +0000 (07:54 +0000)]
.

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 07:54:45 +0000 (07:54 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* include/bits/dlfcn.h: New file.
* elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def.

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 07:54:26 +0000 (07:54 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* libio/oldiopopen.c: Move #if SHLIB_COMPAT after _IO_HAVE_SYS_WAIT
#endif.

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 07:54:24 +0000 (07:54 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* include/bits/dlfcn.h: New file.
* elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def.

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 07:54:21 +0000 (07:54 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* include/grp.h (_nss_files_parse_grent): Add libc_hidden_proto.
* include/netinet/ether.h (_nss_files_parse_etherent): Likewise.
* include/rpc/netdb.h (_nss_files_parse_rpcent): Likewise.
* include/pwd.h (_nss_files_parse_pwent): Likewise.
* include/shadow.h (_nss_files_parse_spent): Likewise.
* include/netdb.h (_nss_files_parse_protoent,
_nss_files_parse_servent, _nss_files_parse_netent): Likewise.
* nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define.
(LINE_PARSER): Use it.
* nss/nsswitch.h (__nss_hostname_digits_dots): Add libc_hidden_proto.
* nss/digits_dots.c (__nss_hostname_digits_dots): Add libc_hidden_def.

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 07:54:19 +0000 (07:54 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* manual/debug.texi (%MENU%): Remove trailing dot.
Reported by <hayastan132@hotmail.com>.

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 07:54:17 +0000 (07:54 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit,
towlower, towupper): Add prototypes here too.  Add libc_hidden_proto.
* wctype/wcfuncs ((iswalpha, iswdigit, iswlower, iswspace, iswxdigit,
towlower, towupper): Add libc_hidden_weak.

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

18 years ago2002-08-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 10 Aug 2002 06:47:05 +0000 (06:47 +0000)]
2002-08-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek): Add lseek
aliases.
(lseek): Dummy.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, lseek):
Likewise.

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

* locale/locarchive.h (struct locrecent): Add `refs' member.
* 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.

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.