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>.
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.
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.
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.
* 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>
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.
* 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.
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.
* 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.
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.
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.
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.
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.
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.