kopensolaris-gnu/glibc.git
18 years ago.
roland [Tue, 20 Aug 2002 23:10:33 +0000 (23:10 +0000)]
.

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

* charmaps/BIG5-HKSCS (WIDTH): Change <UE000> to <UE003> at start of
range.

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

* locale/programs/locarchive.c (enlarge_archive): If quiet, don't
print any messages about enlarging archive.

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

* locale/programs/localedef.c (add_to_readlist): Error about
circular dependencies only if the locale in question hasn't
been finished.
* locale/programs/linereader.c (get_string): Pass LC_CTYPE not
CTYPE_LOCALE to load_locale.
* locale/programs/locfile.c (locfile_read): Don't include
unneeded but available locales in locale_mask.

18 years ago.
roland [Tue, 20 Aug 2002 21:51:55 +0000 (21:51 +0000)]
.

18 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:50:05 +0000 (21:50 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a
        new one modelled on the modern BSD license, per recent letter
        of permission from CMU.
        * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.

18 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:50:03 +0000 (21:50 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and
        copying permission notice (Lesser GPL), per recent IBM Software Letter.
        * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/root.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

18 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:34 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder
        from IBM to FSF, per the recent Software Letter.  Changed the
        distribution terms from GPL to LGPL.

18 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:33 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying
permission notice to say Lesser GPL instead of GPL in warranty
disclaimer paragraph.
        * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowpow.c:  Likewise.

18 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:29 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder
from IBM to FSF, per the recent Software Letter.  Corrected the
text of the copying permission notice to say Lesser GPL instead
of GPL in warranty disclaimer paragraph.
        * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
        * sysdeps/ieee754/dbl-64/branred.h: Likewise.
        * sysdeps/ieee754/dbl-64/dla.h: Likewise.
        * sysdeps/ieee754/dbl-64/doasin.h: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
        * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
        * sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
        * sysdeps/ieee754/dbl-64/upow.h: Likewise.
        * sysdeps/ieee754/dbl-64/urem.h: Likewise.
        * sysdeps/ieee754/dbl-64/uroot.h: Likewise.
        * sysdeps/ieee754/dbl-64/usncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/utan.h: Likewise.

18 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
roland [Tue, 20 Aug 2002 21:49:26 +0000 (21:49 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * manual/contrib.texi: Removed licenses, added acknowledgements
        for contributions by Intel, IBM, Craig Metz.
        * LICENSES: New file, contains the text of all non-FSF licenses in the
distribution that require putting the notice in the accompanying
documentation.
* README.template, README: Mention LICENSES.

18 years ago.
roland [Tue, 20 Aug 2002 21:27:26 +0000 (21:27 +0000)]
.

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

Fix ABI compatibility with libc compiled with old tools on powerpc.
Changes contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
and Jack Howarth <howarth@bromo.med.uc.edu>.
* sysdeps/powerpc/Makefile [$(have-protected) = yes]
(CPPFLAGS-divdi3.c, CPPFLAGS-libgcc-compat.S): New variables,
pass -DHAVE_DOT_HIDDEN for these files.
* sysdeps/powerpc/Versions (libc: GLIBC_2.0): Added __floatdidf,
__floatdisf.
* sysdeps/powerpc/divdi3.c: New file.
* sysdeps/powerpc/libgcc-compat.S: New file, replacement for ...
* sysdeps/powerpc/libgcc-compat.c: ... this, file removed.

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

18 years ago2002-08-20 Roland McGrath <roland@redhat.com>
roland [Tue, 20 Aug 2002 19:40:00 +0000 (19:40 +0000)]
2002-08-20  Roland McGrath  <roland@redhat.com>

* elf/Makefile ($(objpfx)ld.so): Separate commands in rule so errors
can be detected by make.  Reported by H.J. Lu <hjl@gnu.org>.

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

* locale/loadarchive.c (_nl_load_locale_from_archive): Handle
partially overlapping mappings.  Remove unneeded (char *) casts.
Never allow duplication of ranges in mapped areas.

18 years agoUpdate.
drepper [Tue, 20 Aug 2002 11:10:37 +0000 (11:10 +0000)]
Update.

18 years agoUse 32-bit operations when handling segment registers.
drepper [Tue, 20 Aug 2002 11:09:19 +0000 (11:09 +0000)]
Use 32-bit operations when handling segment registers.
No need to mask upper 16 bits in this case.
(DO_SET_THREAD_AREA): We have to load %gs again even if the value
is the same since the GDT content changed.

18 years agoUse 32-bit operations when handling segment registers.
drepper [Tue, 20 Aug 2002 11:07:33 +0000 (11:07 +0000)]
Use 32-bit operations when handling segment registers.
No need to mask upper 16 bits in this case.

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

18 years agoDon't hide _exit.
drepper [Tue, 20 Aug 2002 10:15:39 +0000 (10:15 +0000)]
Don't hide _exit.

18 years agoUpdate.
drepper [Tue, 20 Aug 2002 10:14:15 +0000 (10:14 +0000)]
Update.

18 years ago(TLS_INIT_TP): Add new parameter and simply ignore it.
drepper [Tue, 20 Aug 2002 10:13:19 +0000 (10:13 +0000)]
(TLS_INIT_TP): Add new parameter and simply ignore it.

18 years ago(TLS_INIT_TP): Add new parameter and pass it on to TLS_SETUP_GS_SEGMENT.
drepper [Tue, 20 Aug 2002 10:10:48 +0000 (10:10 +0000)]
(TLS_INIT_TP): Add new parameter and pass it on to TLS_SETUP_GS_SEGMENT.
(TLS_SETUP_GS_SEGMENT): Add new parameter and pass it on to
TLS_DO_SET_THREAD_AREA.
(TLS_DO_SET_THREAD_AREA): If new parameter is zero determine
entry number from %gs value.

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

18 years ago(TLS_INIT_TP): Describe new parameter.
drepper [Tue, 20 Aug 2002 10:03:26 +0000 (10:03 +0000)]
(TLS_INIT_TP): Describe new parameter.

18 years ago(__libc_setup_tls): Pass extra argument 1 to TLS_INIT_TP.
drepper [Tue, 20 Aug 2002 10:02:58 +0000 (10:02 +0000)]
(__libc_setup_tls): Pass extra argument 1 to TLS_INIT_TP.

18 years ago(_dl_start): Pass extra argument 1 to TLS_INIT_TP.
drepper [Tue, 20 Aug 2002 10:02:13 +0000 (10:02 +0000)]
(_dl_start): Pass extra argument 1 to TLS_INIT_TP.
(dl_main): Padd extra argument 0 to TLS_INIT_TP.

18 years agoUpdate.
drepper [Tue, 20 Aug 2002 08:12:32 +0000 (08:12 +0000)]
Update.

18 years ago(allocate_dtv): Optimize a bit.
drepper [Tue, 20 Aug 2002 08:10:28 +0000 (08:10 +0000)]
(allocate_dtv): Optimize a bit.

18 years agoUpdate.
drepper [Tue, 20 Aug 2002 07:27:36 +0000 (07:27 +0000)]
Update.

18 years agoPass NULL to _dl_allocate_tls. Pass true to _dl_deallocate_tls.
drepper [Tue, 20 Aug 2002 07:25:00 +0000 (07:25 +0000)]
Pass NULL to _dl_allocate_tls. Pass true to _dl_deallocate_tls.

18 years agoUpdate.
drepper [Tue, 20 Aug 2002 07:22:11 +0000 (07:22 +0000)]
Update.

18 years agoAdjust prototypes of _dl_allocate_tls and _dl_deallocate_tls. Add
drepper [Tue, 20 Aug 2002 07:18:24 +0000 (07:18 +0000)]
Adjust prototypes of _dl_allocate_tls and _dl_deallocate_tls.  Add
prototype for _dl_get_tls_static_info.

18 years ago(_dl_allocate_tls_storage): Move dtv memory allocation to...
drepper [Tue, 20 Aug 2002 07:16:51 +0000 (07:16 +0000)]
(_dl_allocate_tls_storage): Move dtv memory allocation to...
(allocate_dtv): ...here.  New function.
(_dl_allocate_tls): Change to take parameter.  If parameter is non-NULL
call allocate_dtv instead of _dl_allocate_tls_storage.
(_dl_deallocate_tls): New parameter.  Deallocate TCB only if true.
(_dl_get_tls_static_info): New function.

18 years ago[ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.
drepper [Tue, 20 Aug 2002 07:12:38 +0000 (07:12 +0000)]
[ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.

18 years agoUpdate.
drepper [Tue, 20 Aug 2002 00:23:31 +0000 (00:23 +0000)]
Update.

18 years ago(_dl_allocate_tls_init): Return immediately if result == NULL.
drepper [Tue, 20 Aug 2002 00:19:42 +0000 (00:19 +0000)]
(_dl_allocate_tls_init): Return immediately if result == NULL.

18 years agoUpdate.
drepper [Mon, 19 Aug 2002 22:22:47 +0000 (22:22 +0000)]
Update.

18 years ago(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.
drepper [Mon, 19 Aug 2002 22:21:32 +0000 (22:21 +0000)]
(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.

18 years agoUpdate.
aj [Mon, 19 Aug 2002 07:42:11 +0000 (07:42 +0000)]
Update.

18 years agoRegenerate.
aj [Mon, 19 Aug 2002 07:41:58 +0000 (07:41 +0000)]
Regenerate.

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

18 years ago2002-08-18 Roland McGrath <roland@frob.com>
roland [Sun, 18 Aug 2002 20:36:41 +0000 (20:36 +0000)]
2002-08-18  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split
instead of __file_name_split.
* sysdeps/mach/hurd/unlink.c (__unlink): Likewise.

18 years ago.
roland [Sun, 18 Aug 2002 19:56:27 +0000 (19:56 +0000)]
.

18 years ago2002-08-18 Roland McGrath <roland@frob.com>
roland [Sun, 18 Aug 2002 19:56:15 +0000 (19:56 +0000)]
2002-08-18  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-sysdep.c
[HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable.
[HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW.

18 years ago.
roland [Sat, 17 Aug 2002 06:54:04 +0000 (06:54 +0000)]
.

18 years ago2002-08-16 Roland McGrath <roland@redhat.com>
roland [Sat, 17 Aug 2002 06:53:55 +0000 (06:53 +0000)]
2002-08-16  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_DO_SET_THREAD_AREA): Calculate segment
register value from entry number properly.

18 years ago.
roland [Fri, 16 Aug 2002 20:16:38 +0000 (20:16 +0000)]
.

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

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx
optimally conditional on [__PIC__].
(TLS_DO_SET_THREAD_AREA): New macro, implement inline syscall
without touching errno, and use latest modify_ldt-like interface.
(TLS_SETUP_GS_SEGMENT): Use that instead of INLINE_SYSCALL.
* sysdeps/i386/useldt.h (DO_MODIFY_LDT): Set %gs in this macro.
(DO_SET_THREAD_AREA): New macro, uses current syscall interface with
existing %gs value as the segment to set.
(INIT_THREAD_SELF): Rewritten using those.  Use set_thread_area only
under [HAVE_TLS_SUPPORT] so we can rely on the initialization done
by the first thread's early TLS setup.
2002-08-15  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h (TLS_INIT_TP): Use statement expression and
return a value as callers now expect.

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

* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx
optimally conditional on [__PIC__].
(TLS_DO_SET_THREAD_AREA): New macro, implement inline syscall
without touching errno, and use latest modify_ldt-like interface.
(TLS_SETUP_GS_SEGMENT): Use that instead of INLINE_SYSCALL.
* sysdeps/i386/useldt.h (DO_MODIFY_LDT): Set %gs in this macro.
(DO_SET_THREAD_AREA): New macro, uses current syscall interface with
existing %gs value as the segment to set.
(INIT_THREAD_SELF): Rewritten using those.  Use set_thread_area only
under [HAVE_TLS_SUPPORT] so we can rely on the initialization done
by the first thread's early TLS setup.

18 years ago.
roland [Fri, 16 Aug 2002 00:08:47 +0000 (00:08 +0000)]
.

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

        * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
in change before last: MAX -> MIN.

18 years ago.
roland [Fri, 16 Aug 2002 00:06:09 +0000 (00:06 +0000)]
.

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

* sysdeps/i386/tls.h (TLS_INIT_TP): Use statement expression and
return a value as callers now expect.

18 years ago.
roland [Thu, 15 Aug 2002 23:57:00 +0000 (23:57 +0000)]
.

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

* libio/tst-mmap-offend.c: New file.
* libio/Makefile (tests): Add it.

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

* libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF
if seek would go past it.
(mmap_remap_check): If file position is at or past EOF after check,
leave read pointers at EOF and don't seek.

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.