* stdlib/random_r.c (__setstate_r): Also compute end_ptr
correctly.
(__initstate_r): Set errno on error.
(__random_r): Likewise.
(__setstate_r): Correct offset when computing
new rptr and fptr. Test for arg_state being NULL.
Reported by Michael Fischer <fischer@cs.yale.edu>.
* stdlib/random_r.c (__setstate_r): Correct offset when computing
new rptr and fptr. Reported by Michael Fischer <fischer@cs.yale.edu>.
* posix/regex.h: Add macro definitions to allow compiling outside
glibc.
* sysdeps/i370/Implies: Removed.
* sysdeps/mvs/Implies: Removed.
* catgets/catgets.c (catopen): Filter out env_var values with / if
necessary.
* locale/findlocale.c (_nl_find_locale): Move test for unusable
locale name after all getenvs.
2000-08-21 Ulrich Drepper <drepper@redhat.com>
* Makefile (install-locales): Handle option in locale name. Print
progress information.
* SUPPORTED: Add all the @euro locales.
* locales/ca_ES@euro: Update charset comment.
* locales/de_AT@euro: New file.
* locales/de_DE@euro: New file.
* locales/de_LU@euro: New file.
* locales/en_IE@euro: New file.
* locales/es_ES@euro: New file.
* locales/fi_FI@euro: New file.
* locales/fr_BE@euro: New file.
* locales/fr_FR@euro: New file.
* locales/fr_LU@euro: New file.
* locales/it_IT@euro: New file.
* locales/nl_NL@euro: New file.
* locales/pt_PT@euro: New file.
2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/__longjmp.c: Removed unused variable result.
* sysdeps/s390/fpu/bits/fenv.h: Moved FPC_* definitions to fenv_libc.h.
* sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
* sysdeps/s390/fpu/fegetenv.c: New file.
* sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
* sysdeps/s390/fpu/feholdexcpt.c: New file.
* sysdeps/s390/fpu/fenv_libc.h: New file.
* sysdeps/s390/fpu/fesetenv.c: New file.
* sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
* sysdeps/s390/fpu/feupdateenv.c: New file.
* sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
* sysdeps/s390/fpu/fpu_control.h: Corrected header.
* sysdeps/s390/fpu/fraiseexcpt.c: New file.
* sysdeps/s390/fpu/fsetexcptflg.c: New file.
* sysdeps/s390/fpu/ftestexcept.c: New file.
* sysdeps/s390/fpu/libm-test-ulps: New file.
* sysdeps/s390/gmp-mparam.h: Add end of comment.
* sysdeps/s390/initfini.c: New file.
* sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
* sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
* sysdeps/unix/sysv/linux/s390/lchown.c: New file.
* sysdeps/unix/sysv/linux/s390/sys/elf.h: Moved elf definitions to
sys/procfs.h as proposed by Mark Kettenis.
* sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2000-08-20 Ulrich Drepper <drepper@redhat.com>
* locales/ca_ES: Correct comment.
* locales/ca_ES@euro: New file.
* locales/de_AT@euro: New file.
* locales/de_DE@euro: New file.
* locales/de_LU@euro: New file.
* locales/en_IE@euro: New file.
* locales/es_ES@euro: New file.
* locales/fi_FI@euro: New file.
* locales/fr_BE@euro: New file.
* locales/fr_FR@euro: New file.
* locales/fr_LU@euro: New file.
* locales/it_IT@euro: New file.
* locales/nl_NL@euro: New file.
* locales/pt_PT@euro: New file.
2000-08-20 Ulrich Drepper <drepper@redhat.com>
* time/tst-getdate.c (main): Make error messages more human readable.
* sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generic
postinc/postdec instruction.
(_FPU_SETCW): Likewise.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
* ctype/ctype.h (isblank): Make available if ISO C99.
* wctype/wctype.h (iswblank): Make available if ISO C99.
* math/math.h (signgam): Don't make available if ISO C99.
* math/tgmath.h (tgamma): Renamed from gamma.
Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-08-20 Ulrich Drepper <drepper@redhat.com>
* intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
Pretty printing.
* intl/plural.y (new_exp): Take number of optional parameters in
second parameter. Test for correct number of parameters and free
correctly in case of failure. Adjust all callers.
(yylex): Allow ';' as terminator character.
* locale/findlocale.c (free_mem): Also free here->filename.
* locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
* malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
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.
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>.