platform/upstream/glibc.git
24 years ago(feenv_tests): Clear all exceptions before first test. (feexcp_nomask_test): Correct...
Ulrich Drepper [Sat, 19 Aug 2000 18:29:19 +0000 (18:29 +0000)]
(feenv_tests): Clear all exceptions before first test. (feexcp_nomask_test): Correct printf args. (feexcp_mask_test): Like.

24 years agoUpdate.
Andreas Jaeger [Sat, 19 Aug 2000 18:06:27 +0000 (18:06 +0000)]
Update.

* inet/tst-gethnm.c: Include string.h to provide prototype for
strcmp.

24 years agoInclude string.h to provide prototype for strcmp.
Andreas Jaeger [Sat, 19 Aug 2000 18:04:56 +0000 (18:04 +0000)]
Include string.h to provide prototype for strcmp.

24 years agoUpdate.
Ulrich Drepper [Sat, 19 Aug 2000 16:58:09 +0000 (16:58 +0000)]
Update.

* malloc/mtrace.pl (usage): Inform about --help.

2000-08-19  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (new_heap): try harder to get an aligned chunk of
size HEAP_MAX_SIZE.

2000-08-19  Andreas Jaeger  <aj@suse.de>

* shlib-versions: Remove libnss_db, libdb and libdb1.

2000-08-19  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
* sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
* sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
* sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
* sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
* sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
* sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
getdents.
* sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
* sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.

2000-08-18  Jakub Jelinek  <jakub@redhat.com>

* include/glob.h (__glob64): Add prototype.
* sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
define glob and glob_in_dir.
* sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
* sysdeps/unix/sysv/linux/arm/Versions: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/i386/glob64.c: New file.
* sysdeps/unix/sysv/linux/arm/glob64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.

2000-08-18  Jakub Jelinek  <jakub@redhat.com>

* malloc/Makefile (memusage): libmemusage.so is installed in slibdir.

2000-08-17  Andreas Jaeger  <aj@suse.de>

* math/test-fenv.c (fe_single_test): New function.
(fe_env_tests): Use fe_single_test.
(feenable_test): New tests for feenable/fedisable and
fegetexcpetions.
(feexcp_mask_test): New function.
(feexcp_nomask_test): New function.

2000-08-19  Richard Henderson  <rth@cygnus.com>

* sysdeps/alpha/fpu/fenv_libc.h: New file.
* sysdeps/alpha/fpu/fclrexcpt.c: Use it.
* sysdeps/alpha/fpu/fegetenv.c: Likewise.
* sysdeps/alpha/fpu/fesetround.c: Likewise.
* sysdeps/alpha/fpu/fegetround.c: Likewise.
* sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
* sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
* sysdeps/alpha/fpu/ftestexcept.c: Likewise.
* sysdeps/alpha/fpu/fedisblxcpt.c: Likewise.  Use the smaller mask.
* sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
* sysdeps/alpha/fpu/fegetexcept.c: Likewise.
* sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
* sysdeps/alpha/fpu/fesetenv.c: Likewise.
* sysdeps/alpha/fpu/feupdateenv.c: Likewise.
* sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
* sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
(FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.

2000-08-19  Andreas Jaeger  <aj@suse.de>

24 years agofenv definitions for Linux/Alpha.
Ulrich Drepper [Sat, 19 Aug 2000 16:06:09 +0000 (16:06 +0000)]
fenv definitions for Linux/Alpha.

24 years agoUpdate.
Andreas Jaeger [Sat, 19 Aug 2000 08:31:02 +0000 (08:31 +0000)]
Update.

2000-08-19  Andreas Jaeger  <aj@suse.de>

* elf/constload1.c: Include <stdio.h> for puts prototype.

24 years agoInclude <stdio.h> for puts prototype.
Andreas Jaeger [Sat, 19 Aug 2000 08:30:28 +0000 (08:30 +0000)]
Include <stdio.h> for puts prototype.

24 years agoUpdate.
Ulrich Drepper [Sat, 19 Aug 2000 07:17:09 +0000 (07:17 +0000)]
Update.

2000-08-19  Ulrich Drepper  <drepper@redhat.com>

* elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
* elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
a dynamically loaded object remove old l_initfini list.
* elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
remove some dynamically allocated memory blocks in the dynamic
loading data structures.
* elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
* elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
Instead call _dl_check_map_versions only for the dependencies.
* elf/rtld.c: Avoid unneccessary initializations.  Mark l_libname
information of initial objects as not free-able.
* sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
element.

* elf/filter.c: Call mtrace.
* elf/restest1.c: Likewise.  Close the objects.
* elf/loadtest.c: Call mtrace.  Check result of dlclose.  Print more
debug information.

* elf/constload1.c: Add comment explaining not freed memory.

24 years ago[ld] (GLIBC_2.2): Export _dl_check_map_versions.
Ulrich Drepper [Sat, 19 Aug 2000 07:06:50 +0000 (07:06 +0000)]
[ld] (GLIBC_2.2): Export _dl_check_map_versions.

24 years ago* tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg.
Andreas Jaeger [Fri, 18 Aug 2000 09:34:18 +0000 (09:34 +0000)]
* tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg.

(TST_DECL_VARS): Don't declare err_flg.
(TST_GET_ERRET): Don't set err_flg.
(TST_GET_ERRET_SEQ): Likewise.
(TST_IF_RETURN): Don't use err_flg, check err_exp directly.
* tests-mbwc/dat_swscanf.c: Don't set err_flg.
* tests-mbwc/dat_iswalnum.c: Likewise.
* tests-mbwc/dat_iswalpha.c: Likewise.
* tests-mbwc/dat_iswcntrl.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswdigit.c: Likewise.
* tests-mbwc/dat_iswgraph.c: Likewise.
* tests-mbwc/dat_iswlower.c: Likewise.
* tests-mbwc/dat_iswprint.c: Likewise.
* tests-mbwc/dat_iswpunct.c: Likewise.
* tests-mbwc/dat_iswspace.c: Likewise.
* tests-mbwc/dat_iswupper.c: Likewise.
* tests-mbwc/dat_iswxdigit.c: Likewise.
* tests-mbwc/dat_mblen.c: Likewise.
* tests-mbwc/dat_mbrlen.c: Likewise.
* tests-mbwc/dat_mbrtowc.c: Likewise.
* tests-mbwc/dat_mbsrtowcs.c: Likewise.
* tests-mbwc/dat_mbstowcs.c: Likewise.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/dat_swscanf.c: Likewise.
* tests-mbwc/dat_towctrans.c: Likewise.
* tests-mbwc/dat_towlower.c: Likewise.
* tests-mbwc/dat_towupper.c: Likewise.
* tests-mbwc/dat_wcrtomb.c: Likewise.
* tests-mbwc/dat_wcscat.c: Likewise.
* tests-mbwc/dat_wcschr.c: Likewise.
* tests-mbwc/dat_wcscmp.c: Likewise.
* tests-mbwc/dat_wcscoll.c: Likewise.
* tests-mbwc/dat_wcscpy.c: Likewise.
* tests-mbwc/dat_wcscspn.c: Likewise.
* tests-mbwc/dat_wcslen.c: Likewise.
* tests-mbwc/dat_wcsncat.c: Likewise.
* tests-mbwc/dat_wcsncmp.c: Likewise.
* tests-mbwc/dat_wcsncpy.c: Likewise.
* tests-mbwc/dat_wcspbrk.c: Likewise.
* tests-mbwc/dat_wcsrtombs.c: Likewise.
* tests-mbwc/dat_wcsspn.c: Likewise.
* tests-mbwc/dat_wcsstr.c: Likewise.
* tests-mbwc/dat_wcstod.c: Likewise.
* tests-mbwc/dat_wcstok.c: Likewise.
* tests-mbwc/dat_wcstombs.c: Likewise.
* tests-mbwc/dat_wcswidth.c: Likewise.
* tests-mbwc/dat_wcsxfrm.c: Likewise.
* tests-mbwc/dat_wctob.c: Likewise.
* tests-mbwc/dat_wctomb.c: Likewise.
* tests-mbwc/dat_wctrans.c: Likewise.
* tests-mbwc/dat_wctype.c: Likewise.
* tests-mbwc/dat_wcwidth.c: Likewise.
* tests-mbwc/dat_isw-funcs.h: Fix comment.
2000-08-18  Andreas Jaeger  <aj@suse.de>

* tests-mbwc/tst_funcs.h (TMD_ERRET): Don't declare err_flg.
(TST_DECL_VARS): Don't declare err_flg.
(TST_GET_ERRET): Don't set err_flg.
(TST_GET_ERRET_SEQ): Likewise.
(TST_IF_RETURN): Don't use err_flg, check err_exp directly.

* tests-mbwc/dat_swscanf.c: Don't set err_flg.
* tests-mbwc/dat_iswalnum.c: Likewise.
* tests-mbwc/dat_iswalpha.c: Likewise.
* tests-mbwc/dat_iswcntrl.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswdigit.c: Likewise.
* tests-mbwc/dat_iswgraph.c: Likewise.
* tests-mbwc/dat_iswlower.c: Likewise.
* tests-mbwc/dat_iswprint.c: Likewise.
* tests-mbwc/dat_iswpunct.c: Likewise.
* tests-mbwc/dat_iswspace.c: Likewise.
* tests-mbwc/dat_iswupper.c: Likewise.
* tests-mbwc/dat_iswxdigit.c: Likewise.
* tests-mbwc/dat_mblen.c: Likewise.
* tests-mbwc/dat_mbrlen.c: Likewise.
* tests-mbwc/dat_mbrtowc.c: Likewise.
* tests-mbwc/dat_mbsrtowcs.c: Likewise.
* tests-mbwc/dat_mbstowcs.c: Likewise.
* tests-mbwc/dat_mbtowc.c: Likewise.
* tests-mbwc/dat_strcoll.c: Likewise.
* tests-mbwc/dat_strfmon.c: Likewise.
* tests-mbwc/dat_strxfrm.c: Likewise.
* tests-mbwc/dat_swscanf.c: Likewise.
* tests-mbwc/dat_towctrans.c: Likewise.
* tests-mbwc/dat_towlower.c: Likewise.
* tests-mbwc/dat_towupper.c: Likewise.
* tests-mbwc/dat_wcrtomb.c: Likewise.
* tests-mbwc/dat_wcscat.c: Likewise.
* tests-mbwc/dat_wcschr.c: Likewise.
* tests-mbwc/dat_wcscmp.c: Likewise.
* tests-mbwc/dat_wcscoll.c: Likewise.
* tests-mbwc/dat_wcscpy.c: Likewise.
* tests-mbwc/dat_wcscspn.c: Likewise.
* tests-mbwc/dat_wcslen.c: Likewise.
* tests-mbwc/dat_wcsncat.c: Likewise.
* tests-mbwc/dat_wcsncmp.c: Likewise.
* tests-mbwc/dat_wcsncpy.c: Likewise.
* tests-mbwc/dat_wcspbrk.c: Likewise.
* tests-mbwc/dat_wcsrtombs.c: Likewise.
* tests-mbwc/dat_wcsspn.c: Likewise.
* tests-mbwc/dat_wcsstr.c: Likewise.
* tests-mbwc/dat_wcstod.c: Likewise.
* tests-mbwc/dat_wcstok.c: Likewise.
* tests-mbwc/dat_wcstombs.c: Likewise.
* tests-mbwc/dat_wcswidth.c: Likewise.
* tests-mbwc/dat_wcsxfrm.c: Likewise.
* tests-mbwc/dat_wctob.c: Likewise.
* tests-mbwc/dat_wctomb.c: Likewise.
* tests-mbwc/dat_wctrans.c: Likewise.
* tests-mbwc/dat_wctype.c: Likewise.
* tests-mbwc/dat_wcwidth.c: Likewise.
* tests-mbwc/dat_isw-funcs.h: Fix comment.

24 years agoUpdate.
Andreas Jaeger [Fri, 18 Aug 2000 06:11:30 +0000 (06:11 +0000)]
Update.

2000-08-18  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
alignment for structs stat and stat64.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years agoAdd pads to show alignment for structs stat and stat64. Patch by Maciej W. Rozycki...
Andreas Jaeger [Fri, 18 Aug 2000 06:11:11 +0000 (06:11 +0000)]
Add pads to show alignment for structs stat and stat64. Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years agoUpdate.
Ulrich Drepper [Fri, 18 Aug 2000 00:11:06 +0000 (00:11 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
handling.  Patch by Richard Henderson <rth@twiddle.net>.

24 years agoUpdate.
Ulrich Drepper [Thu, 17 Aug 2000 21:05:34 +0000 (21:05 +0000)]
Update.

2000-08-17  Ulrich Drepper  <drepper@redhat.com>

* nss/Versions: Remove libnss_db information.

24 years agoUpdate.
Ulrich Drepper [Thu, 17 Aug 2000 20:38:57 +0000 (20:38 +0000)]
Update.

2000-08-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/fpu/fedisblxcpt.c: New file.
* sysdeps/sparc/fpu/feenablxcpt.c: New file.
* sysdeps/sparc/fpu/fegetexcept.c: New file.
* sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.

* sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
to match Solaris.

24 years agoUpdate.
Ulrich Drepper [Thu, 17 Aug 2000 20:31:43 +0000 (20:31 +0000)]
Update.

* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
(_FPU_SETCW): Likewise.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

24 years agoUpdate.
Ulrich Drepper [Thu, 17 Aug 2000 19:36:13 +0000 (19:36 +0000)]
Update.

2000-08-17  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf_fp.c: Fix chars_needed computation.
Patch by Greg McGary <greg@mcgary.org>.

2000-08-17  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-load.c (_dl_map_object): Don't crash if both loader and
_dl_loaded are NULL.

2000-08-17  Jakub Jelinek  <jakub@redhat.com>

* manual/arith.texi (feholdexcept): Returns 0 on success.

2000-08-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
(ifr_newname): New.
Reported by Andi Kleen <ak@suse.de>.

2000-08-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/fpu/fedisblxcpt.c: New file.
* sysdeps/alpha/fpu/feenablxcpt.c: New file.
* sysdeps/alpha/fpu/fegetexcept.c: New file.

2000-08-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
of buf->st_ino and kbuf->st_ino, not __st_ino.
If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
* sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
directive so that only linux/getdents.c is used, not some
architecture specific one.

2000-08-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
enabled, not disabled exceptions.
* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
* sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.

($(addprefix $(objpfx),$(tests)),
$(addprefix $(objpfx),$(librt-tests))):
* include/link.h: Undo last patches.  Hurd now has stat64.

24 years agoReturn currently enabled, not disabled exceptions.
Ulrich Drepper [Thu, 17 Aug 2000 18:43:01 +0000 (18:43 +0000)]
Return currently enabled, not disabled exceptions.

24 years ago* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
Andreas Jaeger [Thu, 17 Aug 2000 15:41:22 +0000 (15:41 +0000)]
* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it

should have a value.
2000-08-17  Andreas Jaeger  <aj@suse.de>

* tests-mbwc/tst_funcs.h (TST_IF_RETURN): Only test errno if it
should have a value.

24 years agoUpdate.
Greg McGary [Thu, 17 Aug 2000 07:38:02 +0000 (07:38 +0000)]
Update.

2000-08-17  Greg McGary  <greg@mcgary.org>

* Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
from test program name when constructing suffix for $(LDLIBS-*).
(bounded-thread-library): New variable.
* crypt/Makefile
[build-shared, build-static] (libcrypt-dep): Remove variable.
($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
[build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
* linuxthreads/Makefile (libpthread, librt): Remove variables.
(librt-tests): Add variable.  (tests): Use it.
[build-shared, build-static]
($(addprefix $(objpfx),$(tests)), $(addprefix $(objpfx),$(librt-tests))):
Consolidate individual dependencies.
[build-bounded]
($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
Add dependencies.
* math/Makefile (LDLIBS-*): Remove variables (they are redundant).
[build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
* misc/Makefile
[build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
* rt/Makefile
[build-shared, build-static]
($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
[build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.

2000-08-17  Greg McGary  <greg@mcgary.org>

* sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
* sysdeps/unix/make-syscalls.sh: Likewise.
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.

2000-08-17  Greg McGary  <greg@mcgary.org>

* sysdeps/i386/fpu/s_frexp.S: Check bounds.
Wrap extern symbols in BP_SYM ().
* sysdeps/i386/fpu/s_frexpf.S: Likewise.
* sysdeps/i386/fpu/s_frexpl.S: Likewise.
* sysdeps/i386/fpu/s_remquo.S: Likewise.
* sysdeps/i386/fpu/s_remquof.S: Likewise.
* sysdeps/i386/fpu/s_remquol.S: Likewise.
* sysdeps/i386/fpu/s_sincos.S: Likewise.
* sysdeps/i386/fpu/s_sincosf.S: Likewise.
* sysdeps/i386/fpu/s_sincosl.S: Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.

24 years ago* sysdeps/i386/fpu/s_frexp.S: Check bounds.
Greg McGary [Thu, 17 Aug 2000 07:36:19 +0000 (07:36 +0000)]
* sysdeps/i386/fpu/s_frexp.S: Check bounds.

Wrap extern symbols in BP_SYM ().
* sysdeps/i386/fpu/s_frexpf.S: Likewise.
* sysdeps/i386/fpu/s_frexpl.S: Likewise.
* sysdeps/i386/fpu/s_remquo.S: Likewise.
* sysdeps/i386/fpu/s_remquof.S: Likewise.
* sysdeps/i386/fpu/s_remquol.S: Likewise.
* sysdeps/i386/fpu/s_sincos.S: Likewise.
* sysdeps/i386/fpu/s_sincosf.S: Likewise.
* sysdeps/i386/fpu/s_sincosl.S: Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.

24 years ago* sysdeps/m68k/fpu/fegetexcept.c: New file. * sysdeps/m68k/fpu/fedisblxcpt.c: New...
Andreas Schwab [Wed, 16 Aug 2000 15:08:45 +0000 (15:08 +0000)]
* sysdeps/m68k/fpu/fegetexcept.c: New file. * sysdeps/m68k/fpu/fedisblxcpt.c: New file. * sysdeps/m68k/fpu/feenablxcpt.c: New file.

2000-08-16  Andreas Schwab  <schwab@suse.de>

* sysdeps/m68k/fpu/fegetexcept.c: New file.
* sysdeps/m68k/fpu/fedisblxcpt.c: New file.
* sysdeps/m68k/fpu/feenablxcpt.c: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 16 Aug 2000 06:30:08 +0000 (06:30 +0000)]
Update.

2000-08-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
* elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
* elf/dl-support.c: Define _nl_nloaded.
* elf/rtld.c: Likewise.  Increment _nl_nloaded for rtld itself.
* elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
object to global list.
* elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
from _dl_loaded list.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
number here.

* sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
unmask, exceptions.
* sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
exceptions.
Reported by Harvey J. Stein <hjstein@bfr.co.il>.

24 years agoDeclare _nl_loaded.
Ulrich Drepper [Wed, 16 Aug 2000 06:22:45 +0000 (06:22 +0000)]
Declare _nl_loaded.

24 years agoUpdate.
Andreas Jaeger [Wed, 16 Aug 2000 05:40:56 +0000 (05:40 +0000)]
Update.

2000-08-16  Andreas Jaeger  <aj@suse.de>

* elf/elf.h (EM_X8664): Add official x86-64 specific value.

24 years ago(EM_X8664): Add official x86-64 specific value.
Andreas Jaeger [Wed, 16 Aug 2000 05:40:29 +0000 (05:40 +0000)]
(EM_X8664): Add official x86-64 specific value.

24 years ago(fedisableexcept): Mask, not unmask, exceptions.
Ulrich Drepper [Wed, 16 Aug 2000 02:36:25 +0000 (02:36 +0000)]
(fedisableexcept): Mask, not unmask, exceptions.

24 years agoUpdate.
Ulrich Drepper [Wed, 16 Aug 2000 02:05:38 +0000 (02:05 +0000)]
Update.

2000-08-15  Marko Myllynen  <myllynen@lut.fi>

* inet/netinet/icmp6.h: Added Mobile IPv6 definitions.

24 years agoUpdate.
Ulrich Drepper [Wed, 16 Aug 2000 01:40:12 +0000 (01:40 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
* sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
(sysdep_routines): Add oldgetrlimit64.
* sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

24 years agoUpdate.
Ulrich Drepper [Wed, 16 Aug 2000 01:28:07 +0000 (01:28 +0000)]
Update.

2000-08-15  Ulrich Drepper  <drepper@redhat.com>

* include/link.h: Undo last patches.  Hurd now had stat64.
* elf/Makefile: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-misc.c: Likewise.
* elf/dl-profile.c: Likewise.
* sysdeps/generic/sysd-link.h: Removed.
* sysdeps/unix/sysv/linux/sysd-link.h: Removed.

* rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
thread event callback function.
(__aio_notify_only): Use function above.
Patch by Kaz Kylheku <kaz@ashi.footprints.net>.

24 years ago(notify_func_wrapper): Wrapper function to call thread event callback function. ...
Ulrich Drepper [Wed, 16 Aug 2000 01:07:14 +0000 (01:07 +0000)]
(notify_func_wrapper): Wrapper function to call thread event callback function. (__aio_notify_only): Use function above.

24 years ago* sysdeps/mach/hurd/lseek64.c: New file.
Mark Kettenis [Wed, 16 Aug 2000 00:19:33 +0000 (00:19 +0000)]
* sysdeps/mach/hurd/lseek64.c: New file.

2000-08-16  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/lseek64.c: New file.

24 years ago* sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): Remove typedefs. ...
Mark Kettenis [Tue, 15 Aug 2000 19:01:50 +0000 (19:01 +0000)]
* sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.

* sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
Remove typedefs.
* sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
typedefs.
* sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
typedefs.
* sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.

2000-08-15  Mark Kettenis  <kettenis@gnu.org>

24 years ago* sysdeps/mach/hurd/xstatconv.c: New file. * sysdeps/mach/hurd/fxstat64.c: New file...
Mark Kettenis [Tue, 15 Aug 2000 18:47:06 +0000 (18:47 +0000)]
* sysdeps/mach/hurd/xstatconv.c: New file. * sysdeps/mach/hurd/fxstat64.c: New file. * sysdeps/mach/hurd/lxstat64.c: New file. * sysdeps/mach/hurd/xstat64.c: New file. * sysdeps/mach/hurd/Dist: Add xstatconv.c.

* sysdeps/mach/hurd/xstatconv.c: New file.
* sysdeps/mach/hurd/fxstat64.c: New file.
* sysdeps/mach/hurd/lxstat64.c: New file.
* sysdeps/mach/hurd/xstat64.c: New file.
* sysdeps/mach/hurd/Dist: Add xstatconv.c.

2000-08-15  Mark Kettenis  <kettenis@gnu.org>

24 years ago* sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs): Initialize, needed for chang...
Mark Kettenis [Tue, 15 Aug 2000 16:25:27 +0000 (16:25 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs): Initialize, needed for change in common symbol handling in newer binutils.  Mirrors 2000-01-03 change made by Andreas Schwab.

2000-08-15  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
Initialize, needed for change in common symbol handling in newer
binutils.  Mirrors 2000-01-03 change made by Andreas Schwab.

24 years agoUpdate.
Ulrich Drepper [Tue, 15 Aug 2000 08:23:49 +0000 (08:23 +0000)]
Update.

* elf/constload1.c: Call mtrace.  Check return value of dlclose call.
* elf/constload2.c: Add destructor to unload constload3.

24 years agoUpdate.
Ulrich Drepper [Tue, 15 Aug 2000 08:06:15 +0000 (08:06 +0000)]
Update.

* include/link.h: Include sysd-link.h.
* sysdeps/generic/sysd-link.h: New file.
* sysdeps/unix/sysv/linux/sysd-link.h: New file.
* elf/Makefile (distribute): Add sysd-link.h.
* elf/dl-load.c: Use definitions from sysd-link.h instead of stat
types and functions directly.
* elf/dl-misc.c: Likewise.
* elf/dl-profile.c: Likewise.

* elf/loadfail.c (main): Close all successfully loaded objects.

24 years agoUpdate.
Ulrich Drepper [Tue, 15 Aug 2000 07:06:23 +0000 (07:06 +0000)]
Update.

2000-08-15  Ulrich Drepper  <drepper@redhat.com>

* elf/multiload.c: Add mtrace call.  Call dlclose for all handles and
free wd.
* elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
there is already one.

* elf/dl-close.c: Pretty print.

24 years agoUpdate.
Ulrich Drepper [Tue, 15 Aug 2000 06:12:25 +0000 (06:12 +0000)]
Update.

* sysdeps/posix/ttyname.c: Make name variable from getttyname function
global (with file scope).  Add __libc_subfreeres function to free the
string.
* sysdeps/unix/sysv/linux/ttyname.c: Likewise.  Also for buf variable
in ttyname function.

* sysdeps/generic/strtok.c: Remove initializer for olds variable.

* crypt/md5-crypt.c: Let destructor deallocate static buffer.

* iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
mapping them to /x5c and /x7e respectively.

24 years agoUpdate.
Ulrich Drepper [Mon, 14 Aug 2000 18:58:08 +0000 (18:58 +0000)]
Update.

2000-08-14  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-ctype.c: Add support for more definitions after
copy statement.

24 years agoUpdate.
Ulrich Drepper [Mon, 14 Aug 2000 17:41:59 +0000 (17:41 +0000)]
Update.

2000-08-14  Jakub Jelinek  <jakub@redhat.com>

* dirent/Versions (getdirentries64): Export at GLIBC_2.2.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_GETDENTS64_SYSCALL): Define.
* sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
syscall if available to get d_type fields.
* sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
* sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
__lxstat64): Export at GLIBC_2.2.
(alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
Likewise.
* sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
* sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
* sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
getdirentries64, versionsort64): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
getdirentries64, versionsort64): Remove.

24 years ago(getdirentries64): Export at GLIBC_2.2.
Ulrich Drepper [Mon, 14 Aug 2000 17:38:43 +0000 (17:38 +0000)]
(getdirentries64): Export at GLIBC_2.2.

24 years agoFix typo in comment.
Andreas Jaeger [Mon, 14 Aug 2000 08:18:08 +0000 (08:18 +0000)]
Fix typo in comment.

24 years agoFix typo.
Andreas Jaeger [Mon, 14 Aug 2000 08:11:15 +0000 (08:11 +0000)]
Fix typo.

24 years agoUpdate.
Ulrich Drepper [Mon, 14 Aug 2000 06:17:28 +0000 (06:17 +0000)]
Update.

2000-08-13  Ulrich Drepper  <drepper@redhat.com>

* posix/Makefile: Remove rules to generate glob package.

* posix/Makefile (tests): Add tst-regexloc.
(tst-regexloc-ENV): Add LOCPATH.
* posix/tst-regexloc.c: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 14 Aug 2000 04:57:27 +0000 (04:57 +0000)]
Update.

2000-08-12  Andreas Jaeger  <aj@suse.de>

* include/features.h (__STDC_ISO_10646__): Define.
Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.

* include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.

* locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
for revision 6 and up).

* posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
including <time.h>.
* time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
to get definitions of just these types.

* signal/signal.h: Define thread signal handling functions also for
POSIX95.

* sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
POSIX95.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.

* sysvipc/sys/shm.h: Define pid_t for XPG.

* wcsmbs/wchar.h: Make the various wide char string and stream
functions available for the respective XPG versions.

24 years agoUpdate.
Ulrich Drepper [Mon, 14 Aug 2000 02:10:26 +0000 (02:10 +0000)]
Update.

* posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
they are not anymore required here.

24 years agoUpdate.
Ulrich Drepper [Mon, 14 Aug 2000 00:57:30 +0000 (00:57 +0000)]
Update.

* nss/Makefile: Remove rules to build and distribute nss_db.

* sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
* sysdeps/generic/scandir64.c: Likewise.
* sysdeps/generic/versionsort64.c: Likewise.

2000-08-13  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Sun, 13 Aug 2000 18:18:28 +0000 (18:18 +0000)]
Update.

2000-08-13  Ulrich Drepper  <drepper@redhat.com>
    Benjamin Koznik  <bkoz@redhat.com>

* libio/fileops.c: Merge with libstdc++-v3.
* libio/genops.c: Likewise.
* libio/iofclose.c: Likewise.
* libio/iofopen.c: Likewise.
* libio/iofwide.c: Likewise.
* libio/libio.h: Likewise.
* libio/libioP.h: Likewise.
* libio/stdfiles.c: Likewise.
* libio/stdio.c: Likewise.
* libio/wfileops.c: Likewise.
* libio/wgenops.c: Likewise.

* libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.

24 years agoUpdate.
Ulrich Drepper [Sun, 13 Aug 2000 07:01:35 +0000 (07:01 +0000)]
Update.

* locale/programs/localedef.c: Implement --prefix option to allow
writing in standard places of alternative install directories.

24 years agoUpdate.
Ulrich Drepper [Sun, 13 Aug 2000 06:38:11 +0000 (06:38 +0000)]
Update.

2000-08-12  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.c (compile_range): Implement collation sequence
handling for glibc.  Use simple character ordering otherwise and
not strcoll.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 22:20:07 +0000 (22:20 +0000)]
Update.

2000-08-12  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/generic/scandir64.c: Include <dirent.h>.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 22:17:43 +0000 (22:17 +0000)]
Update.

2000-08-12  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
__USE_FILE_OFFSET64 correctly for locking.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 22:08:19 +0000 (22:08 +0000)]
Update.

2000-08-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
Define for 2.4.1 on sparc as well.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
for F_GETLK64, F_SETLK64, and F_SETLKW64.
* sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.

24 years ago(__ASSUME_FCNTL64): Define for 2.4.1 on sparc as well.
Ulrich Drepper [Sat, 12 Aug 2000 22:05:11 +0000 (22:05 +0000)]
(__ASSUME_FCNTL64): Define for 2.4.1 on sparc as well.

24 years agoUpdate.
Andreas Jaeger [Sat, 12 Aug 2000 10:01:20 +0000 (10:01 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
F_SETLK64, F_SETLKW64): Define with F_GETLK etc.

24 years agoUpdate.
Andreas Jaeger [Sat, 12 Aug 2000 09:31:31 +0000 (09:31 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
mips2 for assembler.

24 years ago * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set ...
Andreas Jaeger [Sat, 12 Aug 2000 09:29:03 +0000 (09:29 +0000)]
    * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set         mips2 for assembler.         * sysdeps/mips/pt-machine.h (testandset): Add .set mips2 for         assembler.         (__compare_and_swap): Likewise.         * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Likewise.

24 years agoDefine __have_no_fcntl64 static.
Ulrich Drepper [Sat, 12 Aug 2000 08:46:30 +0000 (08:46 +0000)]
Define __have_no_fcntl64 static.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 08:42:47 +0000 (08:42 +0000)]
Update.

2000-08-12  Ulrich Drepper  <drepper@redhat.com>

* io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
defined.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 08:39:46 +0000 (08:39 +0000)]
Update.

2000-08-12  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
if fnctl64 is not available for F_*LK*64.

* sysdeps/unix/sysv/linux/i386/lockf64.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 08:22:14 +0000 (08:22 +0000)]
Update.

2000-08-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
Define for 2.4.1 on x86.
* sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
for F_GETLK64, F_SETLK64, and F_SETLKW64.

* dirent/dirent.h: Define DT_WHT.

* sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
* sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
* sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
* sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
* sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 06:52:46 +0000 (06:52 +0000)]
Update.

* inet/Makefile (tests): Add tst-gethnm.
* inet/tst-gethnm.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 06:42:00 +0000 (06:42 +0000)]
Update.

* nss/digits_dots.c: Don't pass NULL in h_aliases for successful
lookup, pass pointer to array with NULL pointer [PR libc/1858].

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Aug 2000 05:14:52 +0000 (05:14 +0000)]
Update.

2000-08-11  Ulrich Drepper  <drepper@redhat.com>

* rt/aio_cancel.c: If canceling a specific request which is running
*really* do nothing.
* rt/aio_misc.h: Add `done' to states of a request.
* rt/aio_misc.c: Add several tests for the correct state.
Simplify request table memory handling.

2000-08-10  Jakub Jelinek  <jakub@redhat.com>

* dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
* dirent/scandir64.c: Move...
* sysdeps/generic/scandir64.c: ...here.
* dirent/alphasort64.c: Move...
* sysdeps/generic/alphasort64.c: ...here.
* dirent/versionsort64.c: Move...
* sysdeps/generic/versionsort64.c: ...here.
* sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
Export symbols at GLIBC_2.2.
* sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
* include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
__versionsort64): Add prototypes.
* io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
* sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
unused prototype.
* sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
and GLIBC_2.2.
* sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/getdents.c: New.
* sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
* sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
__u_quad_t.
* sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
Adjust for kernel-2.4.0-test6 layout.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
GLIBC_2.1 and GLIBC_2.2.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/i386/getdents64.c: New.
* sysdeps/unix/sysv/linux/i386/olddirent.h: New.
* sysdeps/unix/sysv/linux/i386/readdir64.c: New.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
* sysdeps/unix/sysv/linux/i386/scandir64.c: New.
* sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
* sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
* sysdeps/unix/sysv/linux/ia64/getdents.c: New.
* sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
* sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
* sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
__u_quad_t.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
* sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
* sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
* sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
* sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
* sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
* sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
__u_quad_t.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
alpha/readdir.c.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
alpha/readdir_r.c
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
_HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
st_ino from __st_ino.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
xstat32_conv): Use _HAVE_STAT* macros.  If _HAVE_STAT64___ST_INO,
set __st_ino in addition to st_ino.
* sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
* sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
__old_getdents64 as well.
* sysdeps/unix/sysv/linux/getdirentries.c: Use it for
getdirentries64 and old_getdirentries64 as well.
* sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
__GETDENTS): Define.
(GETDENTS64): Remove.
* sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
Define.
(GETDENTS64): Remove.
* sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
* sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
* sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
as well.
* sysdeps/unix/readdir_r.c: Use it for readdir64_r and
__old_readdir64_r as well.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.

* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.

24 years agoUpdate.
Ulrich Drepper [Thu, 10 Aug 2000 22:11:27 +0000 (22:11 +0000)]
Update.

2000-08-08  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL
define.
Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
define of the kernel.
Add missing __SEG_PSTKOVF definition.
Adjust the padding of struct siginfo and struct sigevent to
match the fact that sigval_t is 64 bit.

24 years agoAdd SI_KERNEL define. Add missing ILL_BADIADDR to enum and make ILL_BREAK match the...
Ulrich Drepper [Thu, 10 Aug 2000 22:10:17 +0000 (22:10 +0000)]
Add SI_KERNEL define. Add missing ILL_BADIADDR to enum and make ILL_BREAK match the define of the kernel. Add missing __SEG_PSTKOVF definition. Adjust the padding of struct siginfo and struct sigevent to match the fact that sigval_t is 64 bit.

24 years agoUpdate.
Andreas Jaeger [Thu, 10 Aug 2000 20:11:57 +0000 (20:11 +0000)]
Update.

2000-08-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
stat with current MIPS kernel.

24 years agoUpdate.
Ulrich Drepper [Thu, 10 Aug 2000 19:48:27 +0000 (19:48 +0000)]
Update.

2000-08-10  Ulrich Drepper  <drepper@redhat.com>

* timezone/zic.c: Update from tzcode2000f.
* timezone/australasia: Update from tzdata2000f.
* timezone/europe: Likewise.
* timezone/southamerica: Likewise.
* timezone/yearistype: Likewise.

24 years agoAdd conform.pot.
Ulrich Drepper [Thu, 10 Aug 2000 16:00:05 +0000 (16:00 +0000)]
Add conform.pot.

24 years agoSynch struct stat64 and stat with current MIPS kernel.
Andreas Jaeger [Thu, 10 Aug 2000 12:39:48 +0000 (12:39 +0000)]
Synch struct stat64 and stat with current MIPS kernel.

24 years agoUpdate.
Ulrich Drepper [Thu, 10 Aug 2000 04:40:02 +0000 (04:40 +0000)]
Update.

2000-08-01  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
sysdeps/unix/sysv/linux/i386/sys/procfs.h.
Remove the junk that's only relevant in the Linux kernel itself.
Add a warning saying that this file is now obsolete, and include
<sys/procfs.h>.
* sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
here from sysdeps/unix/sysv/linux/i386/sys/elf.h.  Don't include
<signal.h>, <sys/ucontext.h> and <sys/elf.h>.  Remove parts of
`struct elf_prstatus' that are #ifdef'ed out.  Improve comments
and add the notice that the file is primarily there for GDB.
* sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.

2000-08-09  Jakub Jelinek  <jakub@redhat.com>

* time/tzfile.c (__tzfile_compute): __tzstring zones
from zone_names.

2000-08-09  Jakub Jelinek  <jakub@redhat.com>

* resolv/resolv.h (__res_state): Surround prototype with
__BEGIN_DECLS/__END_DECLS.
* sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.

2000-08-04  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
Make independant of asm/resource.h from the Linux kernel.

2000-08-06  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.

2000-08-06  Bruno Haible  <haible@clisp.cons.org>

* intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
* locale/Makefile (locale-CPPFLAGS): Likewise.

2000-08-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu/libm-test-ulps: Increase several error values
for AMD processors.

2000-08-03  Jakub Jelinek  <jakub@redhat.com>

* misc/Versions (mincore): Export at GLIBC_2.2.

2000-08-03  Bruno Haible  <haible@clisp.cons.org>

* intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.

24 years agoUpdate resolver news.
Ulrich Drepper [Thu, 10 Aug 2000 01:18:30 +0000 (01:18 +0000)]
Update resolver news.

24 years ago* sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from socketpair. Made socke...
Mark Kettenis [Wed, 9 Aug 2000 21:05:45 +0000 (21:05 +0000)]
* sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from socketpair.  Made socketpair a weak alias. * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using __socketpair.  Use S_IFIFO protocol to make pipes POSIX conforming, but fall back on the old protocol if the socket server doesn't support it. * include/sys/socket.h: Add prototype for __socketpair.

2000-08-02  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
socketpair.  Made socketpair a weak alias.
* sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
__socketpair.  Use S_IFIFO protocol to make pipes POSIX
conforming, but fall back on the old protocol if the socket server
doesn't support it.
* include/sys/socket.h: Add prototype for __socketpair.

24 years ago* stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
Andreas Schwab [Wed, 9 Aug 2000 09:31:00 +0000 (09:31 +0000)]
* stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the

long long modifier is seen.

24 years ago* elf/nodelete.c (do_test): Remove reference to undefined member
Andreas Schwab [Wed, 9 Aug 2000 09:17:42 +0000 (09:17 +0000)]
* elf/nodelete.c (do_test): Remove reference to undefined member

sa_restorer.
* rt/tst-aio4.c (do_test): Likewise.

24 years ago* configure.in: Add `-lm' when checking for libgd.
Andreas Schwab [Wed, 9 Aug 2000 09:11:01 +0000 (09:11 +0000)]
* configure.in: Add `-lm' when checking for libgd.

* malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
linking.

24 years ago* configure.in: Add `-lm' when checking for libgd. * malloc/Makefile ($(objpfx)memusa...
Andreas Schwab [Wed, 9 Aug 2000 09:10:26 +0000 (09:10 +0000)]
* configure.in: Add `-lm' when checking for libgd. * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during linking.

24 years agoUpdate.
Andreas Jaeger [Wed, 9 Aug 2000 07:12:30 +0000 (07:12 +0000)]
Update.

2000-08-09  Andreas Jaeger  <aj@suse.de>

* configure.in: Change required make versions.

* manual/install.texi (Tools for Compilation): Document required
make version.
(Supported Configurations): Update list of supported
configurations.

24 years agoUpdate alpha entry, add mips and ia64.
Andreas Jaeger [Wed, 9 Aug 2000 06:29:17 +0000 (06:29 +0000)]
Update alpha entry, add mips and ia64.

24 years agoUpdate.
Ulrich Drepper [Tue, 8 Aug 2000 22:43:16 +0000 (22:43 +0000)]
Update.

2000-08-08  Ulrich Drepper  <drepper@redhat.com>

* locale/linereader.c (get_string): Don't print an error is a string
contains an unknown character.

24 years agoUpdate.
Ulrich Drepper [Sun, 6 Aug 2000 17:13:27 +0000 (17:13 +0000)]
Update.

2000-08-06  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate.c (struct symbol_t): Add name element.
(new_symbol): Take new parameters with name of the symbol.
Adjust callers.
(handle_ellipsis): Don't only allow character symbols.
(collate_read): Allow string of collating elements contain invalid
characters; ignore entry in this case.
Handle ellipsis of collating symbols before first order_start.
Allow ellipsis in state 0.

24 years agoUpdate.
Ulrich Drepper [Sat, 5 Aug 2000 08:10:02 +0000 (08:10 +0000)]
Update.

2000-08-05  Ulrich Drepper  <drepper@redhat.com>

* Banner: Bump version number to 0.9.

Always allocate stack and guardpage together.  Use mprotect to

24 years agoUpdate.
Ulrich Drepper [Sat, 5 Aug 2000 06:39:52 +0000 (06:39 +0000)]
Update.

* Makefile (tests): Add tststack.  Add rule to build the program.
* tststack.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 5 Aug 2000 06:15:04 +0000 (06:15 +0000)]
Update.

* internals.h: Declare __pthread_max_stacksize.
* pthread.c (__pthread_max_stacksize): New variable.
(__pthread_initialize_manager): Determine __pthread_initialize_manager
value.
* manager.c (thread_segment): Return always NULL if FLOATING_STACKS.
(pthread_allocate_stack): Allow kernel to choose stack address if
FLOATING_STACKS.  This also handles variable-sized stacks.
Always allocate stack and guardoage together.  Use mprotect to
change guardpage access.
* sysdeps/i386/useldt.h: Define FLOATING_STACKS and
ARCH_STACK_MAX_SIZE.

* attr.c (__pthread_attr_setstacksize): Also test value against
upper limit.

24 years agoUpdate.
Ulrich Drepper [Sat, 5 Aug 2000 03:10:51 +0000 (03:10 +0000)]
Update.

2000-08-04  Ulrich Drepper  <drepper@redhat.com>

* manager.c (__pthread_nonstandard_stacks): Define only if
THREAD_SELF is not defined.
(pthread_allocate_stack): Always initialize gardaddr to a correct
value.
(pthread_handle_create): Unmap thread with one call.
(pthread_free): Remove test for initial thread before removing stack.
Unmap stack with one call.

* pthread.c (__pthread_initial_thread): Initialize p_userstack to
1 to avoid removing the stack.

24 years agoUpdate.
Ulrich Drepper [Sat, 5 Aug 2000 02:08:20 +0000 (02:08 +0000)]
Update.

2000-08-04  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
error message.
Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.

* posix/regex.c (compile_range): Translate range start and end

24 years agoUpdate.
Greg McGary [Fri, 4 Aug 2000 20:47:00 +0000 (20:47 +0000)]
Update.

24 years ago(handle_ellipsis): Fix typo in error message.
Ulrich Drepper [Fri, 4 Aug 2000 20:27:28 +0000 (20:27 +0000)]
(handle_ellipsis): Fix typo in error message.

24 years ago* posix/regex.c (SET_HIGH_BOUND): New macro.
Greg McGary [Fri, 4 Aug 2000 20:07:17 +0000 (20:07 +0000)]
* posix/regex.c (SET_HIGH_BOUND): New macro.

(MOVE_BUFFER_POINTER): Use it.
(ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
(EXTEND_BUFFER): Use it.
2000-08-04  Greg McGary  <greg@mcgary.org>

* posix/regex.c (SET_HIGH_BOUND): New macro.
(MOVE_BUFFER_POINTER): Use it.
(ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
(EXTEND_BUFFER): Use it.

24 years agoFix typos in last patch.
Ulrich Drepper [Fri, 4 Aug 2000 03:03:12 +0000 (03:03 +0000)]
Fix typos in last patch.

24 years agoUpdate.
Ulrich Drepper [Thu, 3 Aug 2000 23:38:34 +0000 (23:38 +0000)]
Update.

2000-08-03  Ulrich Drepper  <drepper@redhat.com>

* libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
* libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
_wide_data but from _IO_FILE directly.
* libio/iofclose.c: Likewise.
* libio/wfileops.c: Likewise.

* libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
* libio/libioP.h: Change prototypes.

24 years ago(_IO_default_showmanyc): Change return type to size_t.
Ulrich Drepper [Thu, 3 Aug 2000 23:32:09 +0000 (23:32 +0000)]
(_IO_default_showmanyc): Change return type to size_t.

24 years ago* sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
Greg McGary [Thu, 3 Aug 2000 21:39:16 +0000 (21:39 +0000)]
* sysdeps/i386/setjmp.S (__sigsetjmp): Pop our

frame pointer early so that we save caller's frame pointer.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
frame pointer early so that we save caller's frame pointer.
* sysdeps/i386/elf/setjmp.S: Likewise.

24 years agoUpdate.
Greg McGary [Thu, 3 Aug 2000 20:06:33 +0000 (20:06 +0000)]
Update.

2000-08-03  Greg McGary  <greg@mcgary.org>

* sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
* io/test-utime.c: Test passing NULL as utimbuf* arg.

* posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
(MOVE_BUFFER_POINTER): Handle high_bound properly.
(EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.

24 years ago* sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
Greg McGary [Thu, 3 Aug 2000 20:04:31 +0000 (20:04 +0000)]
* sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.

* io/test-utime.c: Test passing NULL as utimbuf* arg.

24 years agoUpdate.
Ulrich Drepper [Thu, 3 Aug 2000 17:59:17 +0000 (17:59 +0000)]
Update.

2000-07-27  Jes Sorensen  <jes@linuxcare.com>

* linuxthreads/sysdeps/ia64/pspinlock.c (__pthread_spin_lock): Add
load of spin lock to prime the cache before the atomic compare and
exchange operation (cmpxchg4). This avoids the spinning on the
cmpxchg4 instruction and reduces movement of the cache line back
and forth between the processors (explanation by Asis K. Mallick
from Intel). This basically makes the implementation operate the
same as the Linux kernel implementation.

* linuxthreads/shlib-versions: Use GLIBC_2_2 for Linux/ia64.
* linuxthreads/sysdeps/ia64/pspinlock.c: New file.

24 years agoUpdate.
Ulrich Drepper [Thu, 3 Aug 2000 07:29:27 +0000 (07:29 +0000)]
Update.

2000-08-03  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/big5.c: Updated.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.

24 years agoUpdate.
Ulrich Drepper [Thu, 3 Aug 2000 04:40:50 +0000 (04:40 +0000)]
Update.

* Makeconfig (all-subdirs): Add conform.
* conform/Makefile: Include ../Rules.

* Makefile (README): Add rules to generate here as well.

2000-08-02  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate. cvs/glibc_2-1-92 glibc-2.1.92
Ulrich Drepper [Wed, 2 Aug 2000 22:44:39 +0000 (22:44 +0000)]
Update.

* sysdeps/ia64/Dist: Add _mcount.S.

* sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.

* sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.

* elf/Makefile (distribute): Add missing modules.