From 92c3af3c140f671ea49c751368d17df2e10d0eeb Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 2 Aug 2017 20:45:20 +0530 Subject: Rotate ChangeLog --- ChangeLog.11 | 21072 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 10466 insertions(+), 10606 deletions(-) (limited to 'ChangeLog.11') diff --git a/ChangeLog.11 b/ChangeLog.11 index 356da033c3..6736bcc1fa 100644 --- a/ChangeLog.11 +++ b/ChangeLog.11 @@ -1,13405 +1,13265 @@ -2000-11-09 Ulrich Drepper +2000-02-28 Ulrich Drepper - * version.h (VERSION): Bump to 2.2. - (RELEASE): Set to stable. + * sysdeps/powerpc/fprsave.S: New file. + * sysdeps/powerpc/fprrest.S: New file. + * sysdeps/powerpc/Makefile [$(subdir)=misc] (sysdep_routines): + Add fprsave and fprrest. - * posix/Makefile (tst-dir-ARGS): Fix problem with compiling in - source directory. - (tst-chmod-ARGS): Likewise. + * sysdeps/powerpc/gprrest0.S: Use ASM_GLOBAL_DIRECTIVE instead of + .globl. + * sysdeps/powerpc/gprsave0.S: Likewise. + * sysdeps/powerpc/gprrest1.S: Likewise. + * sysdeps/powerpc/gprsave1.S: Likewise. -2000-11-09 H.J. Lu + * sysdeps/powerpc/fpu/s_copysign.S: Use L() instead of local labels. + * sysdeps/powerpc/submul_1.S: Likewise. + * sysdeps/powerpc/sub_n.S: Likewise. + * sysdeps/powerpc/strcpy.S: Likewise. + * sysdeps/powerpc/strcmp.S: Likewise. + * sysdeps/powerpc/stpcpy.S: Likewise. + * sysdeps/powerpc/rshift.S: Likewise. + * sysdeps/powerpc/mul_1.S: Likewise. + * sysdeps/powerpc/memset.S: Likewise. + * sysdeps/powerpc/lshift.S: Likewise. + * sysdeps/powerpc/addmul_1.S: Likewise. + * sysdeps/powerpc/add_n.S: Likewise. - * io/Versions (GLIBC_2.2): Add __open64. + * sysdeps/unix/start.c: Initialize __errno and add comment + explaining why. Remove K&R compatibility. + + * sysdeps/powerpc/fpu/s_isnan.c: Avoid using asm statement to + declare aliases. + + * sysdeps/powerpc/Makefile: Always pass flags to compile for ppc + and not rs6000. + [$(subdir)=misc] (sysdep_routines): Add gprsave0, gprrest0, + gprsave1 , and gprrest1. + Don't pass special flags to compiler for init and gmon-start if + this is no ELF platform. + * sysdeps/powerpc/gprrest0.S: New file. + * sysdeps/powerpc/gprsave0.S: New file. + * sysdeps/powerpc/gprrest1.S: New file. + * sysdeps/powerpc/gprsave1.S: New file. + * sysdeps/powerpc/Versions: Export _savegpr* and _restgpr* + functions. -2000-11-09 Jakub Jelinek + * sysdeps/mach/hurd/bits/statfs.h: Define _STATFS_F_NAMELEN. + * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: Likewise. + * sysdeps/posix/fpathconf.c: Don't unconditionally use f_namelen + in statfs. Check feature macro and use f_name_max or NAME_MAX + instead. + * sysdeps/posix/pathconf.c: Likewise. - * locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK. + * dlfcn/dlfcn.h: Remove DL_CALL_FCT definition here. + * sysdeps/generic/bits/dlfcn.h: Define DL_CALL_FCT here. + * sysdeps/mips/bits/dlfcn.h: Define DL_CALL_FCT here. + * iconv/skeleton.c: If DL_CALL_FCT is not yet defined, add dummy + definition here. -2000-11-09 Jakub Jelinek + * sysdeps/generic/libc-start.c: Fix typo in comment. - * locale/programs/ld-paper.c (paper_output): Fix offset into width - field. + * include/set-hooks.h: Allow systems to not define + symbol_set_define. -2000-10-27 Bruno Haible + * configure.in: Unify machine names rs6000 and powerpc. - * locale/programs/charmap.c (charmap_read): Verify ASCII - compatibility of charmap. +2000-02-25 Andreas Jaeger -2000-11-08 Ulrich Drepper + * malloc/Versions: Change version of __libc_freeres to 2.1 in + accordance with usage in glibc 2.1.3. - * catgets/gencat.c (main): Don't use exit() to avoid warnings with - broken compilers. +2000-02-28 Ulrich Drepper - * include/features.h (__STDC_ISO_10646__): Correct value to be - 200009L. Patch by Markus Kuhn . + * stdlib/msort.c (qsort): Limit the amount of memory spend on a + temporary array for the mergesort. + +2000-02-28 Andreas Jaeger + + * stdlib/canonicalize.c: Include for ptrdiff_t. + +2000-02-27 Ulrich Drepper + + * conform/conformtest.pl (@headers): Add wordexp.h, wctype.h, wchar.h, + varargs.h, utmpx.h, utime.h, unistd.h, ulimit.h, ucontext.h, time.h, + termios.h, tar.h, sys/wait.h, sys/uio.h, sys/types.h, sys/times.h, + sys/timeb.h, sys/time.h, sys/statvfs.h, sys/stat.h, sys/shm.h, + sys/sem.h, and sys/resource.h. + Implement handling of allow-header. + * conform/data/fcntl.h-data: Correct various bugs. + * conform/data/fnmatch.h-data: Likewise. + * conform/data/math.h-data: Likewise. + * conform/data/ndbm.h-data: Likewise. + * conform/data/nl_types.h-data: Likewise. + * conform/data/poll.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/semaphore.h-data: Likewise. + * conform/data/setjmp.h-data: Likewise. + * conform/data/signal.h-data: Likewise. + * conform/data/stdarg.h-data: Likewise. + * conform/data/stddef.h-data: Likewise. + * conform/data/stdio.h-data: Likewise. + * conform/data/stdlib.h-data: Likewise. + * conform/data/string.h-data: Likewise. + * conform/data/strings.h-data: Likewise. + * conform/data/stropts.h-data: Likewise. + * conform/data/syslog.h-data: Likewise. + * conform/data/sys/ipc.h-data: Likewise. + * conform/data/sys/mman.h-data: Likewise. + * conform/data/sys/msg.h-data: Likewise. + * conform/data/tar.h-data: New file. + * conform/data/termios.h-data: New file. + * conform/data/time.h-data: New file. + * conform/data/ucontext.h-data: New file. + * conform/data/ulimit.h-data: New file. + * conform/data/unistd.h-data: New file. + * conform/data/utime.h-data: New file. + * conform/data/utmpx.h-data: New file. + * conform/data/varargs.h-data: New file. + * conform/data/wchar.h-data: New file. + * conform/data/wctype.h-data: New file. + * conform/data/wordexp.h-data: New file. + * conform/data/sys/resource.h-data: New file. + * conform/data/sys/sem.h-data: New file. + * conform/data/sys/shm.h-data: New file. + * conform/data/sys/stat.h-data: New file. + * conform/data/sys/statvfs.h-data: New file. + * conform/data/sys/time.h-data: New file. + * conform/data/sys/timeb.h-data: New file. + * conform/data/sys/times.h-data: New file. + * conform/data/sys/types.h-data: New file. + * conform/data/sys/uio.h-data: New file. + * conform/data/sys/wait.h-data: New file. + + * grp/grp.h (getgrent_r): Declare only if __USE_GNU. + + * include/sys/time.h (__itimes): Fix type of second parameter. + + * io/sys/stat.h (S_IFLNK): Define also if __USE_XOPEN. + (S_ISVTX): Likewise. + + * io/sys/statvfs.h: Define fsblkcnt_t and fsfilcnt_t. + + * locale/langindo.h: Make ERA_YEAR, INT_CURR_SYMBOL, CURRENCY_SYMBOL, + MON_DECIMAL_POINT, MON_THOUSANDS_SEP, MON_GROUPING, POSITIVE_SIGN, + NEGATIVE_SIGN, INT_FRAC_DIGITS, FRAC_DIGITS, P_CS_PRECEDES, + P_SEP_BY_SPACE, N_CS_PRECEDES, N_SEP_BY_SPACE, P_SIGN_POSN, + N_SIGN_POSN, DECIMAL_POINT, THOUSANDS_SEP, GROUPING, YESEXPR, + NOEXPR, YESSTR, and NOSTR only available if __USE_GNU. + + * math/bits/mathcalls.h: Don't declare tgamma and scalbn if only + __USE_XOPEN. + + * posix/unistd.h: Don't define ptrdiff_t. + (sbrk): Correct type of parameter. + * sysdeps/generic/sbrk.c: Likewise. + * sysdeps/mach/hurd/sbrk.c: Likewise. + + * posix/sys/types.h: Allow id_t, suseconds_t, fsblkcnt_t, and + fsfilcnt_t being defined elsewhere. + + * resource/sys/resource.h: Define id_t. + If __USE_XOPEN use int for type of first parameter if getrlimit, + getrlimit64, setrlimit, setrlimit64, getrusage, getpriority, and + setpriority. + * sysdeps/generic/getpriority.c: Fix type of second parameter. + * sysdeps/generic/setpriority.c: Likewise. + * sysdeps/mach/hurd/getpriority.c: Likewise. + * sysdeps/mach/hurd/setpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. + * sysdeps/unix/sysv/irix4/setpriority.c: Likewise. + * sysdeps/unix/sysv/linux/getpriority.c: Likewise. + + * sysdeps/generic/utimes.c: Fix parameter of third parameter. + * sysdeps/mach/hurd/utimes.c: Likewise. + * sysdeps/posix/utimes.c: Likewise. + + * sysdeps/generic/bits/shm.h: Define shmatt_t type and use it in + struct shmid_ds definition. + * sysdeps/gnu/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + + * sysvipc/sys/shm.h: Define time_t. + + * sysvipc/sys/sem.h (struct sembuf): Make sem_num field unsigned. + + * sysdeps/gnu/bits/sem.h: Rename anonymous type struct sem_queue and + struct sem_undo to struct __sem_queue and struct __sem_undo resp. + + * time/time.h: Define suseconds_t if not already done. + + * sysdeps/unix/sysv/linux/bits/statvfs.h: Rename f_spare to __f_spare. + * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. + * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. -2000-11-08 H.J. Lu + * intl/bindtextdom.c: Use rwlock to avoid surprising results in + multithreaded applications. + * intl/dcigettext.c: Likewise. + * intl/textdomain.c: Likewise. + * intl/*.c: Update copyright. + * sysdeps/generic/bits/libc-lock.h: Define __libc_rwlock_* stubs. - * pwd/Versions (GLIBC_2.1.2): Add getpwnam_r. +2000-02-27 Andreas Jaeger -2000-11-08 Jakub Jelinek + * sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as + prefix especially. - * string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are - defined, not _HAVE_STRING_ARCH_. - * sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset, - _USE_STRING_ARCH_strchr): Define. - * sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset, - _USE_STRING_ARCH_strchr): Define. - * sysdeps/sparc/bits/string.h: New file. +2000-02-27 Ulrich Drepper -2000-11-08 Bruno Haible + * po/de.po: Update from translation team. + * po/ko.po: Likewise. - * locale/C-translit.h.in: Tweak result. - * locale/C-translit.h: Regenerated. +2000-02-25 Andreas Jaeger -2000-11-08 Ulrich Drepper + * math/Versions: Move fe* function to GLIBC_2.2. The patches have + not been added to glibc 2.1.3. + * Versions.def: Remove 2.1.3 entry for math. + * sysdeps/alpha/fpu/fclrexcpt.c: Change default version to GLIBC_2.2. + * sysdeps/alpha/fpu/fegetenv.c: Likewise. + * sysdeps/alpha/fpu/fesetenv.c: Likewise. + * sysdeps/alpha/fpu/feupdateenv.c: Likewise. + * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. + * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. + * sysdeps/arm/fpu/fclrexcpt.c: Likewise. + * sysdeps/arm/fpu/fegetenv.c: Likewise. + * sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. + * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. + * sysdeps/generic/fclrexcpt.c: Likewise. + * sysdeps/generic/fegetenv.c: Likewise. + * sysdeps/generic/fesetenv.c: Likewise. + * sysdeps/generic/feupdateenv.c: Likewise. + * sysdeps/generic/fgetexcptflg.c: Likewise. + * sysdeps/generic/fraiseexcpt.c: Likewise. + * sysdeps/generic/fsetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c: Likewise. + * sysdeps/i386/fpu/fegetenv.c: Likewise. + * sysdeps/i386/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/feupdateenv.c: Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. + * sysdeps/m68k/fpu/fegetenv.c: Likewise. + * sysdeps/m68k/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/fpu/feupdateenv.c: Likewise. + * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. + * sysdeps/mips/fpu/fclrexcpt.c: Likewise. + * sysdeps/mips/fpu/fegetenv.c: Likewise. + * sysdeps/mips/fpu/fesetenv.c: Likewise. + * sysdeps/mips/fpu/feupdateenv.c: Likewise. + * sysdeps/mips/fpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fclrexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fesetenv.c: Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fclrexcpt.c: Likewise. + * sysdeps/sparc/fpu/fegetenv.c: Likewise. + * sysdeps/sparc/fpu/fesetenv.c: Likewise. + * sysdeps/sparc/fpu/feupdateenv.c: Likewise. + * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. - * posix/unistd.h: Add attribute((const)) to sysconf prototype. +2000-02-25 Andreas Jaeger - * iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc. - (BODY from direction): Remove special handling of \x5c. - * iconvdata/EUC-KR.irreversible: Adjust for this change. - * iconvdata/testdata/EUC-KR..UTF8: Likewise. - Reported by Jungshik Shin . + * sysdeps/alpha/fpu/fraiseexcpt.c (__feraiseexcept): Correct + declaration to return value. -2000-11-07 Kazumoto Kojima + * sysdeps/ieee754/Makefile (CFLAGS-k_standard.c): Added. - * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields. + * math/Makefile: Remove -Wno-write-strings since it's only needed + by one file. -2000-11-06 Ulrich Drepper + * intl/Makefile (CFLAGS-bindtextdom.c): The code has been fixed, + we don't need to disable the warnings anymore, remove them. + (CFLAGS-finddomain.c): Likewise. + (CFLAGS-localealias.c): Likewise. - * iconvdata/big5.c: Regenerated after BIG5 charmap change. - Patch by Tung-Han Hsieh . +2000-02-25 Andreas Jaeger - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in - comparison with new cache magic bytes. - Patch by Denis Zaitsev . + * configure.in: Allow sed 3.02 or newer versions. -2000-11-03 Bruno Haible + * manual/install.texi (Tools for Compilation): Document sed + requirement. - * locale/C-translit.h.in: Update from translit_neutral. - * locale/C-translit.h: Regenerated. - * intl/tst-translit.c: Update. +2000-02-25 Ulrich Drepper -2000-11-04 Mark Kettenis + * sysdeps/powerpc/bzero.S: Moved to... + * sysdeps/powerpc/elf/bzero.S: ...here. New file. - * sysdeps/mach/hurd/Dist: Remove clk_tck.c. + * posix/environ.c: Moved to... + * sysdeps/generic/environ.c: ...here. New file. - * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove - __libc_clk_tck. - * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): - Remove clk_tck. - * sysdeps/mach/hurd/clk_tck.c: Removed. - * sysdeps/mach/hurd/getclktck.c: New file. - * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use - __getclktck instead of __libc_clk_tck. - * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead - of __libc_clk_tck. - * sysdeps/mach/hurd/i386/bits/time.h: Likewise. +2000-02-25 Andreas Jaeger -2000-11-03 Ulrich Drepper + * stdio-common/Makefile (CFLAGS-_itoa.c): The code has been + fixed, we don't need to disable the warnings anymore, remove them. + * elf/Makefile (CFLAGS-dl-load.c): Likewise. - * posix/Versions: Export __sysconf. + * posix/Makefile (CFLAGS-regex.c): Remove not needed warning + flag. -2000-11-02 Ulrich Drepper + * posix/regex.c (regex_compile): Remove unused variables. - * version.h (VERSION): Bump to 2.1.97. +2000-02-25 Andreas Jaeger - * iconvdata/Makefile (distribute): Add viscii.c. + * sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use + __pid_t. + * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. - * elf/Makefile (distribute): Add tst-pathopt.sh. +2000-02-25 Andreas Jaeger - * sysdeps/i386/i486/bits/string.h (strcmp): Cast arguments to - __strcmp_cc, __strcmp_cg, and __strcmp_gc to unsigned char *. - (__strcmp_cc, __strcmp_cg, __strcmp_gc): Remove casts of values here. - Reported by Denis Zaitsev . + * locale/programs/ld-ctype.c (allocate_arrays): Add missing + variable declaration. - * iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from - being written. +2000-02-25 Ulrich Drepper - * manual/socket.texi (Local Namespace Concepts): Don't mention what - permissions are necessary to connect to a socket. - Reported by Peter Eisentraut . + * conform/conformtest.pl (@headers): Add "sys/msg.h", "sys/mman.h", + "sys/ipc.h", "syslog.h", and "stropts.h". + Handle / in header names correctly. + * conform/data/stropts.h-data: New file. + * conform/data/syslog.h-data: New file. + * conform/data/sys/ipc.h-data: New file. + * conform/data/sys/mman.h-data: New file. + * conform/data/sys/msg.h-data: New file. - * sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix - computation of total for 64-bit machines. - Patch by Byron Stanoszek . + * misc/sys/mman.h: Define off_t and mode_t if not already done. - * manual/arith.texi (Rounding): Correct description of fesetround - return value. Patch by Conrado Badenas . + * streams/stropts.h: Define gid_t and uid_t if not already done. -2000-10-30 Maciej W. Rozycki + * sysdeps/gnu/bits/ipc.h (IPC_INFO): Only define if __USE_GNU. + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. - * sysdeps/mips/dl-machine.h (elf_machine_rel): Add the symbol's - value plus the run-time displacement to the relocation for non-GOT - symbols. Set the relocation to the GOT entry for GOT symbols. + * sysvipc/sys/msg.h: Don't include sys/types.h. + Define time_t, pid_t, and ssize_t if not already done. + (struct msgbuf): Define only if __USE_GNU. -2000-11-02 Ulrich Drepper + * sysdeps/generic/bits/msq.h: Include bits/types.h, not sys/types.h. + (MSG_EXCEPT): Only define if __USE_GNU. + Define msgqnum_t and msglen_t and use them in struct msqid_ds + definition. + * sysdeps/gnu/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Removed. + * sysdeps/generic/bits/stropts.h (I_GWROPT): Renamed from I_GWRSET. + (FLUSHBAND): Only define is __USE_GNU. + (RPROTMASK): Likewise. + (SNDPIPE): Likewise. + (MUXID_ALL): Likewise. + (struct strrecvfd): Rename fill to __fill. -2000-11-01 Ulrich Drepper +2000-02-24 Ulrich Drepper - * iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935, - IBM937, IBM939, and IBM1046. - * iconvdata/testdata/IBM1046: New file. - * iconvdata/testdata/IBM930..UTF8: New file. - * iconvdata/testdata/IBM1046..UTF8: New file. - * iconvdata/testdata/IBM933: New file. - * iconvdata/testdata/IBM935: New file. - * iconvdata/testdata/IBM937: New file. - * iconvdata/testdata/IBM856..UTF8: New file. - * iconvdata/testdata/IBM939: New file. - * iconvdata/testdata/IBM933..UTF8: New file. - * iconvdata/testdata/IBM935..UTF8: New file. - * iconvdata/testdata/IBM930: New file. - * iconvdata/testdata/IBM856: New file. - * iconvdata/testdata/IBM937..UTF8: New file. - * iconvdata/testdata/IBM939..UTF8: New file. - Contributed by Masahide Washizawa . + * stdlib/stdlib.h: Move definition X/Open compatibility stuff + inside the main #ifdef. -2000-11-01 Martin Buchholz +2000-02-24 Geoff Clare - * manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to - agree with implementation. + * posix/wordexp-test.c: Updated to include tests for all the + problems fixed by the last changes to wordexp.c. -2000-11-01 Ulrich Drepper +2000-02-24 Ulrich Drepper - * sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result - to __clock_t. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result - of unary ~ to size_t. - - * stdlib/strtod.c: Make gcc shut up about SWAP use. - - * sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin - unordered compare functions to gcc 2.97 and up. - - * string/bits/string2.h: Disable strstr optimizations for newer - gcc versions. Patch by Joseph S. Myers . - - * configure.in (with_cvs): Test for pserver access. - -2000-10-31 Ulrich Drepper - - * elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize. - * elf/dl-load.c: Define _dl_clktck. - * elf/elf.h: Define AT_CLKTCK. - * include/time.h: Declare __getclktck. - * misc/Makefile (routines): Add getclktck. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK. - (_dl_show_auxv): Show AT_CLKTCK value. - * sysdeps/generic/getclktck.c: New file. - * sysdeps/unix/sysv/linux/getclktck.c: New file. - * sysdeps/unix/sysv/linux/alpha/getclktck.c: New file. - * sysdeps/unix/sysv/linux/ia64/getclktck.c: New file. - * sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK. - * sysdeps/unix/sysv/linux/getpagesize.c: New file. - * sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. - - * sunrpc/clnt_gen.c (clnt_create): Don't set timeout with - clnt_control for any protocol. This would make it impossible for - the user to provide one in clnt_call(). - Reported by Hitoshi Guutara Maruyama . - * sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero, - use ct->ct_wait. - * sunrpc/clnt_unix.c (clnt_call): Likewise. - -2000-10-31 Jes Sorensen - - * sysdeps/ia64/fpu/s_isinfl.S: New file, - assembly based - implementation based on suggestion by Richard Henderson. - * sysdeps/ia64/fpu/s_isinfl.c: Removed. - -2000-10-30 Jes Sorensen - - * sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based - implementation based on suggestion by Richard Henderson. - * sysdeps/ia64/fpu/s_isnanl.c: Removed. - -2000-10-31 Ulrich Drepper - - * locale/programs/locale.c (print_item): Fix one more problem with - string lists. Patch by Chen Xiangyang . - - * locale/categories.def: Add number of arguments to ctype-map-names - and ctype-class-names entries. Mark era as stringlist. - - * iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935, - IBM937, IBM939, and IBM1046. - (distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c, - ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h, - ibm939.h, and ibm1046.h. - * iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933, - IBM935, IBM937, IBM939, and IBM1046. - * iconvdata/ibm1046.c: New file. - * iconvdata/ibm1046.h: New file. - * iconvdata/ibm856.c: New file. - * iconvdata/ibm856.h: New file. - * iconvdata/ibm930.c: New file. - * iconvdata/ibm930.h: New file. - * iconvdata/ibm933.c: New file. - * iconvdata/ibm933.h: New file. - * iconvdata/ibm935.c: New file. - * iconvdata/ibm935.h: New file. - * iconvdata/ibm937.c: New file. - * iconvdata/ibm937.h: New file. - * iconvdata/ibm939.c: New file. - * iconvdata/ibm939.h: New file. - Patches by Masahide Washizawa . + * posix/sys/wait.h: Handle definitions duplicated in stdlib.h + correctly. + * stdlib/stdlib.h: Handle definition of wait macros correctly. -2000-10-30 Ulrich Drepper + * posix/sys/wait.h: Add missing #endif. - * locale/localeinfo.h (enum value_type): Add wstring, wstringarray, - and wstringlist. - * locale/categories.def: Mark wide char strings as wstring or - stringarray. - * locale/programs/locale.c (show_info): Handle wstring, wstringarray, - and wstringlist. Print keywords only if there is real output. - Reported by Chen Xiangyang . + * stdlib/stdlib.h (setstate): Don't mark argument as const (yet). + * stdlib/random_r.c: Change parameter types for initstate_t and + setstate_r. + * include/stdlib.h: Change parameter types for __initstate_t and + __setstate_r. - * sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary. - Patch by Ben Collins . +2000-02-24 Andreas Jaeger - * stdio-common/Makefile (tests): Add tst-fmemopen. - * stdio-common/tst-fmemopen.c: New file. - Test case by Ben Collins . + * include/stdlib.h: Fix prototypes of __initstate and __setstate. - * libio/iofopncook.c (_IO_cookie_seek): Correct test for error. + * manual/time.texi (Precision Time): Fix typo. + Patch by John Tobey , PR libc/1576. - * libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer. - (fmemopen_write): Set errno at end of buffer. +2000-02-24 Ulrich Drepper - * posix/runtests.c (main): Don't use exit() to avoid warning with - broken compilers. + * conform/conformtest.pl (@headers): Add string.h and strings.h. + * conform/data/string.h-data: New file. + * conform/data/strings.h-data: New file. - * string/bug-strncat1.c: Undefine __USE_STRING_INLINES before - defining it again to avoid warning. - * string/bug-strpbrk1.c: Likewise. - * string/bug-strspn1.c: Likewise. + * string/string.h [__USE_XOPEN]: Don't declare functions from + here as well. -2000-10-29 Bruno Haible +2000-02-23 Ulrich Drepper - * locale/C-translit.h.in: Include more rules from translit_neutral. - Remove a few German and Danish specific rules. - * locale/gen-translit.pl: Avoid an error when printing a string - containing a '%' character. - * locale/C-translit.h: Regenerated. - * intl/translit.po: Choose different translations. - * intl/tst-translit.c: Update. + * posix/sys/wait.h: Pretty printing. Allow WEXITSTATUS etc be + defined elsewhere. + * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc. + * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h. + * sysdeps/unix/bsd/bits/waitflags.h: Likewise. + * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise. + * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise. + * sysdeps/generic/bits/waitstatus.h: Likewise. -2000-10-29 Bruno Haible + * posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one + error in expansion of ~user; correct handling of WRDE_APPEND and + WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command + substitutions; limit removal of newlines to those that are + really `trailing'; allow for current word to continue after + a command substitution (e.g. "a$(echo b)c"); restore pwordexp + members properly on error returns. + Patch by Geoff Clare . - * locale/programs/ld-ctype.c (translit_include_t): New type. - (locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire - fields, add translit_include field. - (ctype_read): After seeing "translit_start" in ignore_content mode, - skip the entire translit section, not only one line. Remove dead test - for tok_translit_end. Enqueue include statements into a list. - Signal error if tok_eof seen before tok_translit_end. - (translit_flatten): New function. - (allocate_arrays): Call translit_flatten. + * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end + of width table is 4-byte aligned. + (ctype_output): Write out the entire width array. -2000-10-30 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL. - * locale/findlocale.c (free_mem): We can remove NODELETE marked - data, just not the C locale data. +2000-02-23 Andreas Jaeger - * intl/tst-gettext.c: Use setlocale() in addition to setting envvar. - * intl/tst-gettext.sh: Copy locale data if necessary. - * intl/Makefile (generated-dirs): Add localedir. + * dlfcn/dlopen.c: Include for NULL. + * dlfcn/dlopenold.c: Likewise. + * dlfcn/dlsym.c: Likewise. + * dlfcn/dlvsym.c: Likewise. + * iconv/gconv.c: Likewise. - * intl/dcigettext.c (guess_category_value): For libc always use - the setlocale() method. +2000-02-23 Ulrich Drepper - * intl/Makefile: Add rules to build, run and, distribute tst-gettext2. - * intl/tst-gettext2.c: New file. - * intl/tst-gettext2.sh: New file. - * intl/tstlang1.po: New file. - * intl/tstlang2.po: New file. - Patch by Andreas Jaeger . + * conform/conformtest.pl (@headers): Add stdlib.h. + * conform/data/stdlib.h-data: New file. -2000-10-26 GOTO Masanori - - * intl/locale.alias: Add ja_JP.ujis alias. - -2000-10-30 Ulrich Drepper - - * locale/findlocale.c (_nl_find_locale): Don't store normalized - name in *NAME. - -2000-10-29 Ben Collins +2000-02-22 Ulrich Drepper - * sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to - F_RDLCK explicitly. - * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise. + * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL. -2000-10-29 Ulrich Drepper + * iconv/iconv.h (iconv): Fix prototype. - * iconvdata/big5.c: Update. - Patch by Tung-Han Hsieh . + * misc/libgen.h: When using gcc using renaming feature to get XPG + definition of basename. - * iconvdata/Makefile (distribute): Add BIG5.irreversible. - * iconvdata/BIG5.irreversible: New file. + * misc/search.h (struct entry): Fix type of element data. -2000-10-29 Greg Louis + * posix/unistd.h (getpagesize): Declare as const function. - * posix/regex.h (__restrict_arr): Move definition out of #ifndef block. - Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but - doesn't define __restrict_arr. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. -2000-10-29 Ulrich Drepper + * signal/signal.h [__USE_XOPEN]: Define uid_t. + (sigstack): Correct type of first parameter. + * sysdeps/generic/sigstack.c (sigstack): Likewise. + * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise. - * manual/search.texi: Correct description if VISIT values. - Patch by Ben Collins . + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file. Copy of + old sysdeps/unix/sysv/linux/bits/siginfo.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band): + Change type to `long int'. - * string/bits/string2.h (strspn): Evaluate first argument if - second is "". - (strpbrk): Likewise. - * sysdeps/i386/i486/bits/string.h: Likewise. - * string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1. - * string/bug-strspn1.c: New file. - * string/bug-strpbrk1.c: New file. - Test cases by Joseph S. Myers . + * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to + __xpg_sigpause. + * sysdeps/generic/sigpause.c: Define __xpg_sigpause. + * sysdeps/posix/sigpause.c: Likewise. - * string/bits/string2.h (strncat): Terminate string correctly. - * sysdeps/i386/i486/bits/string.h (strncat): Likewise. - * string/Makefile (tests): Add bug-strncat1. - * string/bug-strncat1.c: New file. - Test case by Joseph S. Myers . + * conform/conformtest.pl: Correct bugs. Add more functionality. + * conform/data/dlfcn.h-data: Correct typos. + * conform/data/ftw.h-data: Likewise. + * conform/data/iconv.h-data: Likewise. + * conform/data/nl_types.h-data: Likewise. + * conform/data/search.h-data: Likewise. + * conform/data/semaphore.h-data: New file. + * conform/data/setjmp.h-data: New file. + * conform/data/signal.h-data: New file. + * conform/data/stdarg.h-data: New file. + * conform/data/stddef.h-data: New file. + * conform/data/stdio.h-data: New file. -2000-10-27 Ben Collins + * po/de.po: Update from translation team. - * sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before - calling for F_GETLK. +1999-12-31 Martin Buchholz -2000-10-29 Ulrich Drepper + * argp/argp-help.c: Fix typos. + * argp/argp.h: Likewise. + * elf/dl-object.c: Likewise. + * elf/dl-open.c: Likewise. + * elf/elf.h: Likewise. + * elf/rtld.c: Likewise. + * iconv/gconv_open.c: Likewise. + * localedata/tst-fmon.data: Likewise. + * localedata/tst-rpmatch.sh: Likewise. + * login/programs/xtmp.h: Likewise. + * manual/arith.texi: Likewise. + * manual/charset.texi: Likewise. + * manual/creature.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/search.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/string.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/users.texi: Likewise. + * manual/examples/argp-ex2.c: Likewise. + * manual/examples/argp-ex3.c: Likewise. + * manual/examples/argp-ex4.c: Likewise. + * manual/examples/mkfsock.c: Likewise. + * math/test-fenv.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nss/test-netdb.c: Likewise. + * posix/regex.c: Likewise. + * scripts/test-installation.pl: Likewise. + * stdlib/canonicalize.c: Likewise. + * stdlib/fmtmsg.c: Likewise. + * string/argz-replace.c: Likewise. + * string/argz.h: Likewise. + * string/bits/string2.h: Likewise. + * sysdeps/generic/glob.c: Likewise. + * sysdeps/generic/setenv.c: Likewise. + * sysdeps/i386/memcmp.S: Likewise. + * sysdeps/posix/waitid.c: Likewise. + * time/tzset.c: Likewise. - * elf/dl-load.c (open_path): Don't exit loop early if we didn't - use a directory at all. +2000-02-21 Ulrich Drepper - * elf/Makefile: Add rules to build and run tst-pathopt. - * elf/tst-pathopt.c: New file. - * elf/tst-pathopt.sh: New file. - * elf/pathoptobj.c: New file. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add + getrlimit@GLIBC_2.0. + Reported by Yoshito Kawada . - * elf/elf.h (SHN_XINDEX): Define. + * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed. + Reported by Kaoru Fukui . -2000-10-28 Ulrich Drepper + * elf/elf.h (ELF32_ST_OTHER): Removed. + (ELF64_ST_OTHER): Likewise. - * io/Makefile (tests): Add test-stat2. - (test-stat2-ARS): New variable. - * io/test-stat2.c: New file. + * sysdeps/alpha/fpu/fpu_control.h: Update comment. - * Makeconfig (ETAGS): Remove -T flag. + * malloc/Makefile (tests): Add tst-valloc. + * malloc/tst-valloc.c: New file. - * elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC - objects. Reject all other types. - (_dl_map_object_from_fd): Optimize a bit. +2000-02-21 Andreas Jaeger -2000-10-27 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to + IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and + IPV6_RTHDR_TYPE_0 to synch with RFC 2292. + * sysdeps/generic/bits/in.h: Likewise. - * stdio-common/Makefile (tests): Add tst-fseek. - * stdio-common/tst-fseek.c: New file. +2000-02-21 Ulrich Drepper - * posix/regex.c (gettext): Use correct translation domain for glibc. + * po/gl.po: Update from translation team. - * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc. - * argp/argp-help.c: Likewise. - * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf. - * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf. - * misc/regexp.c (__step): Use __regexec instead of regexec. - (__advance): Likewise. - * nss/digits_dots.c: Use __inet_aton instead of inet_aton. - * nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since - the former is not exported. - * misc/daemon.c (daemon): Use __fork instead of fork. + * timezone/antarctica: Update from tzdata2000b. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. - * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make - it look better and bring it closer to SysV behavior. - * stdlib/Makefile (distribute): Add tst-fmtmsg.sh. - (test-srcs): Add tst-fmtmsg. - (tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it. - * stdlib/tst-fmtmsg.sh: New file. - * stdlib/tst-fmtmsg.c: New file. + * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn + call to initialize malloc_getpagesize. + (pvALLOc): Likewise. - * iconvdata/Makefile (modules): Add VISCII. - (gen-8bit-modules): Add viscii. - * iconvdata/viscii.c: New file. - * iconvdata/gconv-modules: Add entries for VISCII. - * iconvdata/tst-tables.sh: Add VISCII. +2000-02-20 Ulrich Drepper -2000-10-27 Andreas Schwab + * po/it.po: Update from translation team. - * sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps. +2000-02-20 Philip Blundell -2000-10-26 Ulrich Drepper + * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error. - * version.h (VERSION): Bump to 2.1.96. +2000-02-20 Ulrich Drepper - * inet/getipnodebyad.c: Removed. - * inet/getipnodebynm.c: Removed. - * inet/tst-ipnode.c: Removed. - * inet/freehostent.c: Removed. + * sunrpc/rpc_main.c (checkfiles): Add comment to help translators. - * sysdeps/unix/bsd/osf/=dirstream.h: Removed. + * po/de.po: Update from translation team. - * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h. +2000-02-19 Ulrich Drepper - * elf/Makefile (distribute): Add neededobj4.c. + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of + _libc_fpreg and _libc_fpstate and use it to define fpregset_t. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define + using elf_gregset_t. + (prfpregset_t): Define using elf_fpregset_t. - * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible. + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t + definition compatible with definition in 2.1.2 and before. + (struct ucontext): Use fpregset_t. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define + as pointer to fpregset_t. - * sysdeps/hppa/Dist: New file. - * sysdeps/unix/sysv/linux/hppa/Dist: New file. +2000-02-18 Ulrich Drepper - * posix/tst-chmod.c (do_test): Account for people running the - tests as root. + * string/bits/string2.h (strnlen): Add cast to prevent warning. - * locale/langinfo.h (THOUSEP): Define this and don't duplicate - definition of THOUSANDS_SEP. + * nscd/connections.c (handle_request): Don't abort() if unknown + command is sent. - * locale/C-monetary.c: Set mon_decimal to empty string. - Add missing entry _NL_MONETARY_CRNCYSTR. - * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use - DECIMAL_POINT information. - * locale/C-numeric.c: Set mon_grouping entry to empty string. - * locale/C-time.c: Add date_fmt entries. Remove two wrong entries. - Correct value for number of entries. - * locale/localeconv.c: Normalize result passed back in .grouping. - Fix assignment to .int_* entries. +2000-02-17 Ulrich Drepper - * locale/Makefile (tests): Add tst-C-locale. - * locale/tst-C-locale.c: New file. + * nscd/hstcache.c (cache_addhst): Don't cache name->record entries + if more than one IP address is available. - * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate - locale files. - * locale/newlocale.c: Likewise. +2000-02-17 Jakub Jelinek -2000-10-26 GOTO Masanori + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel. - * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT. - * locale/categories.def: New support for date_fmt. - * locale/programs/ld-time.c: Likewise. - * locale/programs/locfile-kw.gperf: Likewise. - * locale/programs/locfile-kw.h: Likewise. - * locale/programs/locfile-token.h: Likewise. - -2000-10-26 Jakub Jelinek - - * sysdeps/ieee754/ldbl-128/e_hypotl.c: New. - - * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test): - Increase precision of constants. - * sysdeps/alpha/fpu/libm-test-ulps: Update. - * sysdeps/arm/libm-test-ulps: Update. - * sysdeps/i386/fpu/libm-test-ulps: Update. - * sysdeps/ia64/fpu/libm-test-ulps: Update. - * sysdeps/m68k/fpu/libm-test-ulps: Update. - * sysdeps/mips/fpu/libm-test-ulps: Update. - * sysdeps/powerpc/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - * sysdeps/sh/sh4/fpu/libm-test-ulps: Update. - * sysdeps/s390/fpu/libm-test-ulps: Update. - -2000-10-26 Ulrich Drepper - - * io/Makefile (tests): Add tst-fcntl. - * io/tst-fcntl.c: New file. - - * posix/Makefile (tests): Add tst-chmod. - (tst-chmod-ARGS): Define. - * posix/tst-chmod.c: New file. - - * test-skeleton.c: Before calling user-defined function remove - parameters from argument list. - * posix/tst-exec.c: Adjust to this change. - * posix/tst-spawn.c: Likewise. - - * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add - __builtin_expect. - -2000-10-25 Ulrich Drepper - - * intl/Makefile (tests): Add tst-ngettext. - * intl/tst-ngettext.c: New file. - -2000-10-25 Bruno Haible - - * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT. - * manual/message.texi (Translation with gettext): Remove paragraph - about macros contained in libintl.h. - (bind_textdomain_codeset): Describe codeset argument. - (Using gettextized software): Add setlocale call to sample code. - -2000-10-26 Kazumoto Kojima - Yutaka Niibe - - * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place - relocation which is generated by new ld. - * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values. - (_fini): Delete an obsolete register prefix. - * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64, - __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64 - and versionsort64 as the 2.2-versioned symbols. - * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call - calling convention of the kernel. - * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise. - * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. - * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. - * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. - * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. - * sysdeps/unix/sysv/linux/sh/fcntl.c: New file. - * sysdeps/unix/sysv/linux/sh/lockf64.c: New file. - * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header - file and delete the definitions of struct user and user_fp. - * sysdeps/unix/sysv/linux/sh/syscall.S: New file. - * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for - s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve, - rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo, - rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups, - s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid, - s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot, - s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, - s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid, - s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl, - s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv, - sys_stat, sys_writev and syscall. - -2000-10-25 Ulrich Drepper - - * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems - without LFS support. - - * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt. - * sysdeps/ieee754/dbl-64/e_j1.c: Likewise. - * sysdeps/ieee754/dbl-64/e_j0.c: Likewise. - * sysdeps/ieee754/flt-32/e_j1f.c: Likewise. - * sysdeps/ieee754/flt-32/e_j0f.c: Likewise. - -2000-10-25 David Mosberger - - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot - number by four to use bins of width 4 to get accurate - instruction-level profiling. - -2000-10-25 Andreas Jaeger - - * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string. - -2000-10-25 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When - converting struct flock64 to struct flock and back, use fcntl commands - which work on struct flock. - -2000-10-25 Jakub Jelinek - - * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not - defined. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. +2000-02-16 Ulrich Drepper -2000-10-25 Ulrich Drepper + * locale/programs/charmap.c (charmap_read): Find charmap also in + the standard directory. - * sysdeps/arm/libm-test-ulps: Updated. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for + __syscall_mmap2. - * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value. + * sysdeps/unix/sysv/linux/execve.c: Pretty print. -2000-10-25 Andreas Jaeger + * po/it.po: New file. + * po/pl.po: Update from translation team. - * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable. - (_dl_map_object): Likewise. +2000-02-16 Andreas Jaeger -2000-10-24 Paul Eggert + * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return + value. - * time/strftime.c (my_strftime macro) - [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]: - When redefining, do it without args, so that it works even if - emacs is defined and an extra argument is passed to my_stftime. - (my_strftime function): When evaluating a subformat, pass - ut_argument as well. +2000-02-16 Andreas Jaeger -2000-10-24 Andreas Schwab + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix + typo. - * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and - pciconfig_write. +2000-02-15 Andreas Jaeger -2000-10-25 Ulrich Drepper + * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7. - * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test - for files with new cache format. - (_dl_load_cache_lookup): Add variable cache_data_size for size of the - data. Correctly report error if neither old not new signature is - found. Little optimizations. - Mostly based on a patch by Denis Zaitsev . +2000-02-15 Andreas Jaeger - * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the - nsearchlist variable. + * math/libm-test.inc (nearbyint_test): Add some tests. + (rint_test): Likewise. -2000-10-24 Ulrich Drepper +2000-02-14 Ulrich Drepper - * elf/dl-lookup.c (add_dependency): Fix test to check whether - dependency already exists. - * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6. - * elf/loadtest.c (main): Add test at the end that everything is - unloaded. + * locale/programs/repertoire.c (repertoire_new_char): NUL + terminated names of character in range. - * elf/dl-open.c (dl_open_worker): Fix typo in comment. + * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep. + Define and initialize use_outdigits in the inner loops. - * elf/elf.h: Add even more IA-64 relocations. + * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does + not exist. Patch by Miloslav Trmac (PR libc/1601). -2000-10-24 Geoffrey Keating + * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not + enable it. Patch by Miloslav Trmac (PR libc/1600). + * sysdeps/i386/fpu/s_nearbyintf.S: Likewise. + * sysdeps/i386/fpu/s_nearbyintl.S: Likewise. - * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user - has a limit set---for instance, a limit of 2^31 bytes, which can't - easily be reset by non-LFS-aware shells. +2000-02-14 Andreas Jaeger - * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT - explicitly rather than getting it from . + * elf/rtld.c (dl_main): Fix check for references to dynamic linker. -2000-10-24 Ulrich Drepper +2000-02-14 Ulrich Drepper - * elf/dl-close.c (_dl_close): Handle relocation dependencies of - the dependencies of the object currently unloaded. + * manual/job.texi: Fix typos. + * manual/process.texi: Likewise. + * manual/signal.texi: Likewise. - * elf/dl-close.c (_dl_close): Don't free memory for global scope - list immediately when empty. Move code to... - (free_mem): ...here. Called as part of __libc_subfreeres list. + * sysdeps/powerpc/atomicity.h: Remove white space to avoid + compiler warning. - * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before - r_list array in allocated memory. - * elf/dl-close.c (_dl_close): Optimize access to l_initfini list - and remove use of r_list. +2000-02-14 Scott Bambrough - * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when - computing new opencounts. - * elf/Makefile: Add rules to build and run neededtest3. - * neededtest3.c: New file. - * neededobj4.c: New file. + * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add + Rebel-NetWinder to platform table so _ioperm platform lookup via + /proc/cpuinfo works on later version NetWinders. - * elf/neededtest.c (main): Correct tests for failing dlopen. +2000-02-13 Ulrich Drepper -2000-10-24 Andreas Jaeger + * locale/programs/charmap.c (charmap_read): Remove erronous free + call. - * elf/dl-lookup.c (add_dependency): Remove unused variable j. + * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough + so test for overflow and handle it. + * sysdeps/i386/fpu/s_sinf.S: Likewise. + * sysdeps/i386/fpu/s_tanf.S: Likewise. + Patch by Miloslav Trmac (PR libc/1563). -2000-10-24 Ulrich Drepper + * iconvdata/Makefile (modules): Add UTF-16. + (distribute): Add utf-16.c. + * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and + UTF-16LE. + * iconvdata/utf-16.c: New file. + * iconv/gconv_builtin.h: Remove UTF-16 entries here. + * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16. + PR libc/1580 and libc/1581. - * malloc/obstack.c (_obstack_newchunk): Correctly align first returned - block. - * malloc/tst-obstack.c: New file. - Patch and test case by Alexandre Duret-Lutz . - * malloc/Makefile (tests): Add tst-obstack. + * iconv/skeleton.c: Increment __invocation_counter after every call + to the loops. - Complete revamp of the reference counter handling. - * include/link.h (struct link_map): Add l_idx field. - * elf/dl-close.c: Handle decrementing of reference counters more - correctly. If necessary decrement reference counters of dependencies - of dependencies. - * elf/dl-lookup.c (add_dependency): Only increment reference counter - of the object itself and not also its dependencies. - * elf/dl-open.c: Increment reference counters here. - * elf/dl-deps.c: Remove reference counter handling here. - * elf/dl-load.c: Likewise. - * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters. +2000-02-12 Andreas Jaeger - * elf/loadtest.c: Print loaded objects at the beginning. + * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno + declaration to place where it's needed to avoid compiler warning. + * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise. -2000-10-24 Andreas Jaeger +2000-02-12 Ulrich Drepper - * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18. + * locale/weightwc.h (findidx): Correct find index value. -2000-10-23 Ulrich Drepper + * locale/nl_langinfo.h: Add casts to prevent warnings. - * include/link.h (struct link_map): New bit field l_faked. - * elf/dl-deps.c: Use l_faked field in struct link_map instead of - the magic l_opencount==0. - * elf/dl-load.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/rtld.c: Likewise. + * wctype/iswctype_l.c: Use correct types for mapped data. + * wctype/wcfuncs.c: Add one more comment for clarification. + * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper. + * wctype/wctrans.c: Likewise. - * elf/dl-close.c (_dl_close): Add a few more __builtin_expect. +2000-02-12 Andreas Jaeger -2000-10-23 Jim Meyering + * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup + conventions. + (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE. + (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of + file and make dependend on RESOLVE. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol. + (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol. - Allow this code to be used outside of glibc. - * sysdeps/generic/memrchr.c: Undef __memrchr, too. - [!weak_alias]: Define __memrchr to memrchr. - Guard weak_alias use with `#ifdef weak_alias'. +2000-02-11 Ulrich Drepper -2000-10-23 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno. - * elf/unload.c: Generate more debugging output. + * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an + alias for CURRENCY_SYMBOL. + * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR + information. [PR libc/1583]. - * elf/neededtest.c: Make it more complicated. - * elf/neededtest2.c: New file. - * elf/Makefile: Add rules to build and run neededtest2. +2000-02-08 Shinya Hanataka - * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range - of DSO address space. - (_dl_vsym): Likewise. + * locale/weightwc.h: Fix problem with collating-element. - * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects - global scope if we can determine it. + * locale/programs/ld-collate.c (collate_finish): Output wide + character collating-symbol, which has no wide strings. -2000-10-23 Andreas Schwab + * locale/programs/ld-collate.c (collate_output): Fix problem with + wide character collating-element. - * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added. - (RLIMIT_NLIMITS): Sync with kernel definition. - (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros. +2000-02-09 Andreas Jaeger -2000-10-23 Andreas Schwab + * time/strptime.c (strptime_internal): Fix pointer dereference. + Patch by Juergen Heinzl , closes PR + libc/1591. - * sysdeps/m68k/fpu/libm-test-ulps: Updated. +2000-02-08 Jakub Jelinek -2000-10-23 Ulrich Drepper + * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file. + * sysdeps/unix/sysv/linux/alpha/semctl.c: New file. + * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file. + * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl, + shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols. + * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl + and oldshmctl to sysdep-routines. - * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions. +2000-02-08 Andreas Jaeger -2000-10-22 Bruno Haible + * locale/programs/locale.c (write_locales): Fix handling of + whitespace lines. + Fixes PR libc/1588, reported by Miroslav Holcak + . - * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings - for 0x8BF8, 0xA27E..0xA2A7. - * iconvdata/BIG5HKSCS.irreversible: New file. +2000-02-07 Thorsten Kukuk -2000-10-23 Jakub Jelinek + * config.make.in: Add infodir. + * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel + header files. - * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. - * timezone/zic.c (main): Likewise. +2000-02-11 Ulrich Drepper -2000-10-23 Thorsten Kukuk + * posix/getopt.c: Suppress messages if first character of + optstring is a colon (PR libc/1584). - * nscd/connections.c (invalidate_cache): Don't invalidate a cache - if it is not enabled. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants + and elf_* types to interpret values passed up from the kernel. + Patch by Franz Sirl . -2000-10-23 Andreas Jaeger + * locale/nl_langinfo.c: Correct return value in error case. Don't + set errno (PR libc/1582). + * manual/locale.texi: Update to reflect change. + +2000-02-02 Andreas Schwab + + * malloc/Makefile (distribute): Add memprof.h. + * malloc/memprof.c: Move definition of GETSP and GETTIME to new + header memprof.h. + * sysdeps/generic/memprof.h: New file. + * sysdeps/alpha/memprof.h: New file. + * sysdeps/i386/memprof.h: New file. + * sysdeps/m68k/memprof.h: New file. + * sysdeps/mips/memprof.h: New file. + * sysdeps/powerpc/memprof.h: New file. + * sysdeps/sparc/memprof.h: New file. + +2000-02-01 Jakub Jelinek + + * sysdeps/unix/sysv/linux/getresgid.c: Move... + * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here. + (getresgid): Use getresgid32 if __libc_missing_32bit_uids + is -1 or 0. + * sysdeps/unix/sysv/linux/getresuid.c: Move... + * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here. + (getresuid): Use getresuid32 if __libc_missing_32bit_uids + is -1 or 0. + * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate + __libc_missing_32bit_uids. + (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is + -1 or 0. + * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise. + * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise. + * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise. + * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise. + * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise. + * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. + * sysdeps/unix/sysv/linux/arm/getresuid.c: New file. + * sysdeps/unix/sysv/linux/arm/getresgid.c: New file. + * sysdeps/unix/sysv/linux/arm/msgctl.c: New file. + * sysdeps/unix/sysv/linux/arm/semctl.c: New file. + * sysdeps/unix/sysv/linux/arm/shmctl.c: New file. + * sysdeps/unix/sysv/linux/i386/msgctl.c: New file. + * sysdeps/unix/sysv/linux/i386/semctl.c: New file. + * sysdeps/unix/sysv/linux/i386/shmctl.c: New file. + * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file. + * sysdeps/unix/sysv/linux/m68k/semctl.c: New file. + * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file. + * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid): + Make syscall directly, no stubs needed. + (getresgid): Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid): + Likewise. + (getresgid): Likewise. - * sysdeps/s390/fpu/libm-test-ulps: New ulps. +2000-02-11 Ulrich Drepper - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64. - Patch by Ralf Baechle . + * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5. + Reported by Bruno Haible . -2000-10-21 Ulrich Drepper + * stdio-common/printf-parse.h (parse_one_spec): Set wide elements. - * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file - verification in open_verify. - (open_verify): New function. Called instead of open. Ignores valid - files for other architectures. - (open_path): Call open_verify instead of open. - (_dl_map_object): Likewise. - Somewhat based on a patch by Don Dugger . + * stdio-common/printf_fp.c: Truely support wide characater output. + Finally handle decimal points and thousands separator characters + correctly for multibyte output. + * stdio-common/printf_size.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. - * io/pwd.c (main): The output was missing a newline. + * stdio-common/vfscanf.c: Implement I modifier for numbers to read + locale dependent digits. - * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar - expects it. Patch by Colin Watson . - * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR. + * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character + decimal point and thousands separator values to wide characters from + wide character strings. + * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise. - * elf/dl-open.c (add_to_global): New function. Split out from - dl_open_worker. - (dl_open_worker): Call add_to_global not only for new objects, also for - previously loaded objects when (mode & RTLD_GLOBAL) and the object - was not yet in the global scope. - * elf/Makefile: Add rules to build and run lateglobal. - * elf/lateglobal.c: New file. - * elf/ltglobmod1.c: New file. - * elf/ltglobmod2.c: New file. + * locale/indigitswc.h: Dereference wcdigits array elements. -2000-10-20 Ulrich Drepper +2000-02-03 Jakub Jelinek - * include/link.h (struct link_map): Add l_soname_added bitfield. - * elf/dl-load.c (_dl_map_object): Remember when we added the - SONAME to the l_libname list and don't try it again. + * stdlib/canonicalize.c (canonicalize): Zero terminate + path to copy on error. - * elf/dl-close.c: Decrement opencount for all dependencies which can - be removed even if the object is not yet unloaded. - * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in - the list decrement opencount of all dependencies. - * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object - and all dependencies. - (_dl_map_object): Likewise. - * elf/dl-lookup.c (add_dependency): Likewise. +2000-02-01 Cristian Gafton - * elf/loadtest.c: Add debug when with more output. + * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM. - * elf/Makefile: Add rules to build and run unload2. - * elf/unload2.c: New file. - * elf/unload2mod.c: New file. - * elf/unload2dep.c: New file. +2000-01-31 Philip Blundell - * intl/libintl.h (ngettext macro): Add missing parameter. - (dngettext macro): Likewise. + * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit. -2000-10-19 H.J. Lu +2000-01-31 Andreas Jaeger - * elf/Makefile (distribute): Add neededtest.c, neededobj1.c, - neededobj2.c and neededobj3.c. - (tests): Add neededtest. - (modules-names): Add neededobj1, neededobj2 and neededobj3. - ($(objpfx)neededobj1.so): New target. - ($(objpfx)neededobj2.so): Likewise. - ($(objpfx)neededobj3.so): Likewise. - ($(objpfx)neededtest): Likewise. - ($(objpfx)neededtest.out): Likewise. - * elf/neededtest.c: New. Based on the bug report from - Allen Bauer . - * elf/neededobj1.c: Likewise. - * elf/neededobj2.c: Likewise. - * elf/neededobj3.c: Likewise. + * intl/Makefile (generated): msgs.h is generated. -2000-10-20 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header - to elf_machine_matches_host. - * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter - is now pointer to ELF header. - * sysdeps/arm/dl-machine.h: Likewise. - * sysdeps/generic/dl-machine.h: Likewise. - * sysdeps/hppa/dl-machine.h: Likewise. - * sysdeps/i386/dl-machine.h: Likewise. - * sysdeps/ia64/dl-machine.h: Likewise. - * sysdeps/m68k/dl-machine.h: Likewise. - * sysdeps/mips/dl-machine.h: Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. - * sysdeps/powerpc/dl-machine.h: Likewise. - * sysdeps/s390/dl-machine.h: Likewise. - * sysdeps/sh/dl-machine.h: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - Patch by Martin Schwidefsksy . + * localedata/Makefile (generated-dirs): Add de_DE.437. -2000-10-20 Jakub Jelinek +2000-01-31 Jakub Jelinek - * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64 - check instead of #ifdef __alpha__. - * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on - INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when - this is included. + * config.make.in: Allow default localedir to come from configure. + * configure.in: Export libc_cv_localedir. + * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale + stuff into $exec_prefix/lib/locale because it can be shared between + 32bit and 64bit libraries. + * configure: Rebuilt. + * sysdeps/unix/sysv/linux/configure: Rebuilt. -2000-10-20 Ulrich Drepper +2000-01-31 Andreas Jaeger - * posix/wordexp-tst.sh (testout): Place output file in build - directory. Patch by Joseph S. Myers . + * inet/tst-network.c: New file. + * inet/Makefile (tests): Add tst-network. - * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print. + * inet/inet_net.c (inet_network): Don't overwrite memory or allow + to great last digits. -2000-10-19 Ulrich Drepper +2000-02-10 Andreas Jaeger - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Correctly handle numeric group member information. - Patch by tomasw@cs.huji.ac.il. + * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten. + Based on a patch by Hiroyuki Machida . - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Complete test for strtol overflow. +2000-02-09 Andreas Jaeger -2000-10-19 Jakub Jelinek + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls. - * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union - semun as 4th argument to semctl syscall, not address of it. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls. -2000-10-18 Franz Sirl +2000-02-08 Andreas Jaeger - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall. + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo. -2000-10-17 Andreas Schwab + * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): + Make it compile. - * string/string.h: Remove declaration of __strcasecmp and __strcasestr. - * include/string.h: Declare them here. + * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members + c_ispeed and c_ospeed which are not implemented. -2000-10-18 Ralf Baechle + * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant + for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro. + * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include . +2000-02-05 Andreas Jaeger -2000-10-19 Geoffrey Keating + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not + work - set to 4 in accordance with changes made in the Linux/MIPS + kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't + actually work. - * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions - of the unordered comparison functions that use the GCC builtins. +2000-02-04 Andreas Jaeger - * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function. - (__process_machine_rela): Print the address of an overflowing - reloc. + * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for + the defines. -2000-10-18 Ulrich Drepper +2000-02-03 Andreas Jaeger - * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point - in comments. - (freeit): Remove unnecessary test. + * sysdeps/mips/abort-instr.h: New file. -2000-10-18 Andreas Jaeger + * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file. - * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers. - (elf_machine_runtime_link_map): Likewise. - (elf_machine_runtime_setup): Likewise. - Handle dynamic linker's local got entries. - Patches by Ralf Baechle . + * sysdeps/unix/sysv/linux/mips/register-dump.h: New file. -2000-10-09 Maciej W. Rozycki + * sysdeps/mips/stackinfo.h: New file. - * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as - the frame pointer. Allocate stack space for $a0 for - __dl_runtime_resolve(). Do not save $sp in $s0 as it's - callee-saved anyway. +2000-02-01 Andreas Jaeger -2000-10-17 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates. - * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in - libm-test.inc. + * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the + generic function. + * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise. -2000-10-17 Andreas Schwab + * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf + Baechle . - * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in - libm-test.inc. + * sysdeps/unix/sysv/linux/mips/brk.c: New file. -2000-10-17 Jakub Jelinek + * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints. - * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): - Add missing backslash. + * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main. -2000-10-16 Ulrich Drepper +2000-01-31 Andreas Jaeger - * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup. + * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR + libc/1567. - * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc. +2000-01-30 Ulrich Drepper -2000-10-16 Jakub Jelinek + * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to + the standard. + * sysdeps/alpha/fpu/fesetround.c: Likewise. + * sysdeps/arm/fpu/feholdexcpt.c: Likewise. + * sysdeps/arm/fpu/fesetround.c: Likewise. + * sysdeps/generic/feholdexcpt.c: Likewise. + * sysdeps/generic/fesetround.c: Likewise. + * sysdeps/i386/fpu/feholdexcpt.c: Likewise. + * sysdeps/i386/fpu/fesetround.c: Likewise. + * sysdeps/m68k/fpu/feholdexcpt.c: Likewise. + * sysdeps/m68k/fpu/fesetround.c: Likewise. + * sysdeps/mips/fpu/fesetround.c: Likewise. + * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fesetround.c: Likewise. + * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. + * sysdeps/sparc/fpu/fesetround.c: Likewise. + Patch by Miloslav Trmac . + + * locale/programs/ld-collate.c (struct locale_collate_t): Change + type of plane_size and plane_cnt to uint32_t. + Reported by Jakub Jelinek. + +2000-01-29 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h + (SYSCALL_ERROR_HANDLER): Optimize. + (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define. + Include linux/sparc/sysdep.h. + Use a different guard define than linux/sparc/sysdep.h. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove + stubs for inlined syscalls. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h + (SYSCALL_ERROR_HANDLER): Optimize. + (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define. + Include linux/sparc/sysdep.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove + stubs for inlined syscalls. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): + Use INLINE_SYSCALL. + * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove. + * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file. + +2000-01-29 Ulrich Drepper + + * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty + print. Add checks for _POSIX_MMAPPED_FILES where necessary. + (_nl_unload_locale): If locale data was mmapped use munmap. + +2000-01-29 Andreas Jaeger + + * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use + _EXTERN_INLINE, compile inline assembler functions only with gcc. + +2000-01-29 Ulrich Drepper + + * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly. + * catgets/gencat.c (read_input_file): Remove messages correctly. + * catgets/open_catalog.c (__open_catalog): Handle trailing colons and + adjacent colons correctly. Correct loops to read territory and + and codeset part. + Patches by Geoff Clare (PR libc/1559). + + * rt/aio_misc.c (get_elem): Assign pointer to new row to correct + pool entry. + Patch by Jens Moeller (PR libc/1558). + +2000-01-28 Jakub Jelinek + + * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit + interface with symbol version GLIBC_2.2. + * sysdeps/unix/sysv/linux/i386/Versions: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase - precision. - (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test, - sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also - to parameters. - (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test, - cacosh_test, cacos_test, casinh_test, casin_test, catanh_test, - catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test, - csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test, - erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test, - j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test, - log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test, - nextafter_test, nexttoward_test, pow_test, round_test, scalb_test, - sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test, - y1_test, yn_test): Add L suffixes also to parameters. - * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask. - * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise. - * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit. +2000-01-27 Scott Bambrough -2000-10-16 Ulrich Drepper + * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for + resource directory. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for + versioning setrlimit and getrlimit. - * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c, - ialloc.c, and scheck.c. - * malloc/obstack.c: Always include for glibc. - * posix/getopt.c: Likewise. - Reported by Petr Vandrovec . +2000-01-27 Andreas Jaeger -2000-10-15 Pete Wyckoff + * sysdeps/powerpc/fpu/libm-ulps: Renamed to ... + * sysdeps/powerpc/fpu/libm-test-ulps: ...this. - * Rules: Define _LIBC during generation of bits/stdio_lim.d. +2000-01-27 Ruediger Oertel -2000-10-15 Pete Wyckoff + * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++. - * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}. - * iconvdata/tst-table.sh: Likewise. +2000-01-29 Ulrich Drepper -2000-10-15 Ulrich Drepper + * locale/programs/ld-numeric.c (numeric_output): Increment cnt in + correct place to avoid uninitialized memory passed to writev. - * elf/dl-error.c (_dl_signal_error): Allocate memory for objname - as well. Reported by Alexander V. Lukyanov . + * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too + long string in definition.Only enable returning wide character + strings if really needed. + * locale/programs/ld-numeric.c (STR_ELEM): Likewise. - * iconvdata/gconv-modules: Add aliases for Windows charsets. - Patch by Joseph S. Myers . + * configure.in: Add check for recent enough sed version. -2000-10-13 Andreas Schwab +2000-01-28 Ulrich Drepper - * elf/elf.h (R_IA64_PCREL60B): Add relocation. + * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word, + _i18n_itoa): Fix parameter lists. -2000-10-15 Ulrich Drepper + * locale/C-monetary.c: Add initializers for new fields. + * locale/C-numeric.c: Likewise. + * locale/Makefile (distribute): Add indigits.h, indigitswc.h, + outdigits.h, and outdigitswc.h. + * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC, + _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC, + and _NL_NUMERIC_THOUSANDS_SEP_WC. + * locale/indigits.h: New file. + * locale/indigitswc.h: New file. + * locale/outdigits.h: New file. + * locale/outdigitswc.h: New file. + * locale/programs/ld-monetary.c: Write out decimal point and + thousands separator info in wide character form. + * locale/programs/ld-numeric.c: Likewise. + * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa. + (distribute): Add _i18n_itoa.h and _i18n_itowa.h. + * stdio-common/_i18n_itoa.c: New file. + * stdio-common/_i18n_itoa.h: New file. + * stdio-common/_i18n_itowa.c: New file. + * stdio-common/_i18n_itowa.h: New file. + * stdio-common/printf-parse.h: Parse 'I' flag. + * stdio-common/printf.h (struct printf_info): Add i18n field. + * stdio-common/vfprintf.c: Implement 'I' flag to print using locales' + outdigits. + +2000-01-27 Geoff Keating + + * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n + unnecessarily. - * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups. - * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise. - * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL, + __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >= + 2.3.35. -2000-10-14 Ulrich Drepper + * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file. + * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add + s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64, + s_truncate64. + * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file. + * sysdeps/unix/sysv/linux/powerpc/Versions: New file. - * math/libm-test.inc (frexp_test): Add L suffix also to parameters. - (hypot_test): Likewise. + * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access + __curbrk off the small data area register. Reported by + Andrew Haley . - * sysdeps/generic/printf_fphex.c: Compute width of decimal point - string correctly. Handle padding correctly. +2000-01-26 Andreas Jaeger - * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters - correctly. - * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. - * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. + * Make-dist (+sysdep-tscrs): Add libm-test-ulps. -2000-10-12 Alan Modra - - * FAQ.in: Add --start-group and --end-group. - -2000-10-12 Alan Modra - - * malloc/memusage.c: Conditionalize stack usage calculation on - stack direction. - -2000-10-12 Alan Modra - - * config.h.in: Add ASM_LINE_SEP. - * configure.in: Add test for comment and line separators. - * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to - placate some hppa assemblers. - * sysdeps/hppa/sysdep.h: Likewise. - * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - -2000-10-12 David Huggins-Daines - - * sysdeps/unix/sysv/linux/Makefile: Include in - $(sysdep_headers). - * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for - non-threaded platforms. - -2000-10-12 David Huggins-Daines - - * configure.in: Add definitions for hppa. - * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments - for IPLT and EPLT relocations. - * shlib-versions: Version symbol definitions for hppa-linux. - * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel - for hppa. - -2000-10-12 David Huggins-Daines - - * sysdeps/hppa/Makefile: New file. - * sysdeps/hppa/Versions: New file. - - * sysdeps/hppa/setjmp.S: New file. - * sysdeps/hppa/__longjmp.S: New file. - * sysdeps/hppa/bits/setjmp.h: New file. - * sysdeps/hppa/frame.h: New file. - - * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer). - * sysdeps/hppa/sub_n.s: Likewise. - * sysdeps/hppa/lshift.s: Likewise. - * sysdeps/hppa/rshift.s: Likewise. - * sysdeps/hppa/udiv_qrnnd.s: Likewise. - * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/submul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/mul_1.s: Likewise. - * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise. - - * sysdeps/hppa/dl-machine.h: New file. - * sysdeps/hppa/dl-fptr.c: New file (note that this is almost - identical to the IA-64 one). - * sysdeps/hppa/dl-lookupcfg.h: Likewise. - * sysdeps/hppa/dl-symaddr.c: Likewise. - - * sysdeps/hppa/elf/initfini.c: New file. - * sysdeps/hppa/elf/start.S: New file. - - * sysdeps/hppa/fpu/bits/fenv.h: New file. - * sysdeps/hppa/fpu/fclrexcpt.c: New file. - * sysdeps/hppa/fpu/fedisblxcpt.c: New file. - * sysdeps/hppa/fpu/feenablxcpt.c: New file. - * sysdeps/hppa/fpu/fegetenv.c: New file. - * sysdeps/hppa/fpu/fegetexcept.c: New file. - * sysdeps/hppa/fpu/fegetround.c: New file. - * sysdeps/hppa/fpu/feholdexcpt.c: New file. - * sysdeps/hppa/fpu/fesetenv.c: New file. - * sysdeps/hppa/fpu/fesetround.c: New file. - * sysdeps/hppa/fpu/feupdateenv.c: New file. - * sysdeps/hppa/fpu/fegetexcptflg.c: New file. - * sysdeps/hppa/fpu/fraiseexcpt.c: New file. - * sysdeps/hppa/fpu/fsetexcptflg.c: New file. - * sysdeps/hppa/fpu/ftestexcept.c: New file. - - * sysdeps/unix/sysv/linux/hppa/Makefile: New file. - * sysdeps/unix/sysv/linux/hppa/Versions: New file. - * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file. - * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file. - * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file. - - - * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file. - * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file. - * sysdeps/unix/sysv/linux/hppa/brk.c: New file. - * sysdeps/unix/sysv/linux/hppa/clone.S: New file. - * sysdeps/unix/sysv/linux/hppa/socket.S: New file. - * sysdeps/unix/sysv/linux/hppa/syscall.S: New file. - * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file. - * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/hppa/mmap.c: New file. - * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/hppa/procfs.h: New file. - * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file. - * sysdeps/unix/sysv/linux/hppa/umount.c: New file. - -2000-10-12 Alan Modra - - * sysdeps/hppa/hppa1.1/Implies: New file. - * sysdeps/hppa/memusage.h: New file. - -2000-10-28 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb, - inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw, - _outl. Reported by Bill Nottingham. - -2000-04-06 Andreas Schwab - - * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and - restore register r8 for functions that return a structure. - -2000-10-12 Jakub Jelinek - - * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl, - M_SQRT_PIl): Increase precision. - (cbrt_test): If cbrt is not implemented, don't test it. - Add L suffix to double constants in results which differ from their - L suffixed counterparts. - (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise. - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - -2000-10-11 Jakub Jelinek - - * inet/rexec.c (rexec_af): Convert rport to host order before - passing it to snprintf. - -2000-10-14 Ulrich Drepper - - * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of - uintXX_t since this is what defines and we include - this header. Reported by Bernhard Rosenkraenzer . - - * intl/localealias.c (read_alias_file): Update string pointers - in map[] if realloc() changed the values. - Patch by Jakub Jelinek . - - * manual/stdio.texi: Update printf extension documentation after - z became a valid modifier. - Patch by Joseph S. Myers . - - * timezone/africa: Update from tzcode2000g and tzdata2000g. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/backward: Likewise. - * timezone/europe: Likewise. - * timezone/iso3166.tab: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. - * timezone/zone.tab: Likewise. +2000-01-26 Ulrich Drepper -2000-10-14 Geoffrey Keating + * locale/Makefile (distribute): Remove nonexisting files. + * sysdeps/powerpc/Dist: Move FPU specific files to... + * sysdeps/powerpc/fpu/Dist: ...here. New file. + * nss/Makefile: Distribute files for new libdb interface. + * math/Makefile (distribute): Add README.libm-test. + Patch by Andreas Jaeger. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl() - syscall. +2000-01-26 David McCann -2000-10-13 Michael Fedrowitz + * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF. - * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file. - * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file. - * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/m68k/glob64.c: New file. - * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file. - * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file. - * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file. - * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64, - __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit, - getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at - GLIBC_2.2. - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit, - oldsetrlimit for GLIBC_2.0. +2000-01-25 Andreas Jaeger - * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct - arguments to _dl_init. + * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel + version check since we're using cpp. -2000-10-13 Geoffrey Keating +2000-01-26 Jakub Jelinek - * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III - building with the default options. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid): + Fix a typo. -2000-10-11 Andreas Jaeger +2000-01-26 Andreas Jaeger - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache. - Patch by Denis Zaitsev . + * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning + about unitialised variable kbuf. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise. -2000-10-09 Jakub Jelinek +2000-01-26 Ulrich Drepper - * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y, - return y not x. - * manual/arith.texi (nextafter): Document it. - * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment. + * locale/programs/ld-collate.c (check_duplicate): Fix printing of error + messages. + (collate_read): Remove unnecessary `if'. -2000-10-08 Ulrich Drepper +2000-01-25 Ulrich Drepper - * version.h (VERSION): Bump to 2.1.95. + * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string + and load appropriate conversions. + * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and + made global. + * libio/libioP.h: Declare __libio_codecvt. + * manual/stdio.texi: Document ,ccs= option for fopen. + * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function. + * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare. - * configure.in: Remove warning message. + * libio/iofclose.c: Free conversion data if stream was wide-oriented. - * nscd/Makefile (distribute): Add nscd-types.h. - * elf/Makefile (distribute): Add gccframe.h. - * sysdeps/sparc/sparc32/Dist: Add ieee754.h. - * sysdeps/ia64/Dist: Add ieee754.h. + * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h. -2000-10-07 Ulrich Drepper + * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h. - * elf/elf.h: Add a few section-related symbols. + * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR. + * posix/testfnm.c: Add a few more tests. Rearrange test output. - * include/features.h (__STDC_ISO_10646__): Set to correct date. - Patch by Markus Kuhn . +2000-01-25 Andreas Schwab -2000-10-06 Jes Sorensen + * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of + FNM_FILE_NAME consistently. - * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement - overflow generation by adding DBL_MAX to DBL_MAX instead of - setting the bits manually in the fpsr and generating the exception - with kill() if necessary. - (feraiseexcept): Implement underflow by dividing DBL_MIN by - DBL_MIN - similar to the overflow change described above. +2000-01-25 Ulrich Drepper -2000-08-27 H.J. Lu + * posix/fnmatch.c: Define STRCOLL appropriately for the loop + definition. + * posix/fnmatch_loop.c: Undefine STRCOLL. - * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone - is not supported under Linux/ia64, use clone2. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle + kernels with stat64 support. + * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise + * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. + Patch by SL Baur . -2000-10-06 Jakub Jelinek + * string/strxfrm.c: Don't count in the terminating NUL byte/word. - * malloc/malloc.h (__THROW): Define to nothing if not gcc. - * misc/sys/cdefs.h (__THROW): Likewise. +2000-01-24 Paul Eggert -2000-10-05 Jakub Jelinek + * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when + deciding whether a character falls within a character range. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file. +2000-01-24 Paul Eggert -2000-10-02 Jakub Jelinek + * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case, + lower-case A too. - * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all - remaining xp_pad space. +2000-01-24 Thorsten Kukuk -2000-10-05 Jakub Jelinek + * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit. - * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for - DF_1_NODELETE, not list[i]'s. +2000-01-23 Paul Eggert -2000-10-04 Ulrich Drepper + * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits. - * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9. - (BODY from direction): Map \x5c to U20a9. - * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change. - * iconvdata/EUC-KR.irreversible: New file. - * iconvdata/Makefile (distribute): Add EUC-KR.irreversible. +2000-01-23 Paul Eggert - * argp/argp-parse.c (argp_default_argp): Set libc as message domain. - (argp_version_argp): Likewise. + * posix/regex.c (compile_range): When matching a character + range, use the current collating sequence, as POSIX requires. -2000-10-04 Jakub Jelinek +2000-01-25 Ulrich Drepper - * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do - input_error() if EOF is seen before processing. - * stdio-common/tstscanf.c (main): Add testcase. + * string/argz-stringify.c: Handle case of missing \0 at the end of + the given argz. -2000-10-04 Ulrich Drepper +2000-01-24 Ulrich Drepper - * argp/argp-help.c: Make sure we get the correct gettext and - dgettext definitions. - * argp/argp-parse.c: Likewise. + * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total + size anymore. -2000-10-03 Ulrich Drepper + * locale/programs/ld-collate.c (collate_output): Also handle + IGNOREd characters in the simple way when generating the multibyte + table. - * locale/programs/linereader.c (get_string): Also clear wide - string info if illegal_string. + * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name + handling to ... + (ctype_finish): ...here. Check for missing codeset name. + + * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h. + * sysdeps/unix/sysv/linux/alpha/Dist: Likewise. + +2000-01-24 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls... + * sysdeps/unix/sysv/linux/ipc_priv.h: ...here. + * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls... + * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h. + * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls... + * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h. + * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls... + * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h. + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls... + * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here. + * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls. + * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. + * sysdeps/unix/sysv/linux/msgget.c: Likewise. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/semget.c: Likewise. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. + +2000-01-24 Jakub Jelinek + + * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Dist: Likewise. + * sysdeps/unix/sysv/linux/arm/Versions: Remove + setrlimit64@GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/i386/Versions: Likewise. + * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove. + * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit, + so that setrlimit64@GLIBC_2.1 can report limits above 2G. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit, + setrlimit): Remove syscall stubs, add normal syscalls. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit): + Remove syscall stub. + +2000-01-22 Andreas Jaeger + + * localedata/tst-locale.sh: Enable test for de_DE.437. + +2000-01-23 Ulrich Drepper + + * string/Versions: Export __strndup. + +2000-01-23 Philip Blundell + + Add basic support for RPC over IPv6: + * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage' + for remote address. + (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New + prototypes. + * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create, + clntudp6_bufcreate): New prototypes. + * inet/netinet/in.h (bindresport6): Likewise. + * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6. + * sunrpc/Versions: Add svcfd6_create, svctcp6_create, + svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache, + bindresvport6 for GLIBC_2.2. + * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types. + * sunrpc/rpc_svcout.c: Likewise. + * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than + simple assignment when copying addresses. + * sunrpc/svc_udp.c (cache_get): Likewise. + * sunrpc/svc_unix.c (rendezvous_request): Likewise. + * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c, + sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files. -2000-10-03 Andreas Schwab +2000-01-05 Philip Blundell - * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file. + * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS. -2000-10-02 Jakub Jelinek +2000-01-23 Andreas Jaeger - * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call - optimized. + * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right + parameter to fstat calls. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file. +2000-01-18 Roland McGrath -2000-10-02 Ralf Baechle + * sysdeps/generic/bits/socket.h + (__ss_aligntype, struct sockaddr_storage): Make these like Linux + version, replacing old type name `__ss_align'. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the - end of inline assembler code. +2000-01-05 Roland McGrath -2000-10-02 Ulrich Drepper + * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64. + (__lseek64, lseek64): Make these weak aliases for __libc_lseek64. + * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek. + (__lseek, lseek): Make these weak aliases for __libc_lseek. + * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl. + (__fcntl, fcntl): Make these weak aliases for __libc_fcntl. + * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open. + (__open, open): Make these weak aliases for __libc_open. - * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define - __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing. + * sysdeps/generic/bits/socket.h (enum __socket_type): Remove + trailing comma. + (anonymous enum for MSG_*): Likewise. + (anonymous enum for SO_*): Likewise. -2000-10-02 Andreas Jaeger +2000-01-23 Ulrich Drepper - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre8. + * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU) + (PR libc/1553). - * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS. +2000-01-08 Mark Kettenis -2000-10-01 Ralf Baechle + * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function. + (setitimer_locked): Use it to quantize the timer values. Use + quantized timer values to check if the timeout changed. - * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp - argument passed to _dl_init. +2000-01-22 Andreas Jaeger -2000-09-30 Bruno Haible + * sunrpc/rpc/svc.h: Fix description for svc_register. - * locale/programs/charmap-dir.h: New file. - * locale/programs/charmap-dir.c: New file. - * locale/programs/linereader.h (lr_create): New declaration. - * locale/programs/linereader.c (lr_create): New function, split out - from lr_open. - (lr_open): Tailcall lr_create. - * locale/programs/locale.c: Include "charmap-dir.h". Don't include - . - (xstrdup): New declaration. - (more_help): Use xstrdup instead of strdup. - (write_locales): Likewise. When encountering a symbolic link, call - stat. - (write_charmaps): Simplify using the charmap-dir.h functions. - Use xstrdup instead of strdup. - * locale/programs/charmap.c: Include "charmap-dir.h". Don't include - and . - (cmlr_open): New function. - (charmap_read): Use cmlr_open instead of lr_open. Simplify using the - charmap-dir.h functions. - * locale/Makefile (distribute): Add charmap-dir.h. - (lib-modules): Add charmap-dir. - (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn - wants a 'char **', not a 'const char **'. - * include/spawn.h: New file. +2000-01-23 Mark Kettenis -2000-09-30 Bruno Haible + * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len. - * posix/spawn_faction_init.c: Include "spawn_int.h". - (__posix_spawn_file_actions_realloc): Fix second realloc argument. +2000-01-22 Thorsten Kukuk -2000-09-30 Bruno Haible + * sunrpc/xdr_rec.c: Don't set frag_sent if no more data, + fixes part 2 of bug 1549. + * sunrpc/rpc_des.h: Remove unused defines. - * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968. +2000-01-22 Mark Kettenis -2000-09-30 Bruno Haible + * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first. - * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration. - (internal_wcwidth): Remove the tests for L'\0' and iswprint. - * locale/programs/ld-ctype.c (find_idx): If max == NULL, return - a pointer to the table entry, without extending the table. - (allocate_arrays): Set a width only for characters with 'print' - property. Set the width of L'\0' to 0. - * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff - for unprintable characters. Set entry of NUL to 0. +2000-01-22 Thorsten Kukuk -2000-09-30 Bruno Haible + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h. + * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h. + * sysdeps/unix/sysv/linux/arm/Makefile: Likewise. + * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Move from here ... + * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb + and other inline functions for port access. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port + access functions. - * locale/programs/charmap.c (charmap_read): Avoid redundant tests. - Don't forget to call closedir when the filename was found as a - code_set_name. +2000-01-23 Ulrich Drepper -2000-09-30 Bruno Haible + * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder. + Patch by Bruno Haible . - * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's - type to 'void *'. +2000-01-05 Roland McGrath -2000-09-30 Bruno Haible + * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print + them all at the end, eliding the final comma. + * sysdeps/mach/hurd/bits/errno.h: Regenerated. - * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1, - level2, and level3 as well. - (wctype_table_add): Remove a few unnecessary conditionals. +2000-01-21 Ulrich Drepper -2000-09-30 Ralf Baechle + * intl/libintl.h: Add format_arg attributes to declarations of new + functions. - * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc. + * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt, + ngettext, and plural. + (distribute): Add plural.y, po2test.sed, and tst-gettext.sh. + (test-srcs): Add tst-gettext. + (before-compile): Add $(objpfx)msgs.h. + Add rules for plural.c and msgs.h generation and running tst-gettext.\ + * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext, + and ngettext. + * intl/dcgettext.c: Move most code into dcigettext.c. Add call + dcigettext with appropriate parameters. + * intl/dcigettext.c: New file. + * intl/dcngettext.c: New file. + * intl/dngettext.c: New file. + * intl/ngettext.c: New file. + * intl/gettextP.h (struct expression): Define. + (struct loaded_domain): Add plural and nplurals members. + Add prototypes for new internal functions. + * intl/libintl.h: Declare new functions. Add optimizations for them. + * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration. + * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in + header entry and parse and store the expression. + * intl/plural.y: New file. + * intl/po2test.sed: New file. + * intl/tst-gettext.c: New file. + * intl/tst-gettext.sh: New file. + * manual/message.texi: Document new interfaces. + + * intl/gettext.c: Call __dcgettext directly. + +2000-01-20 Ulrich Drepper + + * manual/getopt.texi (Using the getopt function): Fix description of + return value for format string starting with '-' (PR libc/1551). + Patch by Raúl Núñez de Arenas Coronado + + * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH. + Patch by jens.moeller@westgeo.com (PR libc/1550). + + * locale/programs/ld-collate.c (struct element_t): Add wclast + and compute it where necessary. + (collate_output): Insert indirect references in the right order. + + * math/Makefile (tests): Add test-misc. + * math/test-misc.c: New file. + +2000-01-19 Ulrich Drepper + + * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments + with exponent >31 and < 63 (PR libc/1548). + + * locale/programs/ld-collate.c (output_weightwc): Return index + measured in words, not bytes. Don't write out words for ignored + characters. + (collate_output): Correct various problems with alignment in the + output file. + * locale/weight.h: Adjust for last change in ld-collate.c of adding + alignment padding. + + * stdlib/strfmon.c: Don't report an error if final NUL is at the + end of the buffer. Set errno correctly if floating-point number + would overflow buffer. + + * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED. + + * locale/weight.h (findidx): Little optimization. Correctly return + offset in indirect table. + * locale/programs/ld-collate.c (struct element_t): Add mblast + and compute it where necessary. + (insert_weights): Correctly handle missing weights in ellipsis + expression. + (handle_ellipsis): Correctly enqueue new element. + (collate_output): Insert indirect references in the right order. + +2000-01-18 Ulrich Drepper + + * wcsmbs/mbrtowc.c: Create temporary state object if no output is + written. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. -2000-09-30 H.J. Lu + * wcsmbs/wcrtomb.c: Compute result correctly for successful call + with s == NULL. - * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow. - * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise. + * wcsmbs/mbsrtowcs.c: Compute return value correctly after change + in gconv function. -2000-09-29 H.J. Lu + * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only + incomplete but correct. - * math/libm-test.inc (init_max_error): Clear all exceptions - before starting test. - (acosh_test): Test for existence of function. - (asinh_test): Likewise. - (atan2_test): Likewise. - (cabs_test): Likewise. - (cacos_test): Likewise. - (cacosh_test): Likewise. - (casin_test): Likewise. - (casinh_test): Likewise. - (catan_test): Likewise. - (catanh_test): Likewise. - (ccos_test): Likewise. - (ccosh_test): Likewise. - (cexp_test): Likewise. - (clog_test): Likewise. - (clog10_test): Likewise. - (cosh_test): Likewise. - (cpow_test): Likewise. - (csin_test): Likewise. - (csinh_test): Likewise. - (csqrt_test): Likewise. - (ctan_test): Likewise. - (ctanh_test): Likewise. - (fmod_test): Likewise. - (hypot_test): Likewise. - (remainder_test): Likewise. - (remquo_test): Likewise. - (sincos_test): Likewise. - (sinh_test): Likewise. - (tanh_test): Likewise. + * locale/programs/charmap.c: NUL-terminate names of generated + entries for ellipsis. -2000-09-29 H.J. Lu +2000-01-18 Andreas Jaeger - * sysdeps/ia64/ieee754.h: New file. + * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs. + * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move + _STAT_VER_KERNEL handling up; don't save errno. + * sysdeps/unix/sysv/linux/arm/fxstat.c: New file. + * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise. + +2000-01-18 Ulrich Drepper + + * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses. + Remove done variable and all uses. + * iconv/skeleton.c: Update comment for *written modification. + * iconv/gconv_int.h (__gconv): Update comment. + Reported by Bruno Haible. - * sysdeps/ia64/fpu/math_ldbl.h: New file. +2000-01-18 Bruno Haible -2000-09-30 Jakub Jelinek + * posix/fnmatch.c (ISWCTYPE): New macro. + (__wcschrnul): New function. + (BTOWC): New macro. Define it instead of __btowc. + (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to + wcsrtombs. Call wctype, not __wctype. + * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and + BTOWC instead of __btowc. - * elf/ldconfig.h (FLAG_X8664_LIB64): Define. - * sysdeps/unix/sysv/linux/i386/readelflib.c: New file. +2000-01-18 Andreas Jaeger -2000-09-30 Ulrich Drepper + * inet/Versions: Add new functions added on 2000-01-17. - * manual/charset.texi: Correct notations, reference to C90 amd 1, - and some other details. - * manual/ctype.texi: Likewise. - Patches by Markus Kuhn . +2000-01-18 Jakub Jelinek -2000-09-30 Franz Sirl + * dirent/dirent.h (getdentries): Correct prototype to use __off64_t. - * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe. +2000-01-18 Ulrich Drepper -2000-09-29 Ulrich Drepper + * timezone/antarctica: Update from tzdata2000a. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. - * elf/cache.c (save_cache): Initialize __unused field in new cache - as well to get reproducable results. + * nscd/connections.c (dbs): Use + PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock. + Pretty printing. -2000-09-29 H.J. Lu + * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6 + address. Suggested by Philip Blundell. + + * posix/TESTS: Fix expected result for test cases with * with no + leading expression. + + * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in... + * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here. New file. + * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the + open call would require read permission. + Patch by James Antill . + + * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c. + + * inet/getnameinfo.c: Terminate host name for NI_NOFQDN. + * sysdeps/posix/getaddrinfo.c: Correct modifications done for + PR1515. Patches by Hideaki YOSHIFUJI . + + * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS. + * posix/regex.c (regex_compile): Return appropriate errors for + unterminated brace expressions. Detect invalid characters + in brace expressions. + * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly. + * sysdeps/posix/sysconf.c: Include regex.h. + Reported by Geoff Clare (PR libc/1522). + +2000-01-17 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and + AI_NUMERICHOST flag is set, return an error. + Patch by Hideaki YOSHIFUJI . + + * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and + iruserok_af. + * inet/rexec.c: Implement rexec_af. + Patch by Hideaki YOSHIFUJI . + + * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af, + and rresvport_af. + +2000-01-17 Jakub Jelinek + + * sysdeps/unix/sysv/linux/bits/ipc.h: New file. + * sysdeps/unix/sysv/linux/bits/sem.h: New file. + * sysdeps/unix/sysv/linux/bits/shm.h: New file. + * sysdeps/unix/sysv/linux/bits/msg.h: New file. + * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc. + * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file. + * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file. + * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file. + * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file. + + * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): + Renamed from msgctl. + (__new_msgctl): New function. + * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): + Renamed from semctl. + (__new_semctl): New function. + * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): + Renamed from shmctl. + (__new_shmctl): New function. + + * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL. + * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. + * sysdeps/unix/sysv/linux/semget.c: Likewise. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysdeps/unix/sysv/linux/shmat.c: Likewise. + * sysdeps/unix/sysv/linux/shmdt.c: Likewise. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. - * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double. + * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file. -2000-09-29 H.J. Lu + * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl. - * sysdeps/ia64/bits/huge_val.h: New file. +2000-01-17 Jakub Jelinek -2000-09-29 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id. + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed + syscalls. - * elf/chroot_canon.c: Don't report a failure if the last path - component is not available. - * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting - error. + * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype. + * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * elf/cache.c (print_cache): Use stat64 instead of stat. - * elf/ldconfig.c (chroot_stat): Likewise. - (create_links): Likewise. - (manual_link): Likewise. - (search_dir): Likewise. - * elf/readlib.c (process_file): Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are + available on sparc since 2.3.39. - * Makefile (install): Set LC_ALL and LANGUAGE to C before running - ldconfig. + * sysdeps/unix/sysv/linux/execve.c: Kill warnings. -2000-09-29 Jakub Jelinek +2000-01-17 Jakub Jelinek - * elf/chroot_canon.c: New file. - * elf/Makefile: Build and distribute it. - * elf/ldconfig.h (process_file): Add real_file_name argument. - (chroot_canon): Add prototype. - * elf/ldconfig.c (cache_file): Remove const. - (chroot_stat): New. - (create_links): Add real_path argument. - If opt_chroot, maintain both real and given filenames. - (manual_link): Likewise. - (search_dir): Likewise. - (parse_conf): If opt_chroot, use chroot_canon to find the real - config file. - (main): For -r, try to use chroot, if it fails, leave opt_chroot set - and use chroot_canon where appropriate to do the same as if chroot - succeeded. - * elf/readlib.c (process_file): Add real_file_name argument, pass it - to fopen. + * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper + prototype. + (__real_chown): Return EINVAL if owner or group are out of the range + -1U .. 65534. + * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise. + * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return + EINVAL if ruid, euid or suid are out of the range -1U .. 65534. + * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly. + * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify. + * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise. + * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper + prototype. + Don't include non-existant header. + (__chown): Return EINVAL if owner or group are out of the range + -1U .. 65534. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid, + setresgid): Inherit standard linux/syscalls.list definitions. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove. + * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide + __setresgid symbol. -2000-09-29 Ulrich Drepper +2000-01-17 Ulrich Drepper - * math/complex.h (_Complex): We can be more specific when _Complex - is defined by the compiler. + * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry + from 1989 change in ISO 639. -2000-09-29 H.J. Lu +2000-01-12 Andreas Jaeger - * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New. + * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New + function; needed for 32bit uid support. - * elf/cache.c (print_entry): Replace 64bit with IA-64 in message - for x86/IA-64 binary. + * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit + uids correctly. -2000-09-29 Andreas Schwab +2000-01-17 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file. + * intl/locale.alias: Add entries for galician. - * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64. + * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first + try to get sequence from charmap with Uxxxxxxxx name. + (charclass_ucs4_ellipsis): Likewise. + (charclass_charcode_ellipsis): Allow byte sequence missing. + (read_writestring): Free allocated memory in case of an error. + (set_class_defaults): Don't search repertoire map for wide character + default values; we know it's UCS4. + + * locale/programs/repertoire.c (repertoire_find_value): Just return an + error if no repertoire map was loaded. + (repertoire_find_symbol): Likewise. + (repertoire_find_seq): Likewise. + + * posix/fnmatch.c: Put internal_fnmatch in separate file. Include + twice, to define singlebyte and multibyte version. + (fnmatch): Differentiate between singlebyte and multibyte locale and + call appropriate internal function. + * posix/fnmatch_loop.c: New file. + * posix/Makefile (distribute): Add fnmatch_loop.c. + + * locale/programs/repertoire.c (repertoire_read): Don't print + error message when repertoire map is missing. + (repertoire_complain): Print error message for missing map, but only + once. + * locale/programs/repertoire.h (repertoire_complain): Add prototype. + + * locale/programs/linereader.c (get_string): Prefer getting names + from charseq entries. Try finding Uxxxxxxxx names in charmap + before trying to map from repertoire. + +2000-01-16 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace + error in last change. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. -2000-09-29 Mark Kettenis + * stdlib/longlong.h: Fix typo in last patch. - * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy - implementation for use by the dynamic linker. +2000-01-12 Andreas Jaeger -2000-09-29 Andreas Jaeger + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS): + Added for Linux 2.3.39+. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by - __USE_GNU. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and + 32bit GIDs. + * sysdeps/unix/sysv/linux/getresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. + * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. + * sysdeps/unix/sysv/linux/setegid.c: Likewise. + + * sysdeps/unix/sysv/linux/arm/chown.c: New file. + * sysdeps/unix/sysv/linux/arm/fchown.c: New file. + * sysdeps/unix/sysv/linux/arm/geteuid.c: New file. + * sysdeps/unix/sysv/linux/arm/getegid.c: New file. + * sysdeps/unix/sysv/linux/arm/getuid.c: New file. + * sysdeps/unix/sysv/linux/arm/getgid.c: New file. + * sysdeps/unix/sysv/linux/arm/lchown.c: New file. + * sysdeps/unix/sysv/linux/i386/fchown.c: New file. + * sysdeps/unix/sysv/linux/i386/getegid.c: New file. + * sysdeps/unix/sysv/linux/i386/geteuid.c: New file. + * sysdeps/unix/sysv/linux/i386/getgid.c: New file. + * sysdeps/unix/sysv/linux/i386/getuid.c: New file. + * sysdeps/unix/sysv/linux/i386/lchown.c: New file. + * sysdeps/unix/sysv/linux/m68k/chown.c: New file. + * sysdeps/unix/sysv/linux/m68k/fchown.c: New file. + * sysdeps/unix/sysv/linux/m68k/getegid.c: New file. + * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/getgid.c: New file. + * sysdeps/unix/sysv/linux/m68k/getuid.c: New file. + * sysdeps/unix/sysv/linux/m68k/lchown.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file. + Based on a patch by Chris Wing . + +2000-01-14 Jakub Jelinek + + * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file. + +2000-01-13 Jakub Jelinek + + * sysdeps/generic/backtrace.c: Include signal.h which + sigcontextinfo.h headers are used to expect. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h + (register_dump): Fix a typo in the printout. + Avoid using reg_window, so that asm/ptrace.h is not necessary. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h + (ADVANCE_STACK_FRAME): Likewise. + + * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs. + * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise. + * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise. + + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h + to make it clear this file depends on __WORDSIZE. + * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64): + Renamed from have_no_truncate64. + * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64): + Likewise. -2000-09-29 Andreas Jaeger +2000-01-16 Ulrich Drepper + + * Makeconfig (rpath-dirs): Remove db2. + (dbojdir): Remove variable. + + * locale/programs/locfile.h (handle_copy): Take repertoire map + name as parameter, not pointer to repertoire structure. + * locale/programs/ld-address.c: Change caller. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre7. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. +2000-01-13 Ulrich Drepper -2000-09-29 David Mosberger + * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if + mmap2 is available when compiling but no at runtime. - * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup. +2000-01-12 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement. + * iconvdata/iso-ir-165.c: New file. + * iconvdata/iso-ir-165.h: New file. + * iconvdata/Makefile: Add rules to build libISOIR165. -2000-06-10 David Mosberger + * Makefile (install): Correct passing -r parameter to ldconfig. - * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually - works: call to __sigjmp_save must be done unconditionally to - ensure jmp_buf is initialized properly. + * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203. + Reported by Bruno Haible . -2000-09-27 Andreas Jaeger +2000-01-11 Andreas Schwab - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux - 2.4.0-test9-pre7. + * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons. -2000-09-29 Jakub Jelinek +2000-01-10 Thorsten Kukuk - * nscd/nscd-client.h (NSCD_VERSION): Bump to 3. - Use nscd_ssize_t where appropriate. - * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of - ssize_t where appropriate. - * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. - * nscd/hstcache.c (cache_addhst): Likewise. - * nscd/grpcache.c (cache_addgr): Likewise. - * sysdeps/generic/nscd-types.h: New file. - * sysdeps/alpha/nscd-types.h: New file. + * nss/getent.c: Add ipv6 support for hosts. -2000-09-29 Ulrich Drepper +2000-01-05 Philip Blundell - * inet/getnameinfo.c (nrl_domainname): Use symbolic constant - INADDR_LOOPBACK instead of numeric value. + * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit, + getrlimit64, setrlimit64 for GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit, + oldsetrlimit. + * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise. + * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise. + * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise. -2000-09-28 H.J. Lu + * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource] + (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64. + [subdir=misc] (sysdep_headers): Add sys/elf.h. - * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by - _dl_skip_args. - (ELF_MACHINE_FIXED_STACK): Removed. +2000-01-09 Andreas Jaeger -2000-09-29 Andreas Jaeger + * manual/install.texi (Tools for Compilation): Update required + compiler version. + (Configuring and compiling): Restore old comments about + configparms; modify to reflect current usage. - * sysdeps/unix/sysv/linux/s390/lockf64.c: New file. +2000-01-09 Philip Blundell - * sysdeps/unix/sysv/linux/s390/fcntl.c: New file. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name + resolution if the hints included AI_NUMERICHOST. - * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file. +2000-01-11 Andreas Schwab - * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file. + * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into + infinite loop to avoid pulling in stdio in the dynamic linker. + * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise. -2000-09-28 Ulrich Drepper +2000-01-10 Andreas Jaeger - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned - relocation also for R_ALPHA_RELATIVE. - Reported by Ivan Kokshaysky . + * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow + change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to + EM_MIPS_RS3_LE. + * sysdeps/mips/mips64/dl-machine.h: Likewise. -2000-09-18 Bruno Haible + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t, + gregset_t, fpregset_t, and NGREG definitions. - * intl/dcigettext.c: Outside libc, use local variable names that don't - clash with those in libc. - * intl/bindtextdom.c: Likewise. - * intl/textdomain.c: Likewise. + * sysdeps/mips/Implies: Add wordsize-32. -2000-09-28 Ulrich Drepper + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing + int's. - * elf/ldconfig.c (parse_conf): Print full name of config dir - including chroot() path. - (main): Remove trailing / from opt_chroot string. + * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add + missing int's. - * include/features.h: Correct description of what happens if no - *_SOURCE macro is defined. + * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype - correctly. Reported by Felix von Leitner . +2000-01-09 Philip Blundell -2000-09-19 H.J. Lu + * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0. + (dl_platform_init): Allow _dl_platform to be NULL. - * malloc/malloc.h (__memalign_hook): Fix the parameter order. - * malloc/malloc.c (__memalign_hook): Likewise. - (memalign_hook_ini): Likewise. + * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in + last change. -2000-09-28 Ulrich Drepper +2000-01-08 Ulrich Drepper - * stdio-common/tmpnam.c (tmpnam): Optimize a bit. + * nscd/connections.c (handle_request): Handle systems without + SO_PEERCRED. + (nscd_run): Likewise. - * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use - underlying functions directly. +2000-01-07 Andreas Jaeger - * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS. - * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + Add support for Berkeley db 3.0.x and merge db support: + * nss/nss_db/dummy-db.h (struct db30): New. + (struct dbc30): New. + Added DB30* flags. -2000-09-28 Franz Sirl + * nss/makedb.c: Move all database routines to db-open.c. + (main): Adjust to interface changes. + Load database early to initialize version dependend variables. - * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only - define it for powerpc for kernel >= 2.4.0. - * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not - __ASSUME_32BITUIDS. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel. - * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file. - * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file. + * nss/db-open.c: Merge database routines from makedb.c. + Define version dependend constansts as variables. + (load_db): Check also for db 3. + (internal_setent): Call dbopen. + (db_cursor): New function from makedb; handles db 3 now. + (dbopen): New function from makedb; handles db 3. -2000-09-28 Martin Schwidefsksy + * nss/nss_db/db-XXX.c: Use db_notfound since the value is + different in different DB versions. - * sysdeps/s390/atomicity.h: Fix compare_and_swap. + * nss/nss_db/nss_db.h: Add version dependend constants as + variables, add exportet interfaces from db-open.c. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h - (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. + * nss/Makefile ($(objpfx)makedb): Link against db-open. -2000-09-28 Denis Joseph Barrow +2000-01-07 Ulrich Drepper - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from - ucontext.h. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure. + * misc/error.c: Don't use `defined _LIBC', only `_LIBC'. + Reported by Jim Meyering. -2000-09-27 Andreas Schwab + * time/strftime.c: Pretty printing. - * math/Makefile (distribute): Explicitly add the long double test - sources, to get them included even if long double is not supported. +2000-01-07 Andreas Jaeger -2000-09-27 Jes Sorensen + * manual/socket.texi (Host Names): Fix example. + Reported by Marco Budde . - * elf/soinit.c (struct object): Move definition to gccframe.h and - include it. Problem identified by HJ Lu. +2000-01-06 Ulrich Drepper - * sysdeps/ia64/gccframe.h: New file. ia64 specific version of - struct object to be searched for frame unwind info. - * sysdeps/generic/gccframe.h: New file. Generic version of - struct object to be searched for frame unwind info. + * localedata/Makefile (install-locales): Create locale directory + if it does not exist. -2000-09-28 Ulrich Drepper + * locale/programs/charmap.c (charmap_read): Call lr_open here and + not in parse_charmap. Try also the directories on the I18NPATH. + (parse_charmap): Change accordingly. - * manual/errno.texi: Correct error text for ENXIO. - Reported by Jörg Schilling . +2000-01-05 Ulrich Drepper -2000-09-27 Jes Sorensen + * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c + and oldsetrlimit64.c. - * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the - exception status bits rather than the exception disable bits. - Don't include math.h. + * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and + sys/procfs.h. - * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the - status of exceptions currently raised rather than which exceptions - are enabled. + * manual/texinfo.tex: Updated from latest official version. - * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t - rather than unsigned long int. + * debug/Makefile (distribute): Add frame.h. - * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable - the exceptions actually requested by the caller and not just - disable all exceptions. +2000-01-05 Philip Blundell - * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on - the ia64 are enabled by clearing the respective bits in the fpsr, - not setting them. + * sysdeps/arm/frame.h: New file. + * sysdeps/generic/frame.h: Likewise. + * sysdeps/generic/segfault.c (struct layout): Delete definition; + include the above file instead. + * sysdeps/generic/backtrace.c (struct layout): Likewise. + (__backtrace): Use ADVANCE_STACK_FRAME. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h + (ADVANCE_STACK_FRAME): New macro. + (GET_FRAME): Apply above to returned value. - * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to - unsigned long int rather than unsigned long to be consistent with - the coding conventions. + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'. -2000-09-20 H.J. Lu +2000-01-05 Ulrich Drepper - * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of - unsigned long int. - * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise. + * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW. + Patch by YOSHIFUJI Hideaki . -2000-09-28 Ulrich Drepper + * io/ftw.c (process_entry): Cache object dev/inode only for + directories (PR libc/1514). - * string/bits/string2.h: Unify #if usage. +2000-01-05 Andreas Schwab -2000-09-27 Jakub Jelinek + * locale/programs/charmap.c (charmap_read): Fix typo. - * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions - and disabling underflow or overflow, disable inexact as well. +2000-01-05 Ulrich Drepper -2000-09-26 Andreas Jaeger + * locale/programs/charset.c: Removed. - * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types. + * iconvdata/Makefile: Add rules for ISO-8859-16 module. + * iconvdata/gconv-modules: Likewise. + * iconvdata/iso8859-16.c: New file. - * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND. +2000-01-05 Andreas Schwab - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64, - F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4. + * iconv/iconv_prog.c (process_block): Add cast to avoid warning. - * elf/ldconfig.c (search_dir): Allow unlimited path length. - (create_links): Likewise. +2000-01-05 Andreas Jaeger -2000-09-27 Ulrich Drepper + * intl/locale.alias: Add lithunian entry. + Reported by Kestutis Kupciunas , PR libc/1507. - * posix/tst-dir.c: Test a few error cases of chdir. +2000-01-04 Ulrich Drepper -2000-09-26 Ulrich Drepper + * locale/programs/stringtrans.c: Removed. + * locale/programs/stringtrans.h: Removed. + * locale/programs/linereader.c: Remove #include of stringtrans.h. - * math/math_private.h: Don't add long double prototypes if - NO_LONG_DOUBLE is defined. + * locale/findlocale.c (_nl_find_locale): Don't try using mmap is + _POSIX_MAPPED_FILES is not defined. - * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove - CLOCK_MONOTONIC. - * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise. - * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise. + * locale/findlocale.c (_nl_find_locale): Correct memory allocation + for loc_name copy. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC. + * locale/setlocale.c (new_composite_name): Use _nl_C_name and + _nl_POSIX_name instead of "C" and "POSIX" strings. -2000-09-26 Jakub Jelinek + * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower. + (__ctype32_toupper): Use _nl_C_CTYPE_toupper. + * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can + reuse the _nl_C_LC_CTYPE_tolower table. + (_nl_C_LC_CTYPE_toupper32): Likewise. + (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and + toupper32 entries. - * sysdeps/sparc/sparc32/bits/endian.h: Remove. - * sysdeps/sparc/sparc32/ieee754.h: New. - * sysdeps/sparc/sparc64/bits/endian.h: Move... - * sysdeps/sparc/bits/endian.h: ...here. - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize. - * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check - %o1, not %o0 to see if we're parent or child. Optimize. + * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for + characters >= 0x80. + (_nl_C_LC_CTYPE_class32): Likewise. -2000-09-26 Jes Sorensen + * rt/aio.h (struct aioinit): Replace one aio_reserved value with + aio_idle_time. + * rt/aio_misc.c: Rewrite to not automatically terminate worker threads + after the operation is done. Let them linger for a user-definable + time. + * rt/aio_cancel.c: Likewise. + Patch by Willian M Shubert . - * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code - by Hans Boehm). - * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on - code by Hans Boehm). - * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S). + * sysdeps/i386/i686/add_n.S: New file. -2000-09-20 H.J. Lu +2000-01-02 Philip Blundell - * sysdeps/ia64/fpu/printf_fphex.c: New file. + * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference + to obtain port mapping information. Avoid use of mprotect. - * sysdeps/ia64/fpu/libm-test-ulps: New file. +2000-01-04 Ulrich Drepper -2000-09-17 H.J. Lu + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add + definition from 2.3.36. - * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes. +2000-01-04 Andreas Jaeger - * sysdeps/ia64/fpu/s_isinfl.c: New file. Include - sysdeps/i386/fpu/s_isinfl.c. + * nss/nss_db/dummy-db.h (struct db24): Add missing field flags. + (struct db27): Add missing fields byteswapped, join and flags; + remove wrong member handleq. + (struct dbc27): Correct lock field. - * sysdeps/ia64/fpu/s_isnanl.c: New file. Include - sysdeps/i386/fpu/s_isnanl.c. + * nss/makedb.c: Remove __P. - * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include - sysdeps/i386/fpu/s_nextafterl.c. +2000-01-04 Andreas Jaeger - * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from - sysdeps/i386/fpu/bits/mathdef.h. + * nss/nss_db/db-open.c (internal_setent): Check for db_open for + success, fix a memory leak and clean up function. -2000-09-16 H.J. Lu +2000-01-04 Ulrich Drepper - * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if - DL_UNMAP_IS_SPECIAL is not defined. + * Makefile (install): Pass $(install_root) to ldconfig. + Patch by Akira YOSHIYAMA . - * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined. - (_dl_unmap): New prototype. - (DL_UNMAP): New. Defined as _dl_unmap. +2000-01-03 Jakub Jelinek - * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap. + * soft-fp/op-1.h: Fix division for machines using not normalizing + version of udiv_qrnnd in longlong.h. + * soft-fp/sysdeps/mips/sfp-machine.h: Likewise. + * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise. + * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise. + Patch by Eddie C. Dost . - * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP. + * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h. -2000-09-16 H.J. Lu +2000-01-03 Andreas Schwab - * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined - if ELF_FUNCTION_PTR_IS_SPECIAL is not defined. + * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs, + needed for change in common symbol handing in newer binutils. - * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New - prototype. - (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address. +2000-01-03 Ulrich Drepper - * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup - the memory location of a function from a function descriptor. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on + kernel without mmap2 syscall. - * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address. +2000-01-03 Philip Blundell - * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the - memory location. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL, + __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on + ARM for kernels >= 2.3.35. -2000-09-14 Jes Sorensen +2000-01-03 Philip Blundell - * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output - variable as input argument. - (__bswap_32): Likewise. + * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias. + Optimise error handling a little. + * sysdeps/unix/sysv/linux/arm/mmap64.S: New file. - * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START() - - found by Jim Wilson +2000-01-03 Andreas Jaeger -2000-09-26 Ulrich Drepper + * include/resolv.h: Remove declarations for __ns_name_ntop and + __ns_name_unpack since those are available in resolv/arpa/nameser.h. - * string/strxfrm.c: Only require alignment on __alignof__ (int32_t) - instead of 4. +2000-01-03 Andreas Jaeger -2000-09-26 Andreas Schwab + * time/tst-strptime.c (test_tm): Add tests for all fields of + struct tm. - * locale/programs/ld-collate.c (collate_output): Only require - alignment on __alignof__ (int32_t) instead of 4. - * locale/loadlocale.c (_nl_load_locale): Likewise. - * string/strcoll.c: Likewise. +2000-01-03 Ulrich Drepper -2000-09-26 Jes Sorensen + * string/bits/string2.h (__strsep_g): Don't handle empty __S special. - * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add - parentheses around arithmetic used in | statement to kill compiler - warning. +2000-01-03 Andreas Jaeger - * math/math_private.h: Add prototype for __finitel. - (__ilogbl): Likewise. - (__isinfl): Likewise. - (__isnanl): Likewise. - (__atanl): Likewise. - (__copysignl): Likewise. - (__expm1l): Likewise. - (__floorl): Likewise. - (__frexpl): Likewise. - (__ldexpl): Likewise. - (__log1pl): Likewise. - (__nanl): Likewise. - (__rintl): Likewise. - (__scalbnl): Likewise. - (__sqrtl): Likewise. - (fabsl): Likewise. - (__sincosl): Likewise. - -2000-09-26 Andreas Schwab - - * sysdeps/m68k/fpu/libm-test-ulps: New file - -2000-09-26 Ulrich Drepper - - * locale/langinfo.h (__nl_langinfo_l): Add prototype. - -2000-09-26 Andreas Jaeger - - * misc/mkstemp64.c: New file. - * misc/Makefile (routines): Add mkstemp64. - * stdlib/stdlib.h: Add prototype and redirection magic. - * misc/Versions: Add mkstemp64. - -2000-09-26 Thorsten Kukuk - - * nscd/dbg_log.c (dbg_log): Add missing format string. - -2000-09-26 Ulrich Drepper - - * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv - since we filter out the variable once. - * iconv/gconv_conf.c (__gconv_get_path): Likewise. - * locale/newlocale.c (__newlocale): Likewise. - * locale/setlocale.c (setlocale): Likewise. - * malloc/malloc.c (ptmalloc_init): Likewise. - * resolv/res_hconf.c (_res_hconf_init): Likewise. - * resolv/res_init.c (__res_vinit): Likewise. - * time/tzfile.c (__tzfile_read): Likewise. - * sysdeps/generic/unsecvars.h: New file. - * elf/dl-support.c (non_dynamic_init): Use it here to remove variables. - * elf/rtld.c (process_envvars): Likewise. - * elf/Makefile (distribute): Add unsecvars.h. - - * misc/daemon.c (daemon): Fail if !noclose and we cannot open the - real /dev/null device. - - * sysdeps/generic/check_fds.c: Include device-nrs.h. - * sysdeps/generic/device-nrs.h: New file. - * sysdeps/unix/sysv/linux/device-nrs.h: New file. - * misc/Makefile (distribute): Add device-nrs.h. - - * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to - remove possible garbage at the end of the file. - -2000-09-25 Ulrich Drepper - - * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r. - * stdio-common/tmpnam.c: Warn about insecure tmpnam. - * stdio-common/tempnam.c: Warn about insecure tempnam. - * misc/mktemp.c: Warn about insecure mktemp. - - * sysdeps/generic/check_fds.c: Check that file opened is really - /dev/null. - * posix/wordexp.c (exec_comm_child): Likewise. - - * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW. - - * locale/Makefile (routines): Add nl_langinfo_l. - * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l. - * locale/nl_langinfo_l.c: New file. - * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l - definition. + * string/tester.c (test_strsep): Add one more test. -2000-09-23 Bruno Haible +2000-01-03 Philip Blundell - * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0. - (__gbk_to_ucs): Conditionalize private area mappings. - (__gbk_from_ucs4_tab9): Likewise. - (BODY for TO_LOOP): Likewise. - * iconvdata/testdata/GBK: Don't use characters not yet in Unicode. - * iconvdata/testdata/GBK..UTF-8: Likewise. - * iconvdata/tst-tables.sh: Enable GBK test. + * string/tester.c (test_mempcpy): New function. + (main): Call it. + (test_memcpy): Test unaligned cases too. -2000-09-23 Bruno Haible + * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define. - * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015. - (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015. - (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds - array access. - * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA. - * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015. + * sysdeps/arm/fpu/bits/mathdef.h: New file. -2000-09-23 Bruno Haible +2000-01-02 Ulrich Drepper - * iconvdata/johab.c (final_to_ucs): Fix typos. - (jamo_from_ucs_table): Likewise. - (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges - 0xD9E6..0xD9FE and 0xDEF2..0xDEFE. - (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in - the range 0xD9E6..0xD9FE. - * iconvdata/tst-tables.sh: Enable JOHAB testing. + * posix/Makefile (tests): Add tst-mmap. + * posix/tst-mmap.c: New file. -2000-09-25 Ulrich Drepper + * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2 + call before handling error. - * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative - GCONV_PATH. + * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets. + * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. -2000-09-24 Ulrich Drepper + * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for + 0xa2e6 and 0xa2e7. + (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC. + * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new + mappings. + * iconvdata/testdata/EUC-KR: Add Euro and Registered sign. + * iconvdata/testdata/ISO-2022-KR: Likewise. - * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if - stream is in wide mode. + * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger. - * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream. + * iconvdata/gconv-modules: Remove BALTIC. It's the same as + ISO-8859-13. + * iconvdata/Makefile (distribute): Remove baltic.c. + (modules): Remove BALTIC. + (gen-8bit-gap-modules): Remove baltic. + * iconvdata/baltic.c: Removed. -2000-09-21 Bruno Haible + * sysdeps/posix/system.c: Correct return value for LINE == NULL. - * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count - by 3, not 2. - (INIT_PARAMS, UPDATE_PARAMS): Likewise. + * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend. -2000-09-21 Bruno Haible + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix + typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL). + Reported by Philip Blundell . - * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in - reallocation logic for MALLOC (%as, %aS formats). + * nss/Makefile: Add rules to build makedb. + * nss/nss_db/nss_db.h: Add definitions needed for makedb. + * nss/nss_db/dummy-db.h: Likewise. + * nss/makedb.c: New file. Copied from file in db2, modified to not + depend on being linked against libdb. -2000-09-24 Ulrich Drepper +2000-01-01 Ulrich Drepper - * stdio-common/vfprintf.c (process_arg): Handle %hhn. - Add missing case in va_arg handling for numbers. - * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn - handling. - * stdio/tst-printf.sh: Adjust expected results. - Reported by Joseph S. Myers . + * Makeconfig (all-subdirs): Remove db and db2. + * db/*: Removed. + * db2/*: Removed. -2000-09-20 Bruno Haible + * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent + functions from here... + * nss/db-alias.c: ...and here... + * nss/db-netgrp.c: ...and here... + * nss/nss_db/db-open.c: ...to here. New file. + * nss/nss_db/dummy-db.h: New file. + * nss/nss_db/nss_db.h: New file. + * nss/Depend: Depend in dlfcn, not db2. + * nss/Makefile (libnss_db-routines): Add db-open. + (distribute): Add nss_db.h dummy-db.h. + (libnss_db.so): Replace libdb dependency by $(libdl). + Based on a patch by Zack Weinberg. - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80. - (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half - characters. - * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits - as equivalent to uppercase hexadecimal digits. + * locale/programs/ld-ctype.c: Implement rest of transliteration + definition parsing. + * locale/programs/locfile-kw.gperf: New keyword translit_ignore. + * locale/programs/locfile-token.h: Add tok_translit_ignore. -2000-09-20 Bruno Haible +1999-12-31 Ulrich Drepper - * iconvdata/testdata/EUC-KR..UTF8: New file. - * iconvdata/testdata/EUC-TW: New file. - * iconvdata/testdata/EUC-TW..UTF8: New file. - * iconvdata/testdata/EUC-JP: New file. - * iconvdata/testdata/EUC-JP..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP: New file. - * iconvdata/testdata/ISO-2022-JP..UTF8: New file. - * iconvdata/testdata/ISO-2022-JP-2: New file. - * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file. - * iconvdata/testdata/ISO-2022-KR: Add a few more lines. - * iconvdata/testdata/ISO-2022-KR..UTF8: New file. - * iconvdata/testdata/ISO-2022-CN: New file. - * iconvdata/testdata/ISO-2022-CN..UTF8: New file. - * iconvdata/testdata/ISO-2022-CN-EXT: New file. - * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file. - * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2, - ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW. + * locale/programs/ld-collate.c (collate_output): Emit correct + information for collation elements. + Don't write over end of array idx. + * posix/regex.c: Handle also collation elements at end of range. -2000-09-24 Andreas Jaeger + * posix/PTESTS: Fix a few typos. - * elf/ldconfig.c (add_dir): Move logic to add entry to list to new - function add_single_dir. - (add_single_dir): New function. - (search_dir): Use add_single_dir instead of recursing. + * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX. I have + no idea where this came from. + * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling. - * sysdeps/generic/dl-cache.h: Include stdint.h. - (struct file_entry_new): Use fixed sizes for interoperability - between 32bit and 64bit systems, add __unused to make alignment - explicit. - (CACHE_VERSION): Increment. - (struct cache_file_new): Use fixed sizes, add one more unused - entry to make alignment explicit. +1999-12-31 Andreas Jaeger -2000-09-24 Ulrich Drepper + * libio/strfile.h: Remove K&R compatibility. + * locale/langinfo.h: Likewise. + * locale/localeconv.c (localeconv): Likewise. + * locale/programs/simple-hash.h: Likewise. + * nis/nis_xdr.h: Likewise. + * nis/rpcsvc/nislib.h: Likewise. + * nis/rpcsvc/nis_callback.h: Likewise. + * nis/rpcsvc/nis.h: Likewise. + * nis/ypclnt.c: Likewise. + * nscd/nscd_proto.h: Likewise. + * nscd/nscd.c: Likewise. + * sysdeps/generic/inttypes.h: Likewise. + * sysdeps/gnu/utmpx.h: Likewise. - * elf/ldconfig.c (search_dir): Make more use of d_type information. + * nis/nis_intern.h: Remove K&R compatibility; add missing ints. + * sunrpc/rpcsvc/rusers.x: Likewise. -2000-09-23 Ulrich Drepper + * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. - * stdio-common/printf-parse.h (parse_one_spec): Clear - spec->info.i18n. Patch by Joseph S. Myers . + * elf/dl-misc.c: Remove __libc_write prototype since it's already + in include/unistd.h. + * elf/dl-profile.c: Likewise. + * elf/dl-load.c: Likewise for __libc_read. -2000-09-18 Mark Kettenis + * elf/dl-profile.c: Remove __P. + * elf/sprof.c: Likewise. + * elf/sln.c: Likewise. + +1999-12-31 Ulrich Drepper + + * locale/langinfo.h: Add constants for wide character collation + symbol table. + * locale/categories.def: Add appropriate entries for collate symbol + table entries. + * locale/C-collate.c: Add initializers for new entries. + Remove commented out code. + * locale/elem-hash.h: New file. + * locale/Makefile (distribute): Add elem-hash.h. + * locale/programs/ld-collate.c: Implement output of collate symbol + table. - * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO): - #undef since we don't have msync. + * posix/regex.c: Implement collation class handling. - * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int - constant since that is what clock_t is. - * sysdeps/mach/hurd/i386/bits/time.h: Likewise. +1999-12-30 Ulrich Drepper -2000-09-11 Mark Kettenis + * posix/regex.c (regex_compile): Implement equivalence class handling. - * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of - multiply by LOAD_SCALE. +1999-12-30 Geoffrey Keating -2000-09-22 Jakub Jelinek + * sysdeps/powerpc/dl-machine.c: Many minor formatting changes. + (OPCODE_LWZU): New macro. + (OPCODE_ADDIS_HI): New macro. + (OPCODE_LIS_HI): New macro. + (__elf_machine_runtime_setup): Change PLT code-generation scheme + for thread safety even with very large PLTs, better efficiency, + and to fix a cache-flushing bug. Also support the Motorola + 8xx processors which have a different cache line size than all + the others. + (__elf_machine_fixup_plt): Likewise. + (__process_machine_rela): Don't use elf_machine_fixup_plt. - * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW. - (crypt_r, setkey_r, encrypt_r): Likewise. +1999-12-30 Ulrich Drepper -2000-09-22 Andreas Jaeger + * wcsmbs/wcscoll.c: Use multibyte character version. + * wcsmbs/wcsxfrm.c: Likewise. + * string/strcoll.c: Prepare to be used for the wide character version. + * string/strxfrm.c: Likewise. + * locale/weightwc.h: New file. - * locale/programs/repertoire.c (repertoiremap_hash): Don't specify - array size. +1999-12-30 Geoff Keating - * sysdeps/alpha/fpu/libm-test-ulps: New file. - From Christian Iseli . + * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove + the (void) casts as now feraiseexcept returns a value. + (feclearexcept): Likewise. -2000-09-21 Andreas Jaeger + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0', + it interferes with the macros for AIX. - * math/libm-test.inc (atan_test): Test for existence of function. - (expm1_test): Likewise. - (acos_test): Likewise. - (asin_test): Likewise. - (exp_test): Likewise. - (log10_test): Likewise. - (log_test): Likewise. - (pow_test): Likewise. - (sqrt_test): Likewise. - (cos_test): Likewise. - (sin_test): Likewise. - (tan_test): Likewise. - (log1p_test): Likewise. - (log2_test): Likewise. +1999-12-30 Ulrich Drepper - * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6. + * locale/programs/ld-collate.c (collate_finish): Always define + weight for UNDEFINED if not defined by the user but don't complain + unless it is needed in the multibyte character table. + (collate_output): Add extra dummy elements in wide char tables in the + same way done for multibyte. Always output undefined entry in + wide character table. - * libio/oldiofsetpos64.c: Fix alias names. + * locale/Makefile (categories): Remove commented-out old definition. -2000-09-21 Martin Buchholz + * locale/programs/ld-collate.c (insert_value): Don't pass wide string + to new_element if the wide char is not valid. + (handle_ellipsis): Likewise. + (collate_read): It's no problem if the string in the collating element + definition cannot be represented as multibyte or wide char string. - * manual/terminal.texi (Allocation): Sample code correction. +1999-12-13 Andreas Jaeger -2000-09-20 Andreas Jaeger + * resolv/resolv.h: Remove K&R compatibility. - * iconvdata/Makefile (generated): Add tst-tables.out. + * resolv/res_libc.c: Move definition of _res after res_init, + res_init should use the threaded specific context. - * intl/Makefile (generated): Add test output. + * resolv/Makefile (+cflags): Remove -Wno-comment since it's not + needed anymore. -2000-09-19 Andreas Jaeger +1999-12-29 Ulrich Drepper - * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer. - Reported by Jens-Uwe Mager . + * locale/langinfo.h: Add constants for wide character collation data. + * locale/categories.def: Add appropriate entries for collate entries. + * locale/C-collate.c: Add initializers for new entries. + * locale/programs/ld-collate.c: Implement output of wide character + tables. -2000-09-18 Ulrich Drepper + * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to + compute wide character table size a bit: it now gives up a bit of + total table size for fewer levels. - * version.h (VERSION): Bump to 2.1.94. + * soft-fp/*: Tons of new files to implement floating-point arithmetic + in software. + Contributed by Richard Henderson, Jakub Jelinek and others. - * sysdeps/mips/Dist: Add fpu/fenv_libc.h. - * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c. - * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c. - * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h. +1999-12-29 Andreas Jaeger - * malloc/mtrace.c (mtrace): Mark stream as close on exec. + * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include + ; remove K&R compatibility; add missing ints. -2000-09-17 Bruno Haible + * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility, + add missing ints. - * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the - range 0xD800..0xDFFF. - * iconvdata/unicode.c (BODY for TO_LOOP): Likewise. - (BODY for FROM_LOOP): Likewise. - * iconv/gconv_simple.c (ucs2_internal_loop): Likewise. - (internal_ucs2_loop): Likewise. - (ucs2reverse_internal_loop): Likewise. - (internal_ucs2reverse_loop): Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Don't include . -2000-09-17 Bruno Haible +1999-12-29 Andreas Jaeger - * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding - names. + * manual/getopt.texi (Using Getopt): Document ordering of options. -2000-09-17 Bruno Haible +1999-12-29 Andreas Jaeger - * iconvdata/tst-table-from.c (main): Fix test for error on stdout. - * iconvdata/tst-table-to.c (main): Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek. + Requested by Michael Deutschmann . -2000-09-17 Bruno Haible +1999-12-14 Andreas Jaeger - * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from - __isoir165_tab. - * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration. - * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h". - (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set, - CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values. - (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3. - Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT. - (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that - caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643 - plane 3. Fix shift sequences. Output announcement for SS2 and SS3 - encodings when needed. When outputting an announcement, don't clear - most other announcements. + * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux + 2.3.32. -2000-09-17 Bruno Haible +1999-12-28 Jakub Jelinek - * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun. - (BODY for TO_LOOP): Fix usage of `set' vs. `used'. + * elf/sprof.c (load_shobj): Fix error message. + (generate_call_graph): Cast %*s length argument to int. + * locale/programs/localedef.c (construct_output_path): Likewise. + * locale/programs/ld-ctype.c (ctype_finish): Use proper format + specifier. + (ctype_class_new): Likewise. + * locale/programs/ld-time.c (time_finish): Likewise. + * sunrpc/svc_simple.c (register_rpc): Likewise. + * nscd/connections.c (nscd_run, start_threads): Use long instead of + int to avoid cast warnings. + * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill + warning. + * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused + variable se. -2000-09-14 Bruno Haible + * time/strftime.c (my_strftime): Provide wide era string when + requested. - * intl/Versions: Add bind_textdomain_codeset. + * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl): + Separate into 32bit and 64bit versions. -2000-09-16 Ralf Baechle +1999-12-28 Ulrich Drepper - * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare - as function. - (_RTLD_EPILOGUE): Reformat. Declare size of entry function. - (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so - it will even work when not loaded to the standard address. - (RTLD_START): Reformat. Call _dl_start in a way that is safe even - before the dynamic linker itself is relocated. + * iconvdata/Makefile (modules): Add ISO-2022-CN. + Add link rules for this module. + (distribute): Add iso-2022-cn.c and cns11643l2.h. + * iconvdata/cns11643l2.h: New file. + * iconvdata/iso-2022-cn.c: New file. + * iconvdata/gconv-modules: Add entries for ISO-2022-CN module. -2000-09-18 Andreas Jaeger + * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument + unsigned. + (ucs4_to_cns11643l1): Likewise. + * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4. - * sysdeps/unix/sysv/linux/kernel-features.h: Always define - __ASSUME_32BITUIDS for MIPS. - * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h. + * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion + loop to UCS4. + Optimize recognition of escape sequences a bit. -2000-09-17 H.J. Lu + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit + and oldsetrlimit definitions. - * catgets/Makefile ($(objpfx)de/libc.cat): Use - $(make-target-directory) instead of mkdir. +1999-12-27 Ulrich Drepper -2000-09-17 Franz Sirl + * iconvdata/run-iconv-test.sh: Improve test output a bit to allow + identifying errors more easily. - * sysdeps/unix/sysv/linux/kernel-features.h: Always define - __ASSUME_32BITUIDS for __powerpc__. - * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h. + * iconvdata/testdata/EUC-CN..UTF8: New file. + * iconvdata/testdata/GBK..UTF8: New file. -2000-09-17 Ulrich Drepper + * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined + mappings. Fix last patch. + * iconvdata/TESTS: Add GBK. + * iconvdata/testdata/GBK: New file. - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last - patch. - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. + * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101, + 0x2312, and 0x2500..0x254b. + * iconvdata/TESTS: Add EUC-CN. + * iconvdata/testdata/EUC-CN: New file. -2000-09-16 Jakub Jelinek + * iconvdata/gbgbk.c: New file. + * iconvdata/Makefile (modules): Add GBGBK. + (distribute): Add gbgbk.c. + * iconvdata/gconv-modules: Add entries for GBGBK modules. - * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes - first. - * sysdeps/m68k/Implies: Likewise. - * sysdeps/sparc/sparc64/Implies: Likewise. + * iconvdata/euc-cn.c: Fix comment. -2000-09-16 Jakub Jelinek + * iconvdata/gbk.c: Optimize the switch statement in the conversion + to GBK a bit. - * elf/readlib.c (process_file): Don't error for stale .so links either. + * locale/programs/charmap.c (charmap_new_char): Recognize special + character names Uxxxx and Pxxxx and initialize the UCS4 value from + the value of xxxx. -2000-09-16 Ulrich Drepper +1999-12-17 Andreas Jaeger - * elf/dl-load.c (_dl_map_object_from_fd): Add one more - __builtin_expect. + * stdlib/Versions: Export __cxa_atexit and __cxa_finalize. - * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX. - Patch by Thorsten Kukuk . +1999-12-16 Mark Mitchell - * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c. - (test): Add default. - (modules-names): Add defaultmod1 and defaultmod2. - Add rules to build test objects. + * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize. + * stdlib/exit.h (flavor): Add ef_cxa. + (exit_function): Add cxa variant. + * stdlib/exit.c (exit): Handle ef_cxa exit functions. + * stdlib/cxa_atexit.c: New file. + * stdlib/cxa_finalize.c: New file. -2000-09-15 Ulrich Drepper +1999-12-27 Ulrich Drepper - * wctype/wctype.h: Always include . - Reported by Jim Meyering . + * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest + Unicode tables. - * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now. - * elf/dl-support.c: Likewise. +1999-12-26 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of - st_blocks member in stat and stat64 structs. - Patch by Bill Nottingham . + * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to + __have_no_stat64. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * iconvdata/tst-tables.sh: Add warning that GB18030 test might - take longer. + * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion + of . + +1999-12-26 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86. Set + argument count for `syscall' to 7. + * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls + with more than five arguments. + (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame. + +1999-12-26 Ulrich Drepper + + * locale/programs/ld-collate.c (collate_output): Don't start with empty + extrapool and indirectpool obstacks since we need the offsets to be + nonzero. + (collate_read): Call load_locale, not find_locale. + * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category + wasn't defined in the file also initialize repertoire if possible. + * locale/programs/ld-time.c (time_finish): Fix message string. + * locale/programs/linereader.c: Cast parameters of lr_error to + correct type to prevnet warning. + * locale/programs/localedef.c (load_locale): New file. + * locale/programs/localedef.h: Add its prototype. + * locale/programs/repertoire.c (repertoire_new_char): Add missing + parameters to lr_error call. + + * localedata/Makefile: Enable running tests again. + * localedata/tests/test2.def: Adjust syntax to new specification. + * localedata/tests/test3.def: Likewise. + * localedata/tst-trans.sh: Redirect output of program into file. + + * string/strcoll.c: Fix many error in new implementation to make it + pass (at least) the test suite. + + * locale/Makefile: Don't link localedef statically anymore. + + * locale/ld-collate.c (struct element_t): Add field is_character and + use it to distinguish real character from collating elements and + symbols. + (new_element): Take new parameter to initialize is_character. Change + all callers. + (handle_ellipsis): Use is_character field to make sure ellipsis is + only used with characters. + (collate_read): Fix reading of collating elements. + + * string/strxfrm.c: Correct loop end detection and memory access + in the little optimization at the end. + + * locale/programs/ld-monetary.c (monetary_finish): Correct code to + emit warnings. Provide default value for mon_decimal_point. + + * locale/programs/ld-collate.c (collate_finish): Don't crash if this + category wasn't defined. + (collate_output): Likewise. + + * locale/programs/ld-address.c: Don't emit message about not defined + category if be_quiet. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. - * math/complex.h: Don't define _Complex macro for gcc 3. Add - __extension__ to _Complex_I definition since gcc warns if -pedantic. - * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~. - Patches by Joseph S. Myers . + * locale/programs/locfile.c (write_locale_data): Correct memory + allocation for fname. - * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if - necessary. Move includes of POSIX and Unix limits files to the end. - * stdlib/Makefile (tests): Add tst-limits. - * stdlib/tst-limits.h: New file. +1999-12-25 Ulrich Drepper -2000-09-15 Andreas Jaeger + * locale/programs/ld-collate.c (read_directions): Fix a few messages. + (collate_finish): Test that position is used in all sections for + a level or in none. - * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV. + * string/strxfrm.c: Optimize a bit. We don't need the highest bit + of the index returned by findidx. - * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define. + * string/strcoll.c: Complete rewrite for new collate implementation. + * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation + locally. -2000-09-15 Jakub Jelinek + * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the + indirect table. + * locale/langinfo.h: Likewise. + * locale/categories.def: Likewise. Remove reference to postload + functions. + * locale/lc-collate.c (_nl_postload_collate): Removed. Also remove + __collate_tablemb, __collate_weightmb, and __collate_extramb. + * locale/localeinfo.h: Remove declaration for removed variables above. + Remove prototype for _nl_get_era_entry. + * locale/weight.h: Complete rewrite for new collate implementation. + * locale/programs/ld-collate.c: Many changes to make output file + usable in strxfrm/strcoll. + * string/strxfrm.c: Complete rewrite for new collate implementation. + * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation + locally. + +1999-12-25 Shinya Hanataka + + * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign + transformation values for chars >255. + * wctype/wctrans.c: Return pointer unmodified. + +1999-12-24 Ulrich Drepper + + * sysdeps/posix/system.c (__libc_system): Check whether command + processor is available if LINE is NULL. Don't return immediately + if wait call returned with EINTR. + Patches by Geoff Clare (PR libc/1497 and libc/1498). + +1999-12-23 Ulrich Drepper + + * locale/programs/ld-monetary.c (monetary_finish): Add cast to + prevent warning. + + * locale/programs/ld-collate.c: Implement writing out multibyte + collation data. + + * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again. + * locale/localeinfo.h: Declare variables only for currently implemented + collate functionality. Remove FORWARD_CHAR and ELLIPSIS_CHAR. + * locale/lc-collate.c: Define variables only for currently implemented + functionality. + * locale/langinfo.h: Define symbols only for currently implemented + functionality. + * locale/categories.def: Define elements for currently implemented + functionality. + * locale/C-collate.c: Comment out definitions of arrays with symbol + name definitions etc. + (_nl_C_LC_COLLATE): Update for currently defined information. + + * intl/libintl.h: Remove dcgettext macro definition. + * intl/gettextP.h: Declare _nl_msg_cat_cntr. + + * locale/iso-4217.def: Add NAD. Remove a few obsolete entries. + + * sysdeps/generic/glob.c (glob): Pass alternate file access functions + also in recursive call. Patch by Joe Orton . + +1999-12-22 Jakub Jelinek + + * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type + for __fenv_stfsr argument. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add + truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2. + Remove ugetrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h + (XSTAT_IS_XSTAT64): Define. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add + __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite + and __libc_pwrite64. + Remove oldgetrlimit and oldsetrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file. + + * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf + pointer to the syscall, not address of that pointer. + * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise. + * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise. + (__syscall_stat64): Provide proper prototype. - * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory - clobber. - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. - * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise. + * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share + has_no_truncate64 between truncate64 and ftruncate64. + * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. -2000-09-15 Ulrich Drepper + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL, + __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35. - * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c. - (tests): Add next. - (modules-names): Add nextmod1 and nextmod2. - Add rules to build and run next. - * elf/next.c: New file. - * elf/nextmod1.c: New file. - * elf/nextmod2.c: New file. +1999-12-22 Andreas Jaeger -2000-09-14 Jakub Jelinek + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64, + __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64. - * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo. +1999-12-21 Shinya Hanataka -2000-09-15 Andreas Jaeger + * locale/lc-time.c: Extend structure era_entry. + * locale/localeinfo.h: Likewise. + * locale/lc-time.c: Handle '-' direction used in locale's era part + properly. + * time/strptime.c: Likewise. + * time/strftime.c: Likewise. + * locale/programs/ld-time.c: Consider negative values in era part + of locale as B.C.. + * time/strptime.c (strptime_internal): Merged Yoshiyama's + %E[CyY] implementation. - * sysdeps/mips/fpu/fenv_libc.h: New file. - * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h - * sysdeps/mips/fpu/fegetexcept.c: Likewise. - * sysdeps/mips/fpu/fedisblxcpt.c: Likewise. +1999-12-21 Akira Yoshiyama - * sysdeps/mips/fpu/feenablxcpt.c: New file. - * sysdeps/mips/fpu/fegetexcept.c: New file. - * sysdeps/mips/fpu/fedisblxcpt.c: New file. + * time/strptime.c (strptime_internal): Fix segV bugs of a couple + of recursive() call. + * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY' + parsing. -2000-09-14 Ulrich Drepper +1999-12-21 Ulrich Drepper - * intl/Makefile: Avoid unnecessary test reruns. + * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value. + Patch by Scott Bambrough . - * stdio-common/tst-printf.sh: Also allow output from 64-bit machines. +1999-12-21 Andreas Schwab - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change - to not use sysctl(). Too many architectures have problems with it. + * sysdeps/unix/sysv/linux/pread.c: Fix typo. -2000-09-14 Andreas Jaeger + * include/unistd.h: Declare __libc_lseek. - * scripts/config.sub: New version from subversions.gnu.org. +1999-12-21 Andreas Jaeger - * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now - long. + * stdlib/longlong.h: Remove __P. -2000-09-14 Jakub Jelinek +1999-12-21 Andreas Jaeger - * posix/regex.c (compile_range): Cast collseq index to unsigned char - to avoid accessing data before collseq. + * sysdeps/powerpc/fpu/libm-ulps: New file. - * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid - pasting strings together. +1999-12-21 Ulrich Drepper -2000-09-14 Greg McGary + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h + and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t. - * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in - copyright notice. - * sysdeps/generic/bp-semctl.h: Likewise. - * sysdeps/generic/bp-start.h: Likewise. - * sysdeps/generic/bp-sym.h: Likewise. - * sysdeps/generic/bp-thunks.h: Likewise. Include to get - rename prototype. +1999-12-21 Andreas Jaeger -2000-09-13 Ulrich Drepper + * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #. + * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise. + * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #. + * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise. + * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #. + * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise. - * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and - don't fail. +1999-12-21 Ulrich Drepper - * elf/elf.h: Add missing official relocations. + * sysdeps/unix/sysv/linux/i386/getmsg.c: New file. + * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/i386/putmsg.c: New file. + * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file. + * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/getmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/putmsg.c: New file. + * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and + putpmsg. - * libio/stdio.h: Define __FILE if __need___FILE is defined. - * stdio/stdio.h: Likewise. - * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE. - * include/stdio.h: Handle __need___FILE like __need_FILE. - * include/wchar.h: Use __FILE instead of FILE. - * libio/fwprintf.c: Include for FILE definition. - * libio/fwscanf.c: Likewise. - * libio/getwc.c: Likewise. - - * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u. - * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1. - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise. - - * assert/assert.h: Update comment header about ISO C section. - * math/complex.h: Likewise. - * ctype/ctype.h: Likewise. - * include/errno.h: Likewise. - * include/limits.h: Likewise. - * locale/locale.h: Likewise. - * math/math.h: Likewise. - * setjmp/setjmp.h: Likewise. - * signal/signal.h: Likewise. - * stdio/stdio.h: Likewise. - * libio/stdio.h: Likewise. - * stdlib/stdlib.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * wcsmbs/wchar.h: Likewise. - * wctype/wctype.h: Likewise. - Patches by Joseph S. Myers . +1999-12-20 Ulrich Drepper -2000-09-13 Andreas Jaeger + * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h" + before testing for __ASSUME_STAT64_SYSCALL. + * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test - for no more entries. - * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise. - Reported by Eric S. Johnson , closes PR libc/1887. +1999-12-20 Andreas Schwab -2000-09-13 Ulrich Drepper + * manual/install.texi (Running make install): Clearify that + install_root should be an absolute file name. - * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int - constant since this is what clock_t is. - * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. - * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise. +1999-12-20 Ulrich Drepper - * time/time.h: Don't defined clockid_t and timer_t unless POSIX - definitions are requested. + * iconv/gconv.c (__gconv): Deal with outbuf being NULL. -2000-09-13 Andreas Jaeger + * iconv/iconv.c (iconv): Allow omitting output buffer if no input + buffer is given to place conversion descriptor in initial state. + * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and + CSPC862LATINHEBREW. + * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312 + (according to IANA registry). + Reported by Bruno Haible . - * shlib-versions: libBrokenLocale needs minimal version for ia64, - sparc64 and sh to synch with libc. + * iconvdata/johab.c: Correct completely broken conversion to JOHAB. -2000-09-13 Ulrich Drepper + * locale/categories.def: Remove most of the collate definitions. + * locale/langinfo.h: Comment out corresponding definitions. + * locale/programs/locale-spec.c (locale_special): Don't recognize the + collate names yet. + * locale/programs/ld-collate.c: Correct and optimize computation of + weights. Set up list of all definitions correctly. Start writing + function to generate output file. - * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT. - (distribute): Add iso-2022-cn-ext.c. - Add definitions to compile the new module. - * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT. - * iconvdata/iso-2022-cn-ext.c: New file. - * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from - ucs4_from_isoir165. Increment input pointer if successful. + * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in + loop to compute default mapping. - * csu/Makefile: Work around a gcc bug when creating csu-dummies. +1999-12-19 Ulrich Drepper - * sysdeps/unix/sysv/linux/getdents.c: Pretty print. + * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for + cancelation wrapper. + * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. -2000-09-01 Jes Sorensen +1999-12-19 Andreas Jaeger - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add - __syscall_getdents64 wrapper. + * sysdeps/generic/libc-start.c: Remove declaration of + __libc_open. Move declaration of __libc_fcntl to ... + * include/fcntl.h: ...here. - * sysdeps/unix/sysv/linux/ia64/net/route.h: New file. + * include/unistd.h: Move __libc_open and __libc_open64 to ... + * include/fcntl.h: ...here. -2000-09-12 Ulrich Drepper + * malloc/malloc.h (__attribute_malloc__): Only define if hasn't + happened yet. - * iconvdata/gb18030.c: Many many changes. Make consistent with - charmap and with itself. - * iconvdata/tst-tables.sh: Test GB18030. + * malloc/Versions: __libc_freeres was exported with glibc 2.1.3, + rename label. -2000-09-11 Ulrich Drepper +1999-12-19 Ulrich Drepper - * iconv/skeleton.c: Fix last patch, add missing parameter to - unaligned function call. + * sysdeps/unix/sysv/linux/bits/resource.h: Remove + inclusion. -2000-09-10 Bruno Haible +1999-12-19 Andreas Jaeger - * locale/programs/ld-collate.c (collate_read): Fix typo in handling - of decimal ellipsis. + * include/string.h: Mark __strndup with __attribute_malloc__. -2000-09-11 Bruno Haible +1999-12-19 Ulrich Drepper - * locale/programs/ld-collate.c (collate_read): Always initialize - error_section.next. + * locale/langinfo.h: Always define CODESET. + (CODESET): Define also as macro. -2000-09-10 Bruno Haible + * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to + generate mantissa output in using malloc if it is larger than + 20000 characters. + Reported by Jim Meyering . - * locale/programs/ld-collate.c (collate_finish): Upper bound for - ruleidx is 128, not 256. +1999-12-18 Ulrich Drepper + + * misc/sys/cdefs.h: Define __attribute_malloc__ according to + available gcc version. + * string/string.h: Mark strdup, __strdup, and strndup with + __attribute_malloc__. + * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with + __attribute_malloc__. + * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc, + and __default_morecore with __attribute_malloc__. + Provide default definition for __attribute_malloc__. + * libio/stdio.h: Make tempnam with __attribute_malloc__. + + * include/unistd.h: Declare __libc_open64, __libc_lseek64, + __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. + * io/Versions: Export __libc_open64 and __libc_lseek64. + * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite, + and __libc_pwrite64. + * sysdeps/generic/open64.c: Define __libc_* variant for cancelation + wrapper. + * sysdeps/generic/pread.c: Likewise. + * sysdeps/generic/pread64.c: Likewise. + * sysdeps/generic/pwrite.c: Likewise. + * sysdeps/generic/pwrite64.c: Likewise. + * sysdeps/posix/open64.c: Likewise. + * sysdeps/posix/pread.c: Likewise. + * sysdeps/posix/pread64.c: Likewise. + * sysdeps/posix/pwrite.c: Likewise. + * sysdeps/posix/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/llseek.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. -2000-09-11 Ulrich Drepper + * sysdeps/posix/open64.c: Help gcc generating better code. - * locale/programs/ld-collate.c (collate_read): Correct check for - already inserted entries. + * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open + instead of __open. -2000-09-10 Bruno Haible +1999-12-11 H.J. Lu - * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in - second try as well. + * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl + instead of __fcntl. -2000-09-10 Bruno Haible +1999-12-18 Ulrich Drepper - * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if - MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1. + * iconvdata/isiri-3342.c: New file. + * iconvdata/Makefile (modules): Add ISIRI-3342. + (distribute): Add isiri-3342.c. + (gen-8bit-gap-modules): Add isiri-3342. + * iconvdata/gconv-modules: Add entries for ISIRI-3342. -2000-09-10 Bruno Haible + * malloc/Versions: Export __libc_freeres for GLIBC_2.1. - * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with - SAVE_RESET_STATE. + * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable + result if necessary. -2000-09-10 Bruno Haible + * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the + unreliable kernel headers. + * sysdeps/unix/sysv/linux/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file. + * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file. - * iconvdata/utf-7.c: New file. - * iconvdata/gconv-modules (UTF-7): New module entries. - * iconvdata/Makefile (modules): Add UTF-7. - (distribute): Add utf-7.c. - * iconvdata/testdata/UTF-7: New file. - * iconvdata/testdata/UTF-7..UTF8: New file. - * iconvdata/TESTS (UTF-7): New entry. - * iconvdata/run-iconv-test.sh: Fix confusing output. +1999-12-18 Andreas Jaeger -2000-09-11 Ulrich Drepper + * config.make.in (datadir): Added. + Closes PR libc/1491. Patch by dervishd@jazzfree.com. - * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat. +1999-12-18 Andreas Jaeger -2000-09-10 David S. Miller + * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and + set errno. + * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise. - * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp - frame pointer offset for non-fast path. +1999-12-18 Andreas Jaeger -2000-09-10 Ulrich Drepper + * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64 + syscall if available. + * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64. + * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64. - * locale/programs/3level.h (*_init): Initialize level1, level2, - and level3 as well. - (*_add): Remove a few unnecessary conditionals. + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_STAT64_SYSCALL): New. -2000-09-05 Wolfram Gloger +1999-12-17 Scott Bambrough - * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread, - ensure usability of mutex as an `in use' flag. + * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a + cache flush. + * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache + after .text segment fixups. -2000-09-10 Ulrich Drepper +1999-12-16 Andreas Jaeger - * shlib-versions: Simplify libm entries. Correct a few Hurd entries. + * rt/aio.h: Remove erroneous __restrict declarations. - * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the - ugly GMON_WEAK_START hack. - Patch by Philip Blundell . +1999-12-18 Ulrich Drepper - * sysdeps/i386/i486/bits/string.h: Pretty printing. + * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell + do the job if it is there neither. + Patch by David R. Conrad (PR libc/1485). -2000-09-09 Ulrich Drepper +1999-12-16 Andreas Jaeger - * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC, - and PPC_ICBI asm for broken compilers. - Patch by Franz Sirl . + * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid + duplicate definition with function __nan. + Closes PR libc/1487 reported by . -2000-09-09 Andreas Jaeger +1999-12-17 Ulrich Drepper - * manual/message.texi (Advanced gettext functions): Fix typo. + * string/bits/string2.h (__strsep): Help gcc optimizing string access. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include for - strncpy prototype. + * locale/programs/ld-collate.c: Implement handling of absolute + ellipsis. Parsing of file and constructing the internal data + structures should now be complete. + (collate_finish): Start adding support to generate the data + structures which are written out to the file. -2000-09-09 Ulrich Drepper + * intl/dcgettext.c: Rewrite to handle caching of previous results here + instead of in the dcgettext macro. + * intl/libintl.h (dcgettext): Don't define for systems using this + glibc or systems with tsearch. - * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler - warnings. - * sysdeps/ia64/memccpy.S: Likewise. - Patches by Jim Wilson . + * sysdeps/generic/mathdef.h: Protect definitions for math.h + against double inclusion. + * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname - before trying to read /proc. - Patch by Matt Wilson . - * include/sys/utsname.h: Declare __uname. - * sysdeps/generic/uname.c: Make uname a weak alias of __uname. - * sysdeps/mach/hurd/uname.c: Likewise. - * sysdeps/unix/syscalls.list: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs + that different?). - * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for - unloading a bit. +1999-12-17 Andreas Jaeger -2000-09-08 Ulrich Drepper + * rt/aio.h (struct aiocb64): Add member __next_prio to sync the + struct with aiocb. - * posix/getopt.c (_getopt_internal): When long_only is set always - recognize conflicts just like before. + * rt/Makefile (tests): Added tst-aio64. + Added dependency rules for tst-aio64. -2000-09-08 Franz Sirl + * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for + 64bit tests. - * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable. +1999-12-15 Thorsten Kukuk -2000-09-08 Greg McGary + * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to + old value (signed long). + * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned + long RLIM_INFINITY. + * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here. + * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here. + * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ... + * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here. + * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed. - * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature. - * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'. - * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro. +1999-12-17 Andreas Jaeger -2000-09-08 Andreas Jaeger + * elf/ldconfig.c: Add new option -l to manualy link shared + libraries. + (options): Added option. + (parse_opt): Set option. + (main): Handle option. + (manual_link): New function. - * sysdeps/unix/sysv/linux/arm/lockf64.c: New file. +1999-12-17 Thorsten Kukuk - * sysdeps/unix/sysv/linux/arm/fcntl.c: New file. + * string/bits/string2.h: Fix patch from 1999-12-07. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h - (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. - (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly. +1999-12-16 Ulrich Drepper -2000-09-07 Ulrich Drepper + * sysdeps/generic/strsep.c: If delim string has only one character + don't run over end of string. - * iconvdata/tst-tables.sh: Enable EUC-KR test. + * locale/programs/ld-collate.c (insert_weights): Also update next + pointer of last cursor element. + (insert_value): Return nonzero value if nothing got inserted. + (handle_ellipsis): Don't do anything if to-value cannot be inserted. - * elf/dl-load.c (lose): Decrement _nl_loaded. - (_dl_map_object_from_fd): Don't try to dlopen executables. +1999-12-10 Jakub Jelinek - * iconvdata/tst-tables.sh: Actually return with an error if - something goes wrong. - * iconvdata/tst-table.sh: Return with an error if any of the cmp fails. - * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input. + * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT + where appropriate. - * iconvdata/tst-tables.sh: Add BIG5HKSCS. +1999-12-10 Jakub Jelinek - * iconvdata/tst-table-to.c (main): Correct cast in iconv call. - * iconvdata/tst-table-from.c: Include . - (try): Correct cast in iconv call. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): + Copy sa_flags into kernel sigaction structure. - * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines) - too. - * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable. - (sysdep_routines): Remove dl-start. - Patches by Franz Sirl . +1999-12-14 Andreas Jaeger - * assert/__assert.c: Undefine NDEBUG before include . + * string/tester.c (test_strsep): More tests for access beyond + the final NUL. The first two tests come from PR libc/1486 by + martinea@iro.umontreal.ca. - * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise. +1999-12-14 Thorsten Kukuk -2000-09-06 Andreas Schwab + * nis/ypclnt.c: Correct handling of cached client handles. + (__xdr_ypresp_all): Call callback function for errors, too, + like Solaris does. + * nis/nss_compat/compat-grp.c: Make sure errno is always set correct. + * nis/nss_compat/compat-initgroups.c: Likewise. + * nis/nss_compat/compat-spwd.c: Likewise. + * nis/nss_nis/nis-alias.c: Likewise. + * nis/nss_nis/nis-ethers.c: Likewise. + * nis/nss_nis/nis-grp.c: Likewise. + * nis/nss_nis/nis-hosts.c: Likewise. + * nis/nss_nis/nis-netgrp.c: Likewise. + * nis/nss_nis/nis-publickey.c: Likewise. + * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename + Map if available, optimize query if name/port and protocol is known. - * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file. +1999-12-12 Ulrich Drepper -2000-09-07 Ulrich Drepper + * locale/programs/ld-collate.c (collate_read): Make symbolic + ellipsis work. Remove old and unused code. - * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc. +1999-12-11 Ulrich Drepper - * scripts/config.sub: Strip out -unknown for Linux targets. - Patch by Scott Bambrough . + * locale/programs/ld-collate.c (collate_read): Implement + reorder-section handling. - * posix/tst-dir.c (main): Correct one bug (missing NULL test) and - add one more test. +1999-12-10 Ulrich Drepper -2000-09-07 Andreas Jaeger + * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE. - * sysdeps/unix/sysv/linux/mips/lockf64.c: New file. + * locale/programs/ld-collate.c (collate_read): Add handling of + reorder-after. - * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the - syscalls. + * locale/programs/ld-collate.c: Many changes to implement parsing + of collation definition (still not complete). - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl. +1999-12-09 Andreas Jaeger - * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set + errno to ENOENT when returning NSS_STATUS_NOTFOUND. + Reported by Christian Starkjohann . - * sysdeps/unix/sysv/linux/mips/fcntl.c: New file. +1999-12-09 Andreas Jaeger - * stdlib/tst-bsearch.c (main): Add more test cases. + * sysdeps/i386/fpu/libm-test-ulps: Added some ulps. - * locale/programs/ld-collate.c (handle_ellipsis): Fix typo. - * elf/dl-load.c (_dl_map_object_from_fd): Likewise. - Reported by GOTO Masanori . +1999-12-09 Jakub Jelinek -2000-09-07 Ulrich Drepper + * stdlib/longlong.h: Update from latest egcs version. - * posix/Makefile (tests): Add tst-dir. - (tst-dir-ARGS): New variable. - * posix/tst-dir.c: New file. + * sysdeps/sparc/fpu/fegetenv.c: Add semicolons. -2000-09-07 Andreas Jaeger + * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW + has to preceede __attribute__, otherwise g++ barfs. - * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New. - (SYS_fcntl64): New. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile + on sparc64-*-linux. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to + use sigcontext. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. -2000-09-06 Ulrich Drepper +1999-12-05 Wolfram Gloger - * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't - use the hack with tryopen_o_directory to determine at runtime - whether it works. - * sysdeps/unix/sysv/linux/opendir.c: New file. - * sysdeps/unix/sysv/linux/kernel-features.h: Define - __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY. + * malloc/malloc.c (arena_get2): If generating a new arena fails, + try to generate a minimal one and hope for mmap_chunk() to succeed + later. - * catgets/Depend: New file. Add intl. - * catgets/Makefile (tests): Add tst-catgets. - (generated): Remove de.msg. - (generated-dirs): Add de. - Add dependency if tst-catgets output on de/libc.cat. - * catgets/tst-catgets.c: New file. +1999-11-07 Wolfram Gloger - * po/ja.po: New file. - * po/el.po: Update from translation team. + * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let + mutex_t work as an `in-use' flag even without threads. + * malloc/malloc.c (USE_ARENAS): New feature flag, controls support + for multiple arenas separately from NO_THREADS. + (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to + fall back to an mmap()ed arena when sbrk() has failed. - * wcsmbs/Depend: New file. - * wcsmbs/Makefile (tests): Add tst-btowc. - (tst-btowc-ENV): Define. - * wcsmbs/tst-btowc.c: New file. +1999-12-09 Ulrich Drepper - * sysdeps/unix/sysv/linux/_G_config.h: Moved to... - * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd. + * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, + getrlimit64, setrlimit64 for GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit, + getrlimit64, setrlimit64 for GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for + oldgetrlimit and oldsetrlimit. + * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and + oldsetrlimit. + * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and + oldsetrlimit rules into 32-bit arch subdirs. + * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness. + * locale/programs/ld-collate.c (insert_value): If this is the + first symbol the cursor can be the same as the next pointer. - * stdlib/Makefile (tests): Add tst-bsearch. - * stdlib/tst-bsearch.c: New file. +1999-12-08 Ulrich Drepper - * posix/getopt.c (_getopt_internal): Don't recognize an option - name as ambiguous if it's a prefix for more than one name but the - other struct option values are identical. + * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping + arrays. + (allocate_arrays): Allocate memory for map32. Correctly install + default values in it and install defined mappings. - * posix/tstgetopt.c: Add test for improved ambiguity recognition. - Don't depend on visual inspection of the output file to recognize - errors. - * posix/Makefile (tstgetopt-ARGS): Add a few more parameters. + * locale/programs/ld-monetary.c (monetary_finish): Provide default + value for mon_grouping. -2000-09-06 Andreas Jaeger + * elf/readlib.c: Include a.out.h last since the Linux/Alpha + headers are not clean enough. - * sysdeps/alpha/soft-fp/Dist: New file. - * sysdeps/i386/soft-fp/Dist: New file. - * sysdeps/mips/mips64/soft-fp/Dist: New file. - * sysdeps/mips/soft-fp/Dist: New file. - * sysdeps/powerpc/soft-fp/Dist: New file. - * sysdeps/sparc/sparc32/soft-fp/Dist: New file. - * sysdeps/sparc/sparc64/soft-fp/Dist: New file. + * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility. - * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]: - Use sysdep_routines instead of routines to fix make dist failure. - * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented - out code). - * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31 + on x86. + * sysdeps/unix/sysv/linux/ftruncate64.c: New file. + * sysdeps/unix/sysv/linux/truncate64.c: New file. + * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2. + * sysdeps/unix/sysv/linux/i386/mmap64.S: New file. + + * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper. + * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper. + * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and + _nl_C_LC_CTYPE_tolower32 tables. + Don't compile it names of 14652 classes and maps. + * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and + _NL_CTYPE_TOLOWER32. + * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper + and __ctype32_tolower. + * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32. + (ctype_output): Write out map32 values. + (allocate_arrays): Compute mapping tables correctly. + * wctype/wcfuncs.c (towlower): Use __ctype32_tolower. + (towupper): Use __ctype32_toupper. + * wctype/wctype.h: Optimize towupper and towlower for values < 256. + + * locale/programs/ld-ctype.c (set_class_defaults): Correctly + determine tolower mapping for 8bit table if the tolower keyword is + not given. + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has + only IPv6 address. Reported by Artur Frysiak . + +1999-12-07 Jakub Jelinek + + * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small, + __stpcpy_small): Cast switch expressions to int to shut up compiler + warnings. - * sysdeps/mips/Makefile [$(subdir) = misc]: Use - sysdep_headers instead of headers for make dist. +1999-12-07 Scott Bambrough - * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]: - Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24 + relocs if possible. -2000-09-06 Andreas Schwab +1999-12-06 Andreas Schwab - * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file. + * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the + ugetrlimit syscall exists. -2000-09-06 Andreas Jaeger + * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on + exported symbols. + * sysdeps/unix/sysv/linux/setrlimit.c: Likewise. - * soft-fp/Makefile (distribute): Remove ChangeLog. +1999-12-07 Ulrich Drepper - * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use - sysdep_routines instead of routines for make dist. + * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment + pointers if character is illegal. + Reported by Bruno Haible . -2000-09-05 Ulrich Drepper + * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1. + (increment_counter): New function. Broken out of find_derivation. + (find_derivation): No need for a lock. Increment counter only when + the derivation was already available. + * iconv/gconv_dl.c: Add debugging functions. + (known_compare): We have to use strcmp. + Reported by Bruno Haible . - * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0 - compatibility check for old stream and call _IO_wide in doubt. - (_IO_fwide): Use _IO_fwide_maybe_incompatible macro. - * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is - needed tst for such an old structure and don't do anything. - * libio/freopen.c: Remove declaration of _IO_stdin_used. +1999-12-06 Ulrich Drepper -2000-09-06 Andreas Jaeger + * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo. + * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo. + * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo. + * iconvdata/gconv-modules: Correct ISO646-PT2 alias. Add + SHIFT_JIS alias. + Reported by Bruno Haible . - * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify - sysdep-dl-routines and sysdep_routines instead of rtld-routines - and dl-routines. + * locale/programs/xstrdup.c: It's _LIBC, not __LIBC. - * soft-fp/ChangeLog: Merged with this file. +1999-12-03 Andreas Jaeger -2000-06-13 Ulrich Drepper + * nss/getXXbyYY.c: Include + (FUNCTION_NAME): Use res_ninit instead of res_init. - * soft-fp/Makefile (distribute): Add op-8.h and testit.c. + * nss/getXXbyYY_r.c [NEED__RES]: Include for _res + declaration and prototypes. + Remove extra _res declaration. + (INTERNAL): Use thread aware res_ninit function. - * soft-fp/Makefile (distribute): Add the math functions, too. + * inet/gethstbyad_r.c: Include . - * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure. + * resolv/res_data.c: Update from Bind 8.2.2-P5. Moved res_init to + res_libc.c. Disabled unneeded functions. -2000-03-03 Geoff Keating + * resolv/res_libc.c: New file. - * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it - as a statement. + * Versions.def: Add version GLIBC_2.2 for libpthread. + Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv. - * soft-fp/sysdeps/powerpc/Makefile (routines): New file. - * soft-fp/sysdeps/powerpc/q_*: New files. + * include/resolv.h: Add internal interfaces. -2000-09-05 Ulrich Drepper + * resolv/Makefile (routines): Add new files. + (libresolv-routines): Likewise. + (distribute): Likewise. - * stdio-common/vfprintf.c (process_string_arg): Handle precision - in wide char case correctly. Don't allocate too long temporary - strings with alloca. + * resolv/gethnamaddr.c: Use thread safe resolver functions. + * resolv/nss_dns/dns-host.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. - * stdio-common/Makefile (tests): Add tst-swprintf. - (tst-swprintf-ENV): New variable. - * stdio-common/tst-swprintf.c: New file. + * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5. + * resolv/nsap_addr.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/resolv.h: Likewise. -2000-09-05 Andreas Jaeger + * resolv/Versions: Add __res_state and __res_ninit with version + GLIBC_2.2 to libc. + Add new interfaces with version GLIBC_2.2 to libresolv. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5. - * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments. - Patch by Maciej W. Rozycki . + * resolv/Banner: Update. -2000-09-05 Ulrich Drepper + * include/arpa/nameser_compat.h: New file. - * configure.in: Strip out "unknown" from configuration names. + * resolv/ns_name.c: New file from Bind 8.2.2-P5. + * resolv/ns_netint.c: Likewise. + * resolv/ns_parse.c: Likewise. + * resolv/ns_print.c: Likewise. + * resolv/ns_samedomain.c: Likewise. + * resolv/ns_ttl.c: Likewise. + * resolv/arpa/nameser_compat.h: Likewise. + * resolv/res_debug.h: Likewise. -2000-09-05 Andreas Jaeger + Some patches are based on work done by Adam D. Bradley + . - * sysdeps/powerpc/Subdirs: New file, adds soft-fp. +1999-11-30 Andreas Jaeger - * sysdeps/sparc/sparc64/Implies: Add soft-fp. - * sysdeps/sparc/sparc32/Implies: Likewise. - * sysdeps/powerpc/Implies: Likewise. + Add ldconfig: + * elf/Makefile (extra-objs): Added ldconfig-modules. + (ldconfig-modules): New. + Added vpath for xstrdup and xmalloc. + Check for use-ldconfig instead of has-ldconfig. + ($(objpfx)ldconfig): New rule with dependencies. + (distribute): Add new files. - * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1. - * libio/oldiofgetpos64.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file, + developed together with Jakub Jelinek . + * sysdeps/generic/readelflib.c: Likewise. - * soft-fp/Makefile (distribute): Remove configure. + * elf/cache.c: New file. + * elf/ldconfig.c: New file. + * elf/ldconfig.h: New file. + * elf/readlib.c: New file. - * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2. + * Makefile (install): Remove flag -d in ldconfig call. - * soft-fp/configure: Remove. + * configure.in: Rename has_ldconfig to use_ldconfig, set it to no + by default. - * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. + * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed + comment. - * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here... - * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here. + * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig, + set always use_ldconfig instead. - * soft-fp/sysdeps/powerpc/Makefile: Move from here... - * sysdeps/powerpc/soft-fp/Makefile: ... to here. +1999-12-03 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here... - * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here. + * sysdeps/generic/bits/stropts.h: Update with LiS types and + values. Patch by David Grothe . - * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here. + * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t): + Make long types. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * soft-fp/sysdeps/powerpc/q_add.c: Move from here... - * sysdeps/powerpc/soft-fp/q_add.c: ... to here. +1999-12-02 Akira Yoshiyama - * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here... - * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here. + * locale/lc-time.c (_nl_get_era_entry): Separate eras + initialization as _nl_init_era_entry(). + * locale/lc-time.c (_nl_get_era_nf_entry): New function. + * locale/lc-time.c (_nl_get_era_year_offset): New function. + * locale/lc-time.c (_nl_get_era_year_start): New function. + * locale/localeinfo.h: Declare new functions. + Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME, + and ERA_W_FORMAT. - * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here... - * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here. +1999-12-02 Ulrich Drepper - * soft-fp/sysdeps/powerpc/q_div.c: Move from here... - * sysdeps/powerpc/soft-fp/q_div.c: ... to here. + * posix/regex.c (SYNTAX): Make more portable. + Patch by Aharon Robbins . - * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here. +1999-11-18 Roland McGrath - * soft-fp/sysdeps/powerpc/q_feq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_feq.c: ... to here. + * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is + nonzero, use cthread_fork to create the signal thread. + * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize + _hurd_msgport_thread here (to self). + * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end + is zero, instead compute child signal thread's starting SP from parent + signal thread's current SP and the threadvar_stack variables. + * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach. + These are now referenced weakly by _hurdsig_init. - * soft-fp/sysdeps/powerpc/q_fge.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fge.c: ... to here. + * hurd/report-wait.c (_S_msg_report_wait): Fix typo: + &_hurd_itimer_thread not &_hurd_msgport_thread. - * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here. +1999-10-01 Roland McGrath - * soft-fp/sysdeps/powerpc/q_fle.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fle.c: ... to here. + * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite + without HURD_DPORT_USE to clean up warnings. + * hurd/dtable.c (get_dtable_port): Likewise. - * soft-fp/sysdeps/powerpc/q_flt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_flt.c: ... to here. + * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty. + (install_ctty): Do the changing of the cttyid port cell here, inside + the critical section while we holding the dtable lock. + (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing + the port cell and calling rectty_dtable. + (_hurd_locked_install_cttyid): New function, split out of install_ctty. + (install_ctty): Use it inside a critical section, with the lock held. + * sysdeps/mach/hurd/setsid.c (__setsid): Use + _hurd_locked_install_cttyid to effect the cttyid and dtable changes + after proc_setsid, having held the dtable lock throughout. + * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the + cttyid port for null and bail out early if so. The dtable lock + serializes us after any cttyid change and its associated dtable update. - * soft-fp/sysdeps/powerpc/q_fne.c: Move from here... - * sysdeps/powerpc/soft-fp/q_fne.c: ... to here. +1999-11-14 Roland McGrath - * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here. + * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments. + Its presence lets librpcsvc compile ok. This from Mark Kettenis. + We don't install this file for users. + * sysdeps/mach/hurd/Dist: Add it. + * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers): + Append nfs/nfs.h here. - * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here. +1999-12-01 Andreas Jaeger - * soft-fp/sysdeps/powerpc/q_mul.c: Move from here... - * sysdeps/powerpc/soft-fp/q_mul.c: ... to here. + * sysdeps/generic/if_index.c (__protocol_available): Add missing + int for parameter. - * soft-fp/sysdeps/powerpc/q_neg.c: Move from here... - * sysdeps/powerpc/soft-fp/q_neg.c: ... to here. + * stdio/stdio.h: Fix typo. + Patches by Marcus G. Daniels . - * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here. +1999-12-01 Andreas Jaeger - * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here. + * scripts/test-installation.pl (installation_problem): Filter out + libpthread_db. - * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here. +1999-12-01 Andreas Schwab - * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of + __rlim_t and __rlim64_t. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here. +1999-12-01 Andreas Schwab + + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add + oldgetrlimit64 and oldsetrlimit64 for subdir = resource. + * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit, + getrlimit64 and setrlimit64 to version GLIBC_2.1.3. + * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and + new kernel version. Add symbol versions. + * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and + oldgetrlimit. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit + and s_ugetrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. + * sysdeps/unix/sysv/linux/getrlimit.c: New file. + * sysdeps/unix/sysv/linux/getrlimit64.c: New file. + * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/setrlimit64.c: New file. + * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New + file. + * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New + file. - * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here... - * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here. +1999-12-01 Ulrich Drepper - * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here... - * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here. + * sysdeps/generic/usleep.c: Fix typo. - * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here. + * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility. - * soft-fp/sysdeps/powerpc/q_sub.c: Move from here... - * sysdeps/powerpc/soft-fp/q_sub.c: ... to here. + * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h + itself. - * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here. + * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not + _UTSNAME_H. - * soft-fp/sysdeps/powerpc/q_util.c: Move from here... - * sysdeps/powerpc/soft-fp/q_util.c: ... to here. + * malloc/set-freeres.c: Really use already_called variable. - * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here... - * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here. + * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing + function call directly. + * libio/iosetvbuf.c: Likewise. - * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here. +1999-11-29 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here. + * configure.in: Add AIX 4.3 support. - * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here. + * iconvdata/gconv-modules: Correct alias for ISO-8859-10. This + standard was issued in 1992. + Reported by Bruno Haible . - * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here. +1999-11-29 Thorsten Kukuk - * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here. + * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for + SIGCLD als SIGCHLD. - * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here. +1999-11-29 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here. + * manual/time.texi (Basic CPU Time): Better describe wrap around. + Patch by Andries Brouwer . - * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here. +1999-11-29 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here. + * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases. + Patch by Bruno Haible . - * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here. +1999-11-29 Thorsten Kukuk - * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here. + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility. - * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here. +1999-11-29 Andreas Schwab - * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here. + * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable + __v to __bswap_32_v. + (__bswap_64): Rename local variables __v and __r to __bswap_64_v + and __bswap_64_r to avoid clash with __bswap_32 macro. - * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here. +1999-11-28 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here. + * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in + gconv-modules. - * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here. +1999-11-26 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here. + * locale/programs/ld-ctype.c (allocate_arrays): Complete last + patch. Use wch instead of idx to compute index. + Patch by Shinya Hanataka . - * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here. + * inet/rcmd.c (ruserok): Use iruserok2 not iruserok. - * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here. + * locale/iso-3166.def: Update from latest official list. - * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here. +1999-11-26 Thorsten Kukuk - * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include + asm/ptrace.h, since this will not be done with 2.3.xx automatically + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. - * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here. +1999-11-26 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here. + * libio/libioP.h: Remove duplicate declaration of _IO_wsetb. - * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here. +1999-11-26 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here. + * inet/rcmd.c: Include stdlib for declaration of free. + Declare iruserok. - * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here. +1999-11-25 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here... - * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here. + * iconv/gconv.c (__gconv): Always initialize + cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend. - * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here. + * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of + written bytes. + * iconvdata/iso-2022-jp.c: Likewise. - * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here. +1999-11-25 H.J. Lu - * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here. + * stdlib/exit.c (exit): Run funtions only if + __exit_funcs->idx > 0. - * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here. +1999-11-25 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here. + * manual/charset.texi (iconv Examples): Add iconv call to flush + state. Reported by Andrew Clausen . - * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here. +1999-11-25 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here. + * manual/install.texi (Running make install): Better describe + update from libc5. + Patch by Michael Deutschmann . - * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here. +1999-11-25 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here. + * include/sys/mman.h: Remove K&R compatibility. - * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here. +1999-11-15 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here. + * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to + use __off64_t. - * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here. +1999-11-25 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here. + * iconv/iconv_prog.c (process_block): For stateful charsets write + out byte sequence to get to initial state at the end of the file. - * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here. +1999-11-25 Andreas Schwab - * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here. + * Makeconfig: Include sys-dirs and sys-sorted earlier. + ($(common-objpfx)soversions.mk): Wait until subdirs is complete. + ($(common-objpfx)sysd-sorted): Emit marker when this file is + complete. - * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here. +1999-11-24 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here. + * manual/setjmp.texi: Many changes to correct bad English introduced + mainly by me. + * manual/time.texi: Likewise. + Patches by Neil Booth . - * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here. + * include/string.h: Remove K&R compatibility. - * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here. +1999-11-23 Ulrich Drepper - * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here. + * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition. - * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here. + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added. - * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here. + * string/stratcliff.c: Add one more strchr test for something + which was reported to not work (which proofed to be wrong). - * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here. + * iconv/skeleton.c: It's __is_last, not is_last. - * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here. + * locale/programs/ld-ctype.c (ctype_finish): Correct method to find + the UCS value. + (allocate_arrays): Likewise. + (find_idx): Correctly increase array size. + Patches by Shinya Hanataka . - * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here. +1999-11-23 Thorsten Kukuk - * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here. + * iconv/skeleton.c: Don't access next_step->fct if data->is_last + is true. - * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here. +1999-11-23 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here. + * include/sys/select.h: Remove K&R compatibility. + * include/sys/statfs.h: Likewise. + * include/gnu/libc-version.h: Likewise. + * include/db_185.h: Likewise. + * include/dlfcn.h: Likewise. + * include/search.h: Likewise. + * include/setjmp.h: Likewise. + * include/signal.h: Likewise. + * include/stdio.h: Likewise. + * include/unistd.h: Likewise. - * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here. +1999-11-23 Andreas Jaeger - * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here... - * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here. + * include/aio.h: Remove __THROW from internal interfaces. __THROW + is only need in external header files that might be compiled by a + C++ compiler. + * include/alloca.h: Likewise. + * include/db.h: Likewise. + * include/dirent.h: Likewise. + * include/execinfo.h: Likewise. + * include/fpu_control.h: Likewise. + * include/glob.h: Likewise. + * include/grp.h: Likewise. + * include/libintl.h: Likewise. + * include/math.h: Likewise. + * include/math.h: Likewise. + * include/mntent.h: Likewise. + * include/mntent.h: Likewise. + * include/netdb.h: Likewise. + * include/pwd.h: Likewise. + * include/sched.h: Likewise. + * include/shadow.h: Likewise. + * include/stdlib.h: Likewise. + * include/sys/file.h: Likewise. + * include/sys/gmon.h: Likewise. + * include/sys/ioctl.h: Likewise. + * include/sys/socket.h: Likewise. + * include/sys/stat.h: Likewise. + * include/sys/sysinfo.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/times.h: Likewise. + * include/sys/uio.h: Likewise. + * include/sys/wait.h: Likewise. + * include/termios.h: Likewise. + * include/time.h: Likewise. + * include/ulimit.h: Likewise. + * include/utmp.h: Likewise. + * include/wchar.h: Likewise. + +1999-11-22 Andreas Jaeger + + * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output. + Patch by Jerry Perkins , closes PR + libc/1456+1457. + +1999-11-22 Jakub Jelinek + + * sysdeps/generic/siglist.h: Avoid declaring the same field + twice if SIGPWR is defined to SIGLOST. + * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument, + not signed, so we should not special case it for negative args. + * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic + memmove, use the one provided in memcpy.S. + * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping + copies like memmove, while the previous version worked like memcpy. + Implement optimized assembly memmove. + * sysdeps/sparc/sparc64/memmove.c: New file. + +1999-11-23 Ulrich Drepper + + * po/cs.po: Update from translators. + +1999-11-23 Andreas Jaeger + + * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function. + (elf_machine_got): Removed, not needed anymore. + (ELF_MACHINE_RELOC_NOPLT): Removed. + (ELF_MACHINE_JMP_SLOT): Added. + (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__. + (_RTLD_EPILOGUE): Likewise. + (RESOLVE_GOTSYM): Use R_MIPS_REL32. + (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. + Based on patches from Maciej W. Rozycki and + Ralf Baechle . - * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here... - * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here. + * sysdeps/mips/mips64/dl-machine.h: Apply same patches. - * soft-fp/sysdeps/i386/sfp-machine.h: Move from here... - * sysdeps/i386/soft-fp/sfp-machine.h: ... to here. +1999-11-22 Ulrich Drepper - * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here... - * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here. + * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset + name from the locale name. Only use the value in the LC_CTYPE + locale data file. - * soft-fp/sysdeps/mips/sfp-machine.h: Move from here... - * sysdeps/mips/soft-fp/sfp-machine.h: ... to here. + * locale/loadlocale.c (_nl_load_locale): Allow index of entry in + file be equal to file size. - * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here... - * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here. + * stdlib/longlong.h: Add count_trailing_zeros back. - * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here... - * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here. + * stdlib/longlong.h: Update from latest egcs version. - * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here... - * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here. +1999-11-22 Andreas Jaeger - * soft-fp/sysdeps/powerpc/Versions: Move from here... - * sysdeps/powerpc/soft-fp/Versions: ... to here. + * locale/programs/ld-collate.c (insert_value): Correct order of + arguments for lr_error call. - * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here... - * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add + __syscall_setrlimit. - * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1, - change symbol version. - * libio/oldiofgetpos64.c: Likewise. - Reported by Martin v. Loewis . + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include + for key_t. + Patch by Maciej W. Rozycki . - * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix - typo. - Reported by dyky@kondara.org, closes PR libc/1886. +1999-11-21 Ulrich Drepper - * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR - libc/1880. + * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest + gcc version. -2000-09-04 Ulrich Drepper + * locale/programs/ld-ctype.c (ctype_read): Correctly implement + 14652-style definition of new maps and classes. - * iconvdata/run-iconv-test.sh: Add code to immediately stop the - script when ^C is hit. +1999-11-20 Ulrich Drepper - * locale/programs/localedef.c (construct_output_path): Correct - computation of endp after asprintf. - * locale/programs/locfile.c (write_locale_data): Don't add extra - slash in filename. + * locale/programs/ld-monetary.c (monetary_finish): Don't print + individual error message if nothing is defined. -2000-09-05 Andreas Jaeger + * locale/programs/ld-time.c (time_startup): Test for lr being + nonzero, not time. - * scripts/config.guess: New upstream version. - * scripts/config.sub: Likewise. - * manual/texinfo.tex: Likewise. - -2000-09-04 Andreas Schwab - - * elf/Makefile (all-dl-routines): New variable. - (elide-routines.os): Use it instead of $(dl-routines). - (all-rtld-routines): New variable. - (extra-objs): Use it instead of $(rtld-routines). - ($(objpfx)dl-allobjs.os): Likewise. - * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify - sysdep-dl-routines and sysdep_routines instead of rtld-routines - and dl-routines. + * locale/programs/ld-numeric.c (numeric_finish): Don't crash if + decimal_point is not defined. -2000-09-03 Bruno Haible + * wctype/wctrans.c (wctrans): Use correct base index to access + extra mapping tables. - * iconv/gconv_trans.c (__gconv_translit_find): Update open_count. - Set fname to NULL if the module wasn't found. + * locale/loadlocale.c (_nl_load_locale): Use actual number of + entries from file and not the fixed (minimal number from the + langinfo.h list. -2000-09-03 Bruno Haible + * locale/programs/ld-ctype.c (ctype_read): Fix reading of + values in charmaps. - * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to - true if trans->name already ends in ".so". +1999-11-18 Paul Eggert -2000-09-03 Bruno Haible + * time/strftime.c (my_strftime): Some old compilers object to + '\a', so don't bother optimizing for it. - * iconv/gconv_int.h (__gconv_release_shlib): Change return type to - void. - * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter - below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound. - (__gconv_release_shlib): Change return type to void. - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set - step->__counter here. - * iconv/gconv_db.c (free_derivation): Don't call a step's destructor - if the reference is zero. - (release_step): New function. - (gen_steps): Always initialize the __counter to 1. Use release_step. - Don't call the destructor on the step whose initializer failed. - (increment_counter): Use release_step. Don't normally run destructors - here. - (__gconv_close_transform): Use release_step. +1999-11-19 Ulrich Drepper -2000-09-03 Bruno Haible + * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify + the rlimits structure passed in. - * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove. - (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead. +1999-11-19 Andreas Jaeger -2000-09-03 Bruno Haible + * include/sys/resource.h (__setrlimit): Add prototype. - * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly. - If the first byte is 0x8E, don't ask for 4 bytes until it has been - verified that the second byte is valid. Leave it to cns11643_to_ucs4 - to check for incomplete input. - * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is - ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for - __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. - (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and - 0x9f9d..0x9fa5. - * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for - __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. - (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129. - * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend - upto index 0x0052. +1999-11-19 Ulrich Drepper -2000-09-03 Bruno Haible + * elf/dl-load.c (_dl_init_paths): Allocate correct number of + entries for rtld_search_dirs[0]. + Patch by David Mosberger . - * iconv/gconv_db.c (find_derivation): Always use the least-cost - solution. +1999-11-18 Ulrich Drepper -2000-09-03 Bruno Haible + * locale/programs/ld-ctype.c: Don't predefine the character + classes and mappings of ISO 14652. - * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF - are invalid. + * locale/programs/ld-ctype.c: Punt if character class definitions + to not consists of tok_bsymbol (for now). -2000-09-03 Bruno Haible + * time/strptime.c (day_of_the_week): Make sure result is never + negative. + (strptime_internal): Allow %C without %y. - * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C. - * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to - U+007E. +1999-11-18 Andreas Jaeger -2000-09-03 Bruno Haible + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added + comments. - * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C. + * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead + of defining *_SUPER_MAGIC. + * sysdeps/unix/sysv/linux/grantpt.c: Likewise. -2000-09-03 Bruno Haible +1999-11-18 Ulrich Drepper - * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7. + * locale/programs/locale.c: Don't handle LC_ALL together with the + other categories when printing the value. + Patch by Akira YOSHIYAMA . -2000-09-03 Bruno Haible + * locale/locale.h: Correct comment about LC_ALL. - * iconvdata/tst-tables.sh: New file. - * iconvdata/tst-table.sh: New file. - * iconvdata/tst-table-from.c: New file. - * iconvdata/tst-table-to.c: New file. - * iconvdata/tst-table-charmap.sh: New file. - * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to. - (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh, - tst-table-from.c, tst-table-to.c, EUC-JP.irreversible, - ISIRI-3342.irreversible, SJIS.irreversible. - (tests): Add dependency on tst-tables.out. - (tst-tables.out, tst-tables-clean): New rules. - (do-tests-clean, common-mostlyclean): Require tst-tables-clean. - * iconvdata/ISIRI-3342.irreversible: New file. - * iconvdata/EUC-JP.irreversible: New file. - * iconvdata/SJIS.irreversible: New file. - -2000-09-04 Ulrich Drepper - - * manual/locale.texi (General Numeric): Update description of - representation of the grouping information in the locale data. - Patch by Gaute B. Strokkenes . - -2000-09-04 Andreas Jaeger - - * locale/programs/ld-monetary.c (monetary_read): Fix typo. - * iconv/iconv_prog.c (options): Fix typo. - Reported by dyky@kondara.org, closes PR libc/1885. - -2000-09-04 Andreas Jaeger - - * sysdeps/generic/fegetenv.c: It's __fegetenv. - Reported by Rob Levin . - -2000-09-03 Ulrich Drepper - - * time/sys/time.h (gettimeofday): Move restrict for tz parameter - to the typedefs of __timezone_ptr_t. - Reported by MATSUMURA Hiromitsu . - -2000-09-02 Jakub Jelinek - - * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in - the loop. - -2000-09-01 H.J. Lu - - * Makeconfig (built-program-cmd): Don't use the dynamic linker - to run a binary if it is in $(tests-static). +1999-11-17 Ulrich Drepper - * Rules (binaries-static): Add $(tests-static). + * locale/programs/ld-ctype.c (ctype_output): Correct computation of + nelems. Correctly compute index for additional character classes. + (ctype_read): Handle charclass and charconv definitions. Also + recognize arbitrary strings as mapping names. + * locale/programs/ld-time.c (time_finish): Correctly skip over wide + character era strings. + * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name + and format for wide characters. + * time/strftime.c: Correctly determine era information for wide + wcsftime. + * wctype/wctrans.c: Fix after removal of second endianess table. + * wctype/wctype.h (_ISwbit): Correctly handle bits > 16. + Patches by Shinya Hanataka . -2000-09-02 Andreas Jaeger + * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters. + * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64. - - * libio/fmemopen.c (fmemopen_close): Revert one part of last - patch. - -2000-09-01 Ulrich Drepper - - * iconvdata/big5hkscs.c: Regenerated from charmap. - * iconvdata/testdata/BIG5HKSCS: Regenerated. - * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated. - - * libio/fmemopen.c (fmemopen_seek): Add default case in switch - statement. General cleanup. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t, + gregset_t, fpregset_t, and NGREG definitions. -2000-08-31 Bruno Haible + * locale/programs/ld-ctype.c: Implement character width information + handling. - * wctype/wcfuncs.c (iswblank): New function. - * wctype/wcfuncs_l.c (__iswblank_l): New function. - * wctype/wcextra.c: Remove file. - * wctype/wcextra_l.c: Remove file. - * wctype/Makefile (distribute): Remove wcextra and wcextra_l. +1999-11-09 Andreas Jaeger -2000-08-31 Bruno Haible + * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs. - * locale/programs/ld-collate.c (collate_output): Remove redundant - assert call. - * string/strcoll.c: Likewise. - * string/strxfrm.c: Include assert.h. Add assert calls like in - string/strcoll.c. + * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs. + Patch by German Jose Gomez Garcia . -2000-08-31 Bruno Haible + * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added. - * locale/categories.def (_NL_COLLATE_HASH_SIZE, - _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES, - _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions. - * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS, - _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively. - (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3. - (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4. - (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to - _NL_CTYPE_GAP5/6 respectively. - - * locale/C-ctype.c (_nl_C_LC_CTYPE): Update. - * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables. - * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format. - Don't initialize __ctype_names and __ctype_width. - * wctype/cname-lookup.h: Remove file. - * wctype/Makefile (distribute): Remove cname-lookup.h. - * wctype/wchar-lookup.h: Include stdint.h. - * wctype/wctype.c (__wctype): Assume new locale format. - * wctype/wctype_l.c (__wctype_l): Likewise. - * wctype/iswctype.c: Don't include cname-lookup.h. - (__iswctype): Assume new locale format. - * wctype/iswctype_l.c: Don't include cname-lookup.h. - (__iswctype_l): Assume new locale format. - * wctype/wctrans.c: Don't include ctype.h. - (wctrans): Assume new locale format. - * wctype/wctrans_l.c (__wctrans_l): Likewise. - * wctype/towctrans.c: Don't include cname-lookup.h. - (__towctrans): Assume new locale format. - * wctype/towctrans_l.c: Don't include cname-lookup.h. - (__towctrans_l): Assume new locale format. - * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include - localeinfo.h instead. - (__NO_WCTYPE): Remove unused macro. - (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove - declarations. - (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint, - iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format. - (towlower, towupper): Likewise. - * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include - localeinfo.h instead. - (__NO_WCTYPE): Remove unused macro. - (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l): Assume new locale format. - (__towlower_l, __towupper_l): Likewise. - * wcsmbs/wcwidth.h: Don't include cname-lookup.h. - (__ctype32_b): Remove declaration. - (internal_wcwidth): Assume new locale format. - * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields - plane_size, plane_cnt, names, width. Rename map to map_b, rename map32 - to map32_b, rename width_3level to width. - (ctype_output): Always create new locale format. Don't emit - _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more. - (allocate_arrays): Always create new locale format. - - * locale/C-collate.c (_nl_C_LC_COLLATE): Update. - * locale/weightwc.h (findidx): Assume new locale format. - * string/strcoll.c (wcscoll): Remove local variables size, layers, - names. - * string/strxfrm.c (wcsxfrm): Likewise. - * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of - local variable collseq to 'const char *'. - (SUFFIX): Don't use, don't undefine. - * posix/fnmatch.c: Remove SUFFIX definition. - * locale/programs/ld-collate.c (struct locale_collate_t): Remove - fields plane_size, plane_cnt, wcheads, wcseqorder. Rename - wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder. - (collate_finish): Always create new locale format. Remove local - variables min_total, act_size. - (collate_output): Always create new locale format. Remove local - variables table_size, names, tablewc. Rename tablewc_3level to - tablewc. - -2000-08-31 Bruno Haible - - * locale/programs/ld-collate.c (obstack_int32_grow, - obstack_int32_grow_fast): New inline functions. - (output_weightwc, collate_output): Use them where possible. - -2000-09-01 Ulrich Drepper - - * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last - patch (_mode -> _flags). - - * libio/Makefile (headers): Add stdio_ext.h. - (routines): Add __fbufsize, __freading, __fwriting, __freadable, - __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking. - * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading, - __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending, - __fsetlocking, and _flushlbf. - * libio/__fbufsize.c: New file. - * libio/__flbf.c: New file. - * libio/__fpending.c: New file. - * libio/__fpurge.c: New file. - * libio/__freadable.c: New file. - * libio/__freading.c: New file. - * libio/__fsetlocking.c: New file. - * libio/__fwritable.c: New file. - * libio/__fwriting.c: New file. - * libio/stdio_ext.h: New file. - * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf. - * libio/libio.h (_IO_USER_LOCK): Define. - [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which - test _IO_USER_LOCK flag first. - - * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is - malloc fails. - -2000-09-01 Andreas Jaeger - - * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail. - - * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file. - -2000-08-31 Ulrich Drepper - - * math/Makefile (tests): Add tst-defintions. - * math/tst-definitions.c: New file. - - * stdlib/Makefile (headers): Add bits/wchar.h. - * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file. - * sysdeps/generic/bits/wchar.h: New file. - * sysdeps/generic/stdint.h: Include . Use values in this - file to define WCHAR_MIN and WCHAR_MAX. - Change UINT*8_MAX and UIN*16_MAX value to type int. - * wcsmbs/wchar.h: Include . Use values in this - file to define WCHAR_MIN and WCHAR_MAX. - * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN - int values. - * sysdeps/arm/fpu/bits/mathdef.h: Likewise. - * sysdeps/generic/bits/mathdef.h: Likewise. - * sysdeps/i386/fpu/bits/mathdef.h: Likewise. - * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. - * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. - * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. - * locale/locale.h (struct lconv): Add __ prefix to the new members - if not C99. - * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and - imaxdiv optimizations. - * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work. - * sysdeps/wordsize-64/ldiv.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to - const fenv_t*. - * sysdeps/generic/bits/fenv.h: Likewise. - * sysdeps/i386/fpu/bits/fenv.h: Likewise. - * sysdeps/ia64/bits/fenv.h: Likewise. - * sysdeps/m68k/fpu/bits/fenv.h: Likewise. - * sysdeps/mips/bits/fenv.h: Likewise. - * sysdeps/s390/fpu/bits/fenv.h: Likewise. - * sysdeps/sparc/fpu/bits/fenv.h: Likewise. - Reported by Joseph S. Myers . - - * inet/rcmd.c: Use *stat64 instead of *stat internally. - * inet/ruserpass.c: Likewise. - * catgets/open_catalog.c: Likewise. - * intl/loadmsgcat.c: Likewise. - * io/getdirname.c: Likewise. - * locale/loadlocale.c: Likewise. - * misc/getusershell.c: Likewise. - * stdlib/canonicalize.c: Likewise. - * sysdeps/posix/euidaccess.c: Likewise. - * sysdeps/posix/isfdtype.c: Likewise. - * sysdeps/posix/posix_fallocate.c: Likewise. - * sysdeps/posix/tempname.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/opendir.c: Likewise. - * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. - * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ptsname.c: Likewise. - * sysdeps/unix/sysv/linux/statvfs.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * sysvipc/ftok.c: Likewise. - * time/getdate.c: Likewise. +1999-11-17 Ulrich Drepper - * time/getdate.c: Add extra access test. + * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition. -2000-08-31 Ulrich Drepper +1999-11-07 Andreas Jaeger - * version.h (VERSION): Bump to 2.1.93. + * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some + defines from Linux scsi_ioctl.h header. - * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c. - * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added + scsi_ioctl.h. + * sysdeps/unix/sysv/linux/Dist: Likewise. - * intl/Makefile (tests): Depend in mtrace-tst-gettext. - Make this a new rule depending on tst-gettext.out and run mtrace. - * intl/tst-gettext.c: Call mtrace. - * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext. + * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26; + pretty printed. - * elf/dl-reloc.c: Add a few more __builtin_expect. + * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to + sync with Linux 2.3.26. - * configure.in: Remove --with-gettext option. +1999-11-17 Andreas Jaeger - * intl/dcigettext.c (free_mem): Correct freeing of - _nl_domain_bindings list. + * shlib-versions: Allow mipsel for libm. + Patch by Maciej W. Rozycki . - * sysdeps/generic/setenv.c (free_mem): New function. Free all - allocated memory. +1999-11-16 Andreas Jaeger - * intl/locale.alias: Add aliases for bokmal and nynorsk. + * math/fenv.h: Fix typos in comments. Reported by Andreas Schwab. - * locale/iso-639.def: Fix 639-1 code for Bokmal. +1999-11-16 Ulrich Drepper - * stdio-common/itoa-digits.c: Move upper digits to... - * stdio-common/itoa-udigits.c: ...here. New file. - * stdio-common/Makefile (routines): Add itoa-udigits. + * locale/programs/ld-ctype.c (set_class_defaults): Set default + value for alpha and alnum correctly. - * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to - relocate ld.so don't add supprt for relocations which should not - appear in ld.so. + * locale/programs/ld-address.c (address_output): Fix output of + country_num. - * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling - __secure_getenv. Instead test __libc_enable_secure once. +1999-11-15 Ulrich Drepper - * io/pwd.c (main): Provide a good example, use *_unlocked function. + * timezone/asia: Update from tzdata1999j. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. -2000-08-30 Ulrich Drepper +1999-11-14 Ulrich Drepper - * iconv/gconv_conf.c (insert_module): Take extra parameter to decide - whether the new record should be freed if it's a duplicate. - (add_module): Adjust insert_module call. - (__gconv_read_conf): Likewise. - * iconvdata/Makefile (generated): Add tst-loading.mtrace and - mtrace-tst-loading. - (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule. + * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. - * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and - _dl_all_init_dirs. - * include/link.h (struct r_search_path_struct): New. - (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs. - * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and - _dl_all_init_dirs. - * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs. - * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements - added at startup time. - * elf/dl-load.c: Fix memory handling. r_search_path_struct - contains element to remember fact that we can free memory. - (all_dirs): Renamed to _dl_all_dirs. Made global. - (_dl_init_all_dirs): New variable. - (fillin_rpath): Save one malloc call. - (decompose_rpath): Change interface. New first parameter points to - r_search_path_struct. - (_dl_init_paths): Adjust for changes. Mark all memory as not - deletable. Set _dl_init_all_paths value. - (open_path): Remove may_free_dirs parameter. r_search_path_elem *** - parameter replaced with r_search_path_struct *. Information about - freeing now contained in r_search_path_struct. - (_dl_map_object): Adjust for above changes. +1999-11-15 Andreas Jaeger - * elf/dl-open.c (dl_open_worker): Change format of debug info a bit. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add + __syscall_setrlimit. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. - * elf/dl-load.c (fillin_rpath): Only check for trusted directories - when adding new entries. +1999-11-14 Ulrich Drepper - * elf/dl-load.c (fillin_rpath): Make local copy of where string - since the object being loaded can be unloaded. + * scripts/versions.awk: Don't expect to read predecessor versions, + compute them. + * Versions.def: Remove predecessors. They now get computed. - * iconvdata/Makefile (tests): Add tst-loading. - * iconvdata/tst-loading.c: New file. +1999-11-14 Ulrich Drepper -2000-08-29 Bruno Haible + * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype. + * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit + prototype. + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit. + * sysdeps/powerpc/stackinfo.h: New file. + Patches by Franz Sirl . - * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change. - When comparing a char with an int, always cast the char to - 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when - compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX. +1999-11-13 Roland McGrath -2000-08-30 Ulrich Drepper + * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to + GLIBC_2.1.3. - * time/strftime.c (my_strftime): Add compatibility code for use - outside glibc. Patch by Jim Meyering . +1999-11-13 Roland McGrath - * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere - return 0 for success but always < 0 on failure. + * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and + hurd_directory_name_split. + * Versions.def (libc): Add GLIBC_2.1.3. - * nss/getXXbyYY_r.c: Define result to *result before including - digits_dots.c. +1999-11-09 Roland McGrath -2000-08-30 Andreas Jaeger + * hurd/report-wait.c (describe_port): Return char * and use __stpcpy + to return the location of the null byte written into the string. + (describe_number): Likewise. + (describe_number): Remove assert, not always used with #. + If FLAVOR is null, don't use it. + (describe_number): Take signed argument and print a - if negative. + (_S_msg_report_wait): Report system call number for system calls that + aren't mach_msg. Soup up reporting for mach_msg: If destination port + matches SS->intr_port, bracket port description with [...] to indicate + a Hurd interruptible RPC; if destination port is null, examine the + receive port and report that state; if receive port is also null, + check for timeout and report its value. + * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is + zero iff we managed to examine the stack; take new args RCV_NAME, + SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args. - * math/gen-libm-test.pl (parse_ulps): Remove extra \. + * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and + MACH_PORT_DEAD specially. -2000-08-29 Ulrich Drepper +1999-10-04 Roland McGrath - * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the - official file. - * iconvdata/TESTS: Add BIG5HKSCS entry. - * iconvdata/testdata/BIG5HKSCS: New file. - * iconvdata/testdata/BIG5HKSCS..UTF8: New file. + * hurd/hurdlookup.c (__hurd_directory_name_split): New function. + (__directory_name_split): New function. + * hurd/hurd.h: Declare them. + * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of + __file_name_split, so we ignore trailing slashes properly. + * sysdeps/mach/hurd/rename.c: Likewise. - * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is - always true. +1999-11-13 Thorsten Kukuk - * libio/iogetline.c: Set mode before the loop in case n==0. - * libio/iogetwline.c: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define + from current kernel headers. -2000-08-29 H.J. Lu + * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have + SO_PASSCRED defined. - * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead - of fp->_mode < 0. - (_IO_new_file_overflow): Likewise. - * libio/genops.c (_IO_flush_all): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. +1999-11-12 Ulrich Drepper -2000-08-29 Akira Higuchi + * locale/C-ctype.c: Fix typo in char class name. - * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct, - and __end_fct fields of struct __gconv_step. - * iconv/Makefile (tests): Add iconv-bug2. - * iconv/iconv-bug2.c: New file. + * configure.in: Allow user so specify --enable-kernel=current. - * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr' - instead of 'inptr - inend' to ksc5601_to_ucs4. +1999-11-12 Thorsten Kukuk - * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character. + * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value. - * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete - character or shift sequence is found at the end of the input - string, return__GCONV_INCOMPLETE_INPUT instead of - __GCONV_EMPTY_INPUT. - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise. - * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from + i386 version. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. - * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return - __GCONV_ILLEGAL_INPUT for 8bit characters. +1999-11-12 Ulrich Drepper -2000-08-29 Ulrich Drepper + * intl/locale.alias: Add Estonian entries. + Patch by Marko Kreen [PR libc/1444]. - * signal/signal.h (sigpause): Move __THROW before __asm__. +1999-11-02 Andreas Jaeger - * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the - names don't match don't return. - Patch by Olaf Kirch . + * Versions.def: Add version GLIBC_2.2 for libm. + * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and + fedisableexcept. + * sysdeps/generic/feenablxcpt.c: Stub file. + * sysdeps/generic/fedisblxcpt.c: Stub file. + * sysdeps/generic/fegetexcept.c: Stub file. + * sysdeps/i386/fpu/fedisblxcpt.c: New file. + * sysdeps/i386/fpu/feenablxcpt.c: New file. + * sysdeps/i386/fpu/fegetexcept.c: New file. + * math/Makefile (libm-support): Add new files. + * math/Versions: Add new functions with version GLIBC_2.2. + * manual/arith.texi (Control Functions): Document fegetexcept, + feenableexcept and fedisableexcept. -2000-08-28 Ulrich Drepper +1999-11-01 Wolfram Gloger - * time/strftime.c (my_strftime): Handle # flag for %b as well. + * malloc/malloc.h: Describe __malloc_initialize_hook. + * manual/memory.texi: Document __malloc_initialize_hook. -2000-08-27 H.J. Lu +1999-11-11 Ulrich Drepper - * posix/Makefile (otherlibs): Add for building with static-nss - for "make check". + * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits. -2000-08-28 Ulrich Drepper +1999-11-09 Andreas Jaeger - * libio/stdio.h: Add fmemopen prototype. + * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin + implementation for ttyname_r call; fix inverted condition; return + ut_user. + Closes PR libc/1438. -2000-08-25 Andreas Jaeger +1999-11-10 Ulrich Drepper - * libio/Makefile (routines): Add fmemopen. - (tests): Add test-fmemopen. - * libio/Versions: Add fmemopen with version GLIBC_2.2. - * libio/test-fmemopen.c: New file. - * libio/fmemopen.c: New file. - Patches by Hanno Mueller . + * math/fenv.h: Include bits/fenvinline.h if optimizing. + * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions. Moved to.. + * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here. New file. + * sysdeps/generic/bits/fenv.h: New file. -2000-08-28 Ulrich Drepper +1999-11-10 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double - inclusion. Patch by Jes Sorensen . + * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to + printf call. - * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828 - to avoid crashing statically linked applications. +1999-11-10 Andreas Jaeger -2000-08-27 Bruno Haible + * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r. - * string/strxfrm.c (strxfrm, wcsxfrm): Include . - If nrules == 0 and srclen < n, copy only srclen + 1 characters. +1999-11-10 Andreas Jaeger - * sysdeps/generic/getdomain.c (getdomainname): Include . - If the result is fits in the buffer, copy only as many bytes as needed. + * string/strsignal.c (strsignal): Correct check for snprintf + return value. + * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. - * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the - buffer after copying numbuf into it. - * sysdeps/mach/_strerror.c (__strerror_r): Likewise. + * misc/efgcvt_r.c (APPEND): Correct check for too small buffer + according to changed snprintf return value. + Reported by Lawrence K. Chen . -2000-08-27 Bruno Haible + * misc/tst-efgcvt.c (special): Add tests for a too small buffer + for ecvt_r and fcvt_r. - * posix/confstr.c (confstr): When string_len > len, NUL-terminate - the result. When string_len < len, don't clear the rest of the buffer. +1999-11-09 Ulrich Drepper -2000-08-27 Bruno Haible + * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to + directory with the reference since this is as secure as using the + object with the dependency. + (_dl_dst_substitute): Likewise. - Support for new LC_COLLATE format. - * locale/coll-lookup.h: New file. - * locale/weightwc.h (findidx): When size == 0, call - collidx_table_lookup. - * wcsmbs/wcscoll.c: Include coll-lookup.h. - * wcsmbs/wcsxfrm.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call - collseq_table_lookup. - * locale/programs/3level.h: New file. - * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define - by including "3level.h". - * locale/programs/ld-collate.c (wchead_table, collidx_table, - collseq_table): New types, defined by including "3level.h". - (locale_collate_t): New wcheads_3level, wcseqorder_3level fields. - (encoding_mask, encoding_byte): Remove. - (utf8_encode): Use simple shifts instead. - (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt - to 0, and initialize and fill wcheads_3level and wcseqorder_3level. - (collate_output): New local variable tablewc_3level. When - !oldstyle_tables, set table_size to 0 and names to NULL and fill - tablewc_3level instead of tablewc. Change format of TABLEWC and - COLLSEQWC entries written to the file. - * locale/C-collate.c (collseqwc): Change format. - (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format - of COLLSEQWC. - * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h. - -2000-08-27 Bruno Haible - - * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro. - (locale_ctype_t): New charnames_idx field. - (ctype_startup): Initialize charnames_idx field. - (find_idx): Speed up dramatically by using charnames_idx inverse table. - -2000-08-27 Bruno Haible - - * locale/C-ctype.c: Switch to new locale format. - (_nl_C_LC_CTYPE_names): Remove array. - (STRUCT_CTYPE_CLASS): New macro. - (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, - graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): - New three-level tables. - (_nl_C_LC_CTYPE_width): Change from array to three-level table. - (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS - to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add - 12 class tables and 2 map tables at the end. - * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration. - (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, - graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): - New declarations. - (b): Remove trailing semicolon. - (__ctype_names, __ctype_width): Don't initialize. - (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize. - -2000-08-27 Bruno Haible - - * elf/dl-load.c (open_path): Add a argument telling whether *dirsp - is guaranteed to be allocated with the same malloc() and may be - passed to free(). - (_dl_map_object): Update open_path calls. If rtld_search_dirs has - been set to empty by an earlier open_path call, don't pass it again. - -2000-08-28 Ulrich Drepper - - * include/libintl.h: Include since libintl.h doesn't if - we are not optimizing. - - * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double - inclusion. + * elf/dl-load.c (_dl_dst_count): Change strings in first two + strncmp calls to allow reuse. + (_dl_dst_substitute): Likewise. - * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to - really match EOF. - Patch by Franz Sirl . +1999-11-01 Arnold D. Robbins -2000-08-28 Andreas Jaeger + * posix/regex.c (init_syntax_once): move below definition of + ISALNUM etc., then use ISALNUM to init the table, so that + the word ops will work if i18n'ed. + (SYNTAX): And subscript with 0xFF for 8bit character sets. - * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon. +1999-11-09 Andreas Jaeger -2000-08-28 Mark Kettenis + * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin + implementation for ttyname_r call; fix inverted condition; return + ut_user. Closes PR libc/1438. - * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from - getpeername. Use ISO C style function definition. - (getpeername): Provide weak alias. - * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from - setrlimit. Use ISO C style function definition. - (setrlimit): Provide weak alias. +1999-11-09 Ulrich Drepper -2000-08-28 Martin Schwidefsky + * timezone/checktab.awk: Update from tzcode1999h. + * timezone/africa: Update from tzdata1999i. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/backward: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/zone.tab: Likewise. - * shlib-versions: Add a rule for S/390 to the libm version list. - * sysdeps/s390/Versions: New file. - * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c. - * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64. - * sysdeps/unix/sysv/linux/s390/Versions: New file. - * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file. - * sysdeps/unix/sysv/linux/s390/chown.c: New file. - * sysdeps/unix/sysv/linux/s390/fxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/getdents64.c: New file. - * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/lxstat.c: New file. - * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/s390/readdir64.c: New file. - * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file. - * sysdeps/unix/sysv/linux/s390/scandir64.c: New file. - * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/s390/syscalls.list: New file. - * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file. - * sysdeps/unix/sysv/linux/s390/xstat.c: New file. + * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as + macros. Patch by brg@csua.berkeley.edu [PR libc/1439]. -2000-08-28 Ulrich Drepper +1999-11-09 Andreas Jaeger - * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu] - (CFLAGS-initfini.s): Add -DWEAK_GMON_START. + * posix/Makefile (tests): Added tst-getlogin. - * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files. - * elf/dl-close.c (_dl_close): Print debug message if object is not - unloaded. - * elf/dl-open.c (dl_open_worked): Print message about opencount before - returning to caller. + * posix/tst-getlogin.c: New file, contains simple tests for + getlogin and getlogin_r. - * po/zh.po: Renamed to... - * po/zh_TW.po: ...this. +1999-11-09 Andreas Schwab -2000-08-27 Geoff Keating + * misc/syslog.c: For LOG_PERROR only append a newline if + necessary. - * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin. +1999-11-08 Ulrich Drepper - * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. - * sysdeps/powerpc/fpu/feenablxcpt.c: New file. - * sysdeps/powerpc/fpu/fegetexcept.c: New file. - * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file. + * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB + definitions. -2000-08-27 Ulrich Drepper +1999-11-08 Andreas Jaeger - * locale/programs/ld-collate.c (insert_weights): Also update - backpointer of next element. - (collate_read): Allow definition of new collation symbols in stage 2. - Symbol after reorder-after can be UCS4 value. - Allow reordering of collation symbols and elements. - Do not only move reorder entry in new position. Instead call - insert_weight to do this and read the weights. + * locale/findlocale.c (_nl_find_locale): Free normalized_codeset; + this fixes a memory leak (closes PR libc/1435). - * locale/findlocale.c (free_mem): Add cast to avoid warning. + * intl/l10nflist.c (_nl_normalize_codeset): Update comment to + reflect memory allocation. - * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code - to determine invalid locale name. - * locale/findlocale.c (_nl_find_locale): Likewise. + * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory + allocation in _nl_explode_name. - * posix/annexc.c: Correct test for unavailable feature. +1999-11-06 Andreas Jaeger - * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE -> - __inline. + * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock + to initialize it. + Reported by wes@surety.com, closes PR libc/1432. -2000-08-26 Ulrich Drepper +1999-11-05 Geoff Keating - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64 - syscall. + * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of + enumerator lists (-pedantic complains). + (feraiseexcept): Use i#*X as the constraint. Fix a bug in the + test for 'one bit set'. + (feclearexcept): Likewise. - * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource] - (sysdep_routines): Add oldgetrlimit64. - - * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c, - reldepmod2.c, reldepmod3.c, and reldepmod4.c. - (tests): Add unload, reldep, reldep2, and reldep3. - (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3, - and reldepmod4. - Add rules to build and run unload, reldep, reldep2, and reldep3. - * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit. - Don't create relocation dependency if it is nonzero. - (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This - can never happen here. - (_dl_lookup_versioned_symbol): Add new parameter explicit. - Don't create relocation dependency if it is nonzero. - (_dl_lookup_versioned_symbol_skip): Remove relocation dependency - stuff. This can never happen here. - * sysdeps/generic/ldsodefs.h: Change prototypes. - * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to - _dl_lookup_up and _dl_lookup_versioned_symbol. - (RESOLV): Likewise. - * elf/dl-runtime.c (fixup): Likewise. - (profile_fixup): Likewise. - * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to - _dl_lookup_symbol. - * elf/dl-symbol.c (_dl_symbol_value): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to - _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute - and pass down the caller map. - (_dl_vsym): Likewise. - * elf/reldep.c: New file. - * elf/reldep2.c: New file. - * elf/reldep3.c: New file. - * elf/reldepmod1.c: New file. - * elf/reldepmod2.c: New file. - * elf/reldepmod3.c: New file. - * elf/reldepmod4.c: New file. - * elf/unload.c: New file. - * elf/unloadmod.c: New file. - - * elf/do-lookup.h: Remove unused undef_name parameter. - * elf/dl-lookup.c: Adjust callers. - -2000-08-25 Ulrich Drepper - - * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of - irreversible in recursive call of conversion function to signal that - no error handling is wanted. - * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too. - (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL. - * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is - recursive error handling call, otherwise to &lirreversible. Use it - for calls to conversion functions. - * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when - transliterating. - (ucs4_internal_loop_unaligned): Likewise. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. - -2000-08-25 Greg McGary - - * sysdeps/i386/memchr.S: Check high bound against chars - actually scanned. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/stpncpy.S: Adjust high-bound check to - account for pointers that lie one beyond end-of-buffer. +1999-11-05 Ulrich Drepper -2000-08-25 Ulrich Drepper + * sysdeps/unix/sysv/linux/setrlimit.c: New file. - * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic. - * elf/nodelete.c (fini_ran): New global variable. - (do_test): Before every dlclose call clear fini_ran and test - afterwards that it is not set by the destructors. - * elf/nodelmod1.c: Add destructor which sets fini_ran. - * elf/nodelmod2.c: Likewise. - * elf/nodelmod4.c: Likewise. + * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust + for kernel changes. + * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make + unsigned. -2000-08-21 Jes Sorensen +1999-10-04 Tim Waugh - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and - getrlimit to the list. + * posix/wordexp-test.c: More tests. -2000-08-18 Jes Sorensen + * posix/wordexp.c (wordexp): Explicit null words should be kept. - * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit - long double format so use ldbl-96 instead of ldbl-128. +1999-11-04 Shinya Hanataka -2000-08-25 Ulrich Drepper + * locale/programs/linereader.c (get_string): Correct type of buf2 + variable. + * locale/programs/ld-ctype.c (ctype_output): Store index correctly + for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN, + _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and + _NL_CTYPE_OUTDIGIT*_WC. + (allocate_arrays): Completely initialize mapping tables. + * locale/programs/ld-time.c (time_startup): We need the wide car + string. + (time_finish): Correct handling of era. + (time_output): Fix a few array indeces. + (time_read): Pass the repertoire map to lr_token. - * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL - even if bits 10 a 11 are non-zero. - * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise. +1999-11-03 Ulrich Drepper - * Makeconfig: Ensures the soversions.mk part of Makefile gets - included before building gnu/lib-names.h - Patch by Maciej W. Rozycki . + * Versions.def: Add version for libthread_db. - * elf/dl-close.c (_dl_close): Don't run destructors of objects - marked DF_1_NODELETE. +1999-11-02 Andreas Jaeger - * sysdeps/posix/system.c (__libc_system): We cannot use vfork here - since we call sigaction in the child. + * manual/header.texi (Library Summary): The command @indexfonts + doesn't exist anymore, use @smallfonts instead. -2000-08-25 Andreas Jaeger +1999-11-02 Ulrich Drepper - * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on - gconv-modules. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h + instead of duplicating definitions. -2000-08-25 Andreas Jaeger +1999-11-01 Ulrich Drepper - * manual/arith.texi (Control Functions): Clarify possible - arguments. Closes PR libc/1856. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used + by the debugger. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. + * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. -2000-08-24 H.J. Lu +1999-11-01 Ulrich Drepper - * stdio-common/Makefile (tests): Don't do it for cross compiling. - * malloc/Makefile (tests): Likewise. + * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25. -2000-08-24 Ulrich Drepper + * sysdeps/unix/sysv/linux/kernel-features.h + (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition. + * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file. - * iconvdata/unicode.c (gconv_init): Correct test for direction. + * manual/texinfo.tex: Updated. -2000-08-24 Andreas Jaeger +1999-11-01 Andreas Jaeger - * malloc/Makefile (extra-objs): Fix last patch, build memusagestat - only if LIBGD is available. + * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility. -2000-08-24 Ulrich Drepper + * inet/gethstbynm2_r.c: Reorder addresses. - * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid - problems with now restrict parameter types. - (convaddr4to6): Likewise. +1999-09-11 Paul Eggert -2000-08-24 Denis Joseph Barrow + * posix/glob.h (glob): If #defining to glob64, do this before + declaring it, so that all declarations and uses match, and do not + declare glob64, to avoid a declaration clash. + (globfree): Likewise with globfree64. - * sysdeps/s390/fpu/fedisblxcpt.c: New file. - * sysdeps/s390/fpu/feenablxcpt.c: New file. - * sysdeps/s390/fpu/fegetexcept.c: New file. - * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition - FPC_VALID_MASK. +1999-09-08 Eli Zaretskii -2000-08-24 Andreas Jaeger + * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]: + Keep the trailing slash unless DIRNAME is just "x:/". - * malloc/Makefile (extra-objs): Add memusagestat.o. - (generated): Added memusage and memusagestat for make clean. +1999-10-11 Andreas Jaeger - * libio/tst_putwc.c (do_test): Delete temporary file. - Move inclusion of test-skeleton to front to have prototype for - add_temp_file. + * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added. + * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. + Closes PR libc/1384. - * posix/Makefile (generated): Add wordexp-tst.out. +1999-10-20 Andreas Schwab -2000-08-24 Ulrich Drepper + * math/Makefile (libm-tests-generated): Remove libm-test.stmp. + (generated): Add it here. + (before-compile): Add libm-test.c. + ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on + libm-test.stmp. + ($(objpfx)libm-test.stmp): Use $(objpfx) instead of + $(objdir)/math/. - * resolv/res_hconf.c (free_mem): Remove not needed if. +1999-10-31 Ulrich Drepper - * time/tzset.c (free_mem): New function. - * string/strsignal.c (free_mem): New function. - * inet/inet_ntoa.c (free_mem): New function. - * sunrpc/clnt_perr.c (free_mem): New function. + * Makefile (pdf): New goal. + * manual/Makefile: Add definitions and rules for PDF generation. -2000-08-24 Andreas Jaeger + * Versions.def (libm): Add GLIBC_2.1.3. - * sysdeps/unix/syscalls.list: Use __setrlimit as strong name. - * sysdeps/unix/sysv/syscalls.list: Likewise. + ISO C99 TR1 changes various fe* functions to return an error value. + * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag, + feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv. + * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias. + * sysdeps/alpha/fpu/fegetenv.c: Likewise. + * sysdeps/alpha/fpu/fesetenv.c: Likewise. + * sysdeps/alpha/fpu/feupdateenv.c: Likewise. + * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise. + * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise. + * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise. + * sysdeps/arm/fpu/fclrexcpt.c: Likewise. + * sysdeps/arm/fpu/fegetenv.c: Likewise. + * sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/arm/fpu/fraiseexcpt.c: Likewise. + * sysdeps/arm/fpu/fsetexcptflg.c: Likewise. + * sysdeps/generic/fclrexcpt.c: Likewise. + * sysdeps/generic/fegetenv.c: Likewise. + * sysdeps/generic/fesetenv.c: Likewise. + * sysdeps/generic/feupdateenv.c: Likewise. + * sysdeps/generic/fgetexcptflg.c: Likewise. + * sysdeps/generic/fraiseexcpt.c: Likewise. + * sysdeps/generic/fsetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c: Likewise. + * sysdeps/i386/fpu/fegetenv.c: Likewise. + * sysdeps/i386/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/feupdateenv.c: Likewise. + * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. + * sysdeps/i386/fpu/fraiseexcpt.c: Likewise. + * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fclrexcpt.c: Likewise. + * sysdeps/m68k/fpu/fegetenv.c: Likewise. + * sysdeps/m68k/fpu/fesetenv.c: Likewise. + * sysdeps/m68k/fpu/feupdateenv.c: Likewise. + * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise. + * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise. + * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise. + * sysdeps/mips/fclrexcpt.c: Likewise. + * sysdeps/mips/fegetenv.c: Likewise. + * sysdeps/mips/fesetenv.c: Likewise. + * sysdeps/mips/feupdateenv.c: Likewise. + * sysdeps/mips/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fclrexcpt.c: Likewise. + * sysdeps/powerpc/fegetenv.c: Likewise. + * sysdeps/powerpc/fesetenv.c: Likewise. + * sysdeps/powerpc/feupdateenv.c: Likewise. + * sysdeps/powerpc/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/fsetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fclrexcpt.c: Likewise. + * sysdeps/sparc/fpu/fegetenv.c: Likewise. + * sysdeps/sparc/fpu/fesetenv.c: Likewise. + * sysdeps/sparc/fpu/feupdateenv.c: Likewise. + * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. + * math/fenv.h: Adjust prototypes.: Likewise. + * manual/arith.texi: Adjust documentation for these changes. + + * manual/arith.texi: Document feraiseexcept. + + * sysdeps/powerpc/fegetenv.c: Moved to... + * sysdeps/powerpc/fpu/fegetenv.c: ...here. + * sysdeps/powerpc/fegetround.c: Moved to... + * sysdeps/powerpc/fpu/fegetround.c: ...here. + * sysdeps/powerpc/feholdexcpt.c: Moved to... + * sysdeps/powerpc/fpu/feholdexcpt.c: ...here. + * sysdeps/powerpc/fesetenv.c: Moved to... + * sysdeps/powerpc/fpu/fesetenv.c: ...here. + * sysdeps/powerpc/fenv_libc.h: Moved to... + * sysdeps/powerpc/fpu/fenv_libc.h: ...here. + * sysdeps/powerpc/feupdateenv.c: Moved to... + * sysdeps/powerpc/fpu/feupdateenv.c: ...here. + * sysdeps/powerpc/fgetexcptflg.c: Moved to... + * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here. + * sysdeps/powerpc/fraiseexcpt.c: Moved to... + * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here. + * sysdeps/powerpc/fsetexcptflg.c: Moved to... + * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here. + * sysdeps/powerpc/ftestexcept.c: Moved to... + * sysdeps/powerpc/fpu/ftestexcept.c: ...here. + * sysdeps/powerpc/fesetround.c: Moved to... + * sysdeps/powerpc/fpu/fesetround.c: ...here + * sysdeps/powerpc/fenv_const.c: Moved to... + * sysdeps/powerpc/fpu/fenv_const.c: ...here. + + * sysdeps/mips/fclrexcpt.c: Moved to... + * sysdeps/mips/fpu/fclrexcpt.c: ...here. + * sysdeps/mips/fegetenv.c: Moved to... + * sysdeps/mips/fpu/fegetenv.c: ...here. + * sysdeps/mips/fegetround.c: Moved to... + * sysdeps/mips/fpu/fegetround.c: ...here. + * sysdeps/mips/fesetenv.c: Moved to... + * sysdeps/mips/fpu/fesetenv.c: ...here. + * sysdeps/mips/fesetround.c: Moved to... + * sysdeps/mips/fpu/fesetround.c: ...here. + * sysdeps/mips/feupdateenv.c: Moved to... + * sysdeps/mips/fpu/feupdateenv.c: ...here. + * sysdeps/mips/fgetexcptflg.c: Moved to... + * sysdeps/mips/fpu/fgetexcptflg.c: ...here. + * sysdeps/mips/ftestexcept.c: Moved to... + * sysdeps/mips/fpu/ftestexcept.c: ...here. + +1999-10-29 Jakub Jelinek + + * stdlib/longlong.h: Avoid UDIV_TIME redefinition. + * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus + libraries from statically linked programs. + * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309 + fix for sigaction on SPARC. + Patches by David S. Miller . + + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare + gregset_t and other required structures and defines for SPARC 64bit + ABI as well, not only 32bit ABI. + +1999-10-31 Andreas Jaeger + + * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X + by __USE_ISOC99 and update comments. + + * math/complex.h: Update comments for ISO C99. + * math/fenv.h: Likewise. + * math/test-fenv.c: Likewise. + * math/tgmath.h: Likewise. + * libio/stdio.h: Likewise. + * posix/sys/types.h: Likewise. + * sysdeps/generic/inttypes.h: Likewise. + * sysdeps/generic/stdint.h: Likewise. - * posix/unistd.h: Move internal prototypes from here ... - * include/unistd.h: ... to here. +1999-10-31 Ulrich Drepper - * sysvipc/sys/shm.h: Add const attribute to __getpagesize. + * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE. -2000-08-24 Ulrich Drepper + * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also + recognize _ISOC99_SOURCE. + * libio/stdio.h: Likewise. + * math/math.h: Likewise. + * math/bits/mathcalls.h: Likewise. + * math/stdio.h: Likewise. + * stdlib/stdlib.h: Likewise. + * sysdeps/alpha/fpu/bits/mathdef.h: Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. + * sysdeps/arm/bits/huge_val.h: Likewise. + * sysdeps/generic/bits/mathdef.h: Likewise. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/i386/fpu/bits/mathdef.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + * sysdeps/ieee754/bits/huge_val.h: Likewise. + * sysdeps/m68k/bits/huge_val.h: Likewise. + * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. + * sysdeps/m68k/fpu/bits/mathinline.h: Likewise. + * sysdeps/powerpc/bits/mathdef.h: Likewise. + * sysdeps/powerpc/bits/mathinline.h: Likewise. + * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. + * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. + * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise. + * wcsmbs/wchar.h: Likewise. - * grp/initgroups.c (initgroups): Deallocate groups array. - Reported by jani.raiha@sonera.com [PR libc/1868]. + * sysdeps/powerpc/bits/mathdef.h: Moved to... + * sysdeps/powerpc/fpu/bits/mathdef.h: ...here. + * sysdeps/powerpc/bits/mathinline.h: Moved to... + * sysdeps/powerpc/fpu/bits/mathinline.h: ...here. + * sysdeps/powerpc/bits/fenv.h: Moved to... + * sysdeps/powerpc/fpu/bits/fenv.h: ...here. - * sysdeps/s390/Dist: Add fpu/fenv_libc.h. - * sysdeps/alpha/Dist: Likewise. +1999-10-31 Andreas Jaeger -2000-08-23 Ulrich Drepper + * manual/math.texi (Errors in Math Functions): Correct TeX code. - * crypt/md5-crypt.c (free_mem): Fix typo (constructor -> - destructor). Reported by Solar Designer . +1999-10-31 Andreas Jaeger - * iconv/gconv_conf.c (add_module): Remove some unneeded code to - avoid adding double slashes. + * math/libm-test.inc: Change comments to use ISO C99 instead of + ISO C9x. + * math/w_lgamma.c: Likewise. + * math/w_lgammaf.c: Likewise. + * math/w_lgammal.c: Likewise. + * math/test-fenv.c: Likewise. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. -2000-08-23 Jakub Jelinek +1999-10-31 Andreas Jaeger - * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__ - out of the __REDIRECT macro. + * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment. -2000-08-23 Ulrich Drepper + * manual/math.texi: Change ISO C9x to ISO C99. + * manual/startup.texi: Likewise. + * manual/stdio.texi: Likewise. - * stdio-common/vfscanf.c: Add %F format support. +1999-10-31 Andreas Jaeger - * locale/programs/ld-ctype.c (ctype_output): Make sure - _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and - _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned. - (ctype_read): Enable returning of wide character strings for reading - transliteration information. + * manual/arith.texi: Change ISO C9x to ISO C99. + * manual/time.texi (Low-Level Time String Parsing): Likewise. -2000-08-23 Andreas Jaeger +1999-10-30 Ulrich Drepper - * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove. - Use static __inline instead of _EXTERN_INLINE. + * socket/Makefile (distribute): Add ifreq.h. - * misc/sys/select.h: Move prototypes of __select from here ... - * include/sys/select.h: ... to here. + * manual/time.texi (Formatting Date and Time): Revise comments about + origins of the formats with ISO C99 references. - * socket/sys/socket.h: Move prototypes of __send and __connect - from here.... - * include/sys/socket.h: ... to here. +1999-10-30 Andreas Jaeger - * locale/programs/ld-ctype.c (ctype_read): Fix parameter for - lr_error. + * sysdeps/unix/sysv/linux/ifreq.h: New file. -2000-08-23 Jakub Jelinek +1999-10-29 Andreas Jaeger - * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use - __setrlimit as strong name. Takes only 2 arguments. + * manual/arith.texi (Parsing of Floats): Document the hexadecimal + input format; mention that strtof and strtold are part of ISO C99. - * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit - takes only 2 arguments. +1999-10-29 Ulrich Drepper -2000-08-23 Martin Schwidefsky + * manual/math.texi (Errors in Math Functions): New section. + * math/libm-err-tab.pl: Moved to... + * manual/libm-err-tab.pl: ...here. + * manual/Makefile: Add rules for math function error table generation. - * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*. + * stdlib/tst-strtod.c: Add more hexadecimal tests. - * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines. + * stdlib/strtod.c: Handle hexadecimal numbers with leading digit + != 1 correctly and more than one digit before decimal point.. -2000-08-23 Ulrich Drepper +1999-10-27 Andreas Jaeger - * locale/programs/ld-ctype.c (ctype_read): Allow more than one - default_missing character being specified, pick the first - representable. + * sysdeps/generic/ifreq.h: New file. -2000-08-23 Andreas Jaeger + * resolv/res_hconf.c: Add missing includes to get all prototypes. + (_res_hconf_reorder_addrs): Rewrite. This never worked before. + Reported by John DiMarco . - * include/wchar.h: Add some pure attributes. + (_res_hconf_reorder_addrs): Made thread safe. + (free_mem): New function, needed for malloc debugging. - * time/time.h: Add const attribute for dysize. +1999-10-29 Andreas Jaeger - * include/stdlib.h: Add malloc attribute to __posix memalign. + * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ... + * sysdeps/generic/opensock.c (__opensock): ...here in a new file. + * sysdeps/unix/sysv/linux/if_index.c: Change all callers of + opensock to use __opensock. - * stdlib/stdlib.h: Add some pure and malloc attributes. - * wcsmbs/wchar.h: Likewise. + * socket/Makefile (routines): Add opensock. - * dirent/dirent.h: Add some pure attributes. - * include/dirent.h: Likewise. + * include/sys/socket.h (__opensock): Add prototype declaration. -2000-08-23 Jakub Jelinek +1999-10-29 Andreas Jaeger - * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment - on 64bit arches. + * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing + N_* constants. + * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise. -2000-08-22 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added + new constant from Linux 2.3.25pre1. - * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two - missing buffer size checks. + * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added. -2000-08-23 Andreas Jaeger +1999-10-29 Andreas Jaeger - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as - strong name. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. + * math/libm-err-tab.pl: New file to generate a table of + libm-test-ulps values. - * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h", - otherwise __LINUX_KERNEL_VERSION might not be defined. - (MIN): Define if not already defined. +1999-10-29 Ulrich Drepper -2000-08-22 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect + struct sigcontext* object as second parameter for profil_counter. + Patches by Jakub Jelinek . - * stdio-common/vfprintf.c: Handle %F format. - * stdio-common/printf-parse.h (parse_one_spec): Likewise. - Reported by Joseph S. Myers . +1999-10-29 Andreas Jaeger - * stdio-common/tstdiomisc.c: Add test for %F printf format. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs. + * sysdeps/unix/sysv/linux/pathconf.c: Likewise. - * po/zh.po: New file. + * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts, + efs, qnx4 and reiser file systems. - * iconvdata/sjis.c: In conversion from UCS4, correct test for - enough room in target buffer. - Patch by KUSANO Takayuki [PR libc/1865]. - * iconvdata/bug-iconv1.c: New file. - * iconvdata/Makefile (tests): Add bug-iconv1. +1999-10-29 Andreas Jaeger - * locale/iso-4217.def: Update entry for Nicaragua. + * locale/Makefile (others): Set to localedef and locale for make + clean. -2000-08-22 Mark Kettenis + * debug/Makefile (generated): Add xtrace for make clean to work. - * hurd/hurdsig.c: Rearrange headers a bit. - (_hurdsig_init): Block until _hurd_msgport_thread is initialized - when cthreads is being used. +1999-10-29 Andreas Jaeger -2000-08-22 Ulrich Drepper + * stdlib/tst-strtod.c: Add two testcases for hexadecimal input. - * elf/Makefile (distribute): Add dl-osinfo.h. - * sysdeps/generic/dl-osinfo.h: New file. - * sysdeps/unix/sysv/linux/dl-osinfo.h: New file. - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK - if defined. - * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test - only for !SHARED case. Get the code from dl-osinfo.h. +1999-10-25 Andreas Jaeger - * stdlib/random_r.c: Cleanups. - * stdlib/tst-random.c: New file. - * stdlib/Makefile (tests): Add tst-random. - Patches by Michael Fischer . + * math/libm-test.inc: Added code to ignore the given max ulps. + (print_max_error): Check for ignore_max_ulp. + (check_float_internal): Likewise. + (parse_opt): Parse --ignore-max-ulp. + (main): Initialize ignore_max_ulp. -2000-08-21 Martin Schwidefsky +1999-10-26 Andreas Jaeger - * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove. - * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove. + * stdlib/msort.c: Include for prototype. + Remove K&R compatibility and _quicksort prototype. -2000-08-22 Jakub Jelinek + * stdlib/qsort.c: Make code and comments 64 bit clean; clarify + some comments. + Reported by Bernd Loechner . + Remove K&R compatibility. + Move prototype declaration to include/stdlib.h. + Include for prototype; include for CHAR_BIT. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove. - * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove. - (__syscall__sysctl): Add. + * include/stdlib.h: Prototype declaration for _quicksort. -2000-08-21 Andreas Jaeger +1999-10-27 Andreas Jaeger - * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR - libc/1864). - * stdlib/tst-strtoll.c: Likewise. + * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was + shifted a bit too much. + Reported by Eugen Dedu . -2000-08-21 Ulrich Drepper +1999-10-25 Ulrich Drepper - * 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 . + * resolv/gethnamaddr.c: Account bytes needed for alignment in + buflen. Patch by Olaf Kirch . - * posix/regex.h: Add macro definitions to allow compiling outside - glibc. + * md5-crypt/md5test.c: Correct names of MD5 functions after + removing of public names. - * sysdeps/i370/Implies: Removed. - * sysdeps/mvs/Implies: Removed. + * configure.in: Don't allow --enable-kernel without parameter. - * catgets/catgets.c (catopen): Filter out env_var values with / if - necessary. +1999-10-25 Ulrich Drepper - * locale/findlocale.c (_nl_find_locale): Move test for unusable - locale name after all getenvs. + * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0 + problems. - * configure.in: Allow sed versions like 3.02.8. - Patch by Rodrigo Barbosa . +1999-10-25 Thorsten Kukuk -2000-08-21 Marko Myllynen + * md5-crypt/md5.h: Remove prototypes for public interface. md5 is + only used internally. + * md5-crypt/md5-crypt.c: Use internal names for md5 functions, + remove weak alias for public names. + * md5-crypt/md5.c: Remove weak aliase. - * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures. +1999-10-25 Andreas Jaeger -2000-08-21 Ulrich Drepper + * math/README.libm-test: New file, documents libm-test.inc. - * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error - of gethostbyname2_r call. +1999-10-25 Andreas Jaeger - * intl/locale.alias: Add aliases for Korean. + * math/gen-libm-test.pl: Only generate a new ulps file when -n is + given. + (print_ulps_file): Fix loops to not read @tests and @functions + since those are not initialized with -n now. + (parse_ulps): Set $results{..}{"kind"}. -2000-08-21 Martin Schwidefsky +1999-10-25 Andreas Jaeger - * sysdeps/s390/__longjmp.c: Remove unused variable result. - * sysdeps/s390/fpu/bits/fenv.h: Move 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: Move elf definitions to - sys/procfs.h as proposed by Mark Kettenis. - * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file. + * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp. -2000-08-21 Andreas Jaeger + * math/libm-test.inc (check_float_internal): Don't print ulps for + wrong sign of zero. - * include/poll.h: Include include/sys/poll.h to get __poll - declaration. +1999-10-20 Andreas Jaeger - * io/sys/poll.h: Move __poll declaration from here... - * include/sys/poll.h: ...to here. + * manual/socket.texi (Address Formats): Describe usage of AF_UNIX + versus AF_LOCAL. + Patch by Robert Bihlmeyer . - * include/sys/socket.h (__getpeername): Add declaration. +1999-10-24 Ulrich Drepper - * include/wchar.h (__vswprintf): Add declaration. + * math/libm-test.inc: Disable some boundary case tests for inline + function testing. - * include/stdio.h (__flockfile): Add declaration. - (__funlockfile): Likewise. + * math/math.h: Pretty printing. -2000-08-20 Ulrich Drepper + * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN. + * sysdeps/i386/fpu/e_atanhf.S: Likewise. + * sysdeps/i386/fpu/e_atanhl.S: Likewise. + * sysdeps/i386/fpu/e_log10.S: Likewise. + * sysdeps/i386/fpu/e_log10f.S: Likewise. + * sysdeps/i386/fpu/e_log10l.S: Likewise. + * sysdeps/i386/fpu/s_log1p.S: Likewise. + * sysdeps/i386/fpu/s_log1pf.S: Likewise. + * sysdeps/i386/fpu/s_log1pl.S: Likewise. + * sysdeps/i386/fpu/s_log2.S: Likewise. + * sysdeps/i386/fpu/s_log2f.S: Likewise. + * sysdeps/i386/fpu/s_log2l.S: Likewise. - * misc/sys/cdefs.h: Define __restrict_arr. - * include/sys/time.h: Add restrict where required by AGd4. - * inet/arpa/inet.h: Likewise. - * io/sys/stat.h: Likewise. - * io/sys/statvfs.h: Likewise. - * misc/search.h: Likewise. - * misc/sys/select.h: Likewise. - * posix/glob.h: Likewise. - * posix/regex.h: Likewise. - * posix/spawn.h: Likewise. - * posix/unistd.h: Likewise. - * rt/aio.h: Likewise. - * signal/signal.h: Likewise. - * socket/sys/socket.h: Likewise. - * stdlib/ucontext.h: Likewise. - * streams/stropts.h: Likewise. - * string/string.h: Likewise. - * time/time.h: Likewise. - * time/sys/time.h: Likewise. + * sysdeps/i386/fpu/libm-test-ulps: New file. - * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam - and posix_spawnattr_setscheparam. + * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return + value for x == 0. + (pow): Correct case x == 0. + (__sgn1l): Correct handling of -0.0. - * libio/stdio.h: Make cuserid prototype again available for all - XPG versions. +1999-10-22 Andreas Jaeger - * argp/argp-help.c: Unify use of function aliases to make more compact - PLT. - * include/libintl.h: Likewise. - * inet/rcmd.c: Likewise. - * intl/dcigettext.c: Likewise. - * libio/iofputws.c: Likewise. - * libio/iofputws_u.c: Likewise. - * libio/iogetwline.c: Likewise. - * libio/swprintf.c: Likewise. - * malloc/malloc.c: Likewise. - * nss/digits_dots.c: Likewise. - * posix/fnmatch.c: Likewise. - * posix/spawn_faction_addclose.c: Likewise. - * posix/spawn_faction_adddup2.c: Likewise. - * posix/spawn_faction_addopen.c: Likewise. - * posix/spawni.c: Likewise. - * posix/wordexp.c: Likewise. - * posix/spawni.c: Likewise. - * resolv/res_hconf.c: Likewise. - * resolv/res_init.c: Likewise. - * shadow/lckpwdf.c: Likewise. - * signal/sighold.c: Likewise. - * signal/sigrelse.c: Likewise. - * stdio-common/printf-parse.h: Likewise. - * stdio-common/printf-prs.c: Likewise. - * stdio-common/printf_fp.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * stdio-common/vfscanf.c: Likewise. - * stdlib/rpmatch.c: Likewise. - * sunrpc/create_xid.c: Likewise. - * sunrpc/key_call.c: Likewise. - * sysdeps/generic/setrlimit64.c: Likewise. - * sysdeps/generic/utmp_file.c: Likewise. - * sysdeps/generic/vlimit.c: Likewise. - * sysdeps/posix/posix_fallocate.c: Likewise. - * sysdeps/posix/posix_fallocate64.c: Likewise. - * sysdeps/posix/sigpause.c: Likewise. - * sysdeps/posix/sigset.c: Likewise. - * sysdeps/unix/grantpt.c: Likewise. - * sysdeps/unix/bsd/ualarm.c: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. - * sysdeps/unix/sysv/linux/getloadavg.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ulimit.c: Likewise. - * time/strftime.c: Likewise. - * wcsmbs/wcscoll.c: Likewise. - * wcsmbs/wcsxfrm.c: Likewise. + * math/libm-test.inc (asinh_test): Add test for NaN as input parameter. + (atan_test): Likewise. + (atanh_test): Likewise. + (atan2_test): Likewise. + (carg_test): Likewise. + (ceil_test): Likewise. + (cos_test): Likewise. + (cosh_test): Likewise. + (cpow_test): Likewise. + (erf_test): Likewise. + (erfc_test): Likewise. + (exp_test): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (fabs_test): Likewise. + (floor_test): Likewise. + (fmod_test): Likewise. + (gamma_test): Likewise. + (lgamma_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (logb_test): Likewise. + (nearbyint_test): Likewise. + (remainder_test): Likewise. + (remquo_test): Likewise. + (sin_test): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (sqrt_test): Likewise. + (tan_test): Likewise. + (tanh_test): Likewise. + (tgamma_test): Likewise. - * time/tst-getdate.c (main): Make error messages more human readable. +1999-10-21 Ulrich Drepper - * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate - postinc/predec instruction. - (_FPU_SETCW): Likewise. - Patch by Franz Sirl . + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y. -2000-08-20 Andreas Jaeger + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special. - * time/tst-getdate.c (main): Increase error in case of wrong - conversion. - Fix typo in test case. + * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check + for -Inf and return NaN. -2000-08-20 Ulrich Drepper + * configure.in: Correct test for Cygnus gcc versions. - * 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 . +1999-10-21 Andreas Jaeger - * 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. + * math/libm-test.inc (cimag_test): New function, tests cimag. + (creal_test): New function, tests creal. + (conj_test): New function, tests conj. + (main): Add new functions. -2000-08-19 Ulrich Drepper +1999-10-20 Andreas Jaeger - * locale/lc-time.c (free_mem): New function. Free alt_digits and - walt_digits. + * math/libm-test.inc: Rewrite to allow different deltas for real + and imaginary part of complex functions. + * math/gen-libm-test.pl: Likewise. - * locale/findlocale.c (free_mem): Also free here->filename. +1999-10-19 Ulrich Drepper - * locale/loadlocale.c (_nl_unload_locale): Also free locale->name. + * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl + aliases. - * math/test-fenv.c (feenv_tests): Clear all exceptions before - first test. - (feexcp_nomask_test): Correct printf args. - (feexcp_mask_test): Likewise. + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special. -2000-08-19 Andreas Jaeger + * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check + for -Inf and return NaN. - * inet/tst-gethnm.c: Include string.h to provide prototype for - strcmp. + * math/gen-libm-test.pl: Fix program name in help message. - * malloc/mtrace.pl (usage): Inform about --help. + * math/libm-test.inc (check_complex): It's Imaginary, not Complex. -2000-08-19 Wolfram Gloger + * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf. - * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of - size HEAP_MAX_SIZE. + * sysdeps/i386/Implies: Correct order of libm directories. -2000-08-19 Andreas Jaeger +1999-10-19 Andreas Jaeger - * shlib-versions: Remove libnss_db, libdb and libdb1. + * include/bits/ipc.h: Remove K&R compatibility. + * include/libintl.h: Likewise. + * include/math.h: Likewise. + * include/mntent.h: Likewise + * include/netdb.h: Likewise. + * include/pwd.h: Likewise. + * include/sched.h: Likewise. + * include/shadow.h: Likewise + * include/stdlib.h: Likewise. + * include/sys/file.h: Likewise. + * include/sys/gmon.h: Likewise. + * include/sys/ioctl.h: Likewise. + * include/sys/mman.h: Likewise. + * include/sys/resource.h: Likewise. + * include/sys/socket.h: Likewise. + * include/sys/stat.h: Likewise. + * include/sys/sysinfo.h: Likewise. + * include/sys/time.h: Likewise. + * include/sys/times.h: Likewise. + * include/sys/uio.h: Likewise. + * include/sys/wait.h: Likewise. + * include/termios.h: Likewise. + * include/time.h: Likewise. + * include/ulimit.h: Likewise. + * include/utmp.h: Likewise. + * include/wchar.h: Likewise. + * include/wctype.h: Likewise. + +1999-10-19 Andreas Jaeger + + * math/libm-test.inc: Remove one K&R compatibility. + (main): Enable nexttoward_test. + + * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to + libm-test-ulps.h; pretty print output a bit. + +1999-10-19 Andreas Jaeger + + * iconv/iconv_prog.c (main): Set exit value in case that reading + from stdin failed [PR libc/1404]. + +1999-10-18 Andreas Jaeger + + Added improved math testsuite: + * math/libm-test.inc: New file, contains all tests from + libm-test.c but in a different form. + * math/libm-test.c: Removed. + * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file. + * math/gen-libm-test.pl: New file: Preprocessor. + * math/test-double.c: Adopted to new testsuite. + * math/test-idouble.c: Likewise. + * math/test-float.c: Likewise. + * math/test-ifloat.c: Likewise. + * math/test-ldouble.c: Likewise. + * math/test-ildoubl.c: Likewise. + * math/Makefile: Added rules to generate new suite. + +1999-10-18 Ulrich Drepper + + * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405]. + Patch by J. Richard Sladkey . + + * scripts/config.sub: Update from latest autoconf version. + * scripts/config.guess: Likewise. -2000-08-19 Jakub Jelinek +1999-10-18 Andreas Jaeger - * 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. + * inet/arpa/inet.h: Remove K&R compatibility. + * math/fenv.h: Likewise. -2000-08-18 Jakub Jelinek +1999-10-18 Andreas Jaeger - * 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. + * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct + kernel_sigaction): Remove K&R compatibility. + * sysdeps/unix/sysv/linux/net/if.h: Likewise. + * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. + * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise. + * sysdeps/unix/sysv/linux/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise. + * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. + * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. + * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. + * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise. + * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise. -2000-08-18 Jakub Jelinek +1999-10-18 Andreas Jaeger - * malloc/Makefile (memusage): libmemusage.so is installed in slibdir. + * iconv/iconv_prog.c (process_block): Save errno value from iconv call. + Patch by Bruno Haible [libc/1402]. -2000-08-17 Andreas Jaeger +1999-10-18 Ulrich Drepper - * 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. + * po/gl.po: New file. -2000-08-19 Richard Henderson +1999-10-18 Andreas Schwab - * 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. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct + namespace selection. -2000-08-19 Andreas Jaeger +1999-10-18 Andreas Schwab - * elf/constload1.c: Include for puts prototype. + * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid + clash with the TERM environment variable. -2000-08-19 Ulrich Drepper +1999-10-18 Andreas Jaeger - * 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. + * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN + returns now NaN + i NaN. + * sysdeps/generic/s_cprojf.c (__cprojf): Likewise + * sysdeps/generic/s_cprojl.c (__cprojl): Likewise. - * 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. +1999-10-18 Andreas Jaeger - * elf/constload1.c: Add comment explaining not freed memory. + * include/aio.h: Remove K&R compatiblity. + * include/alloca.h: Likewise. + * include/db.h: Likewise. + * include/dirent.h: Likewise. + * include/fcntl.h: Likewise. + * include/fpu_control.h: Likewise. + * include/glob.h: Likewise. + * include/grp.h: Likewise. + * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. -2000-08-18 Andreas Jaeger + * include/execinfo.h: Add __THROW. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show - alignment for structs stat and stat64. - Patch by Maciej W. Rozycki . +1999-10-18 Ulrich Drepper -2000-08-17 Ulrich Drepper + * sysdeps/mips/Implies: Remove wordsize-32 reference. + * sysdeps/mips/mips3/Implies: Add it here. - * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino - handling. Patch by Richard Henderson . +1999-10-17 Ulrich Drepper - * nss/Versions: Remove libnss_db information. + * elf/elf.h: Add various platform and architecture extensions. -2000-08-16 Jakub Jelinek + * locale/lc-collate.c (_nl_postload_collate): Disable code for now. + * locale/setlocale.c (setlocale): Don't call _nl_find_locale for + LC_ALL. - * 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. + * socket/sys/socket.h: Remove K&R compatibility. - * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries - to match Solaris. +1999-10-16 Andreas Jaeger -2000-08-17 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo. - * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code. - (_FPU_SETCW): Likewise. - Patch by Franz Sirl . +1999-10-15 Andreas Jaeger - * stdio-common/printf_fp.c: Fix chars_needed computation. - Patch by Greg McGary . - -2000-08-17 Jakub Jelinek - - * elf/dl-load.c (_dl_map_object): Don't crash if both loader and - _dl_loaded are NULL. - -2000-08-17 Jakub Jelinek - - * manual/arith.texi (feholdexcept): Returns 0 on success. - -2000-08-17 Andreas Jaeger - - * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname. - (ifr_newname): New. - Reported by Andi Kleen . - -2000-08-17 Jakub Jelinek - - * 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 - - * 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 - - * 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. - -2000-08-17 Greg McGary - - * 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 - - * 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 - - * 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. - -2000-08-16 Andreas Schwab - - * sysdeps/m68k/fpu/fegetexcept.c: New file. - * sysdeps/m68k/fpu/fedisblxcpt.c: New file. - * sysdeps/m68k/fpu/feenablxcpt.c: New file. - -2000-08-15 Ulrich Drepper - - * 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 . - -2000-08-16 Andreas Jaeger - - * elf/elf.h (EM_X8664): Add official x86-64 specific value. - -2000-08-15 Marko Myllynen - - * inet/netinet/icmp6.h: Added Mobile IPv6 definitions. - -2000-08-15 Ulrich Drepper - - * 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 . + * stdlib/Makefile (tests): Added tst-xpg-basename. - * include/link.h: Undo last patches. Hurd now has 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. + * stdlib/tst-xpg-basename.c: New test file. - * 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 . +1999-10-14 Cristian Gafton -2000-08-16 Mark Kettenis + * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up. - * sysdeps/mach/hurd/lseek64.c: New file. +1999-10-14 Andreas Jaeger -2000-08-15 Mark Kettenis + * resolv/inet_addr.c (inet_aton): Fix last patch. The little + endian version works for both endiannesses. - * 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/unix/sysv/linux/sleep.c (__sleep): Optimize for zero + seconds. -2000-08-15 Mark Kettenis +1999-10-12 Ulrich Drepper - * 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/unix/sysv/linux/i386/sys/ucontext.h: Don't define + register names unconditionally, only if __USE_GNU. -2000-08-15 Mark Kettenis + * debug/Makefile: Fix rules to generate pcprofiledump. - * 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/ucontext.h: New file. -2000-08-15 Ulrich Drepper + * locale/setlocale.c: Fix gcc warning about uninitialized variable. - * elf/constload1.c: Call mtrace. Check return value of dlclose call. - * elf/constload2.c: Add destructor to unload constload3. +1999-10-12 Andreas Jaeger - * 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. + * stdlib/tst-environ.c: Include for strcpy declaration. - * elf/loadfail.c (main): Close all successfully loaded objects. + * math/basic-test.c: Fix typo. - * 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. + * locale/programs/xstrdup.c: Include string.h for glibc + compilation to get string prototypes. - * elf/dl-close.c: Pretty print. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of + gregset_t and fpregset_t. -2000-08-14 Ulrich Drepper + * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc + warnings. Correct value for x == 0. - * 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. + * argp/argp-help.c: Remove broken definition of flockfile and + funlockfile. - * sysdeps/generic/strtok.c: Remove initializer for olds variable. +1999-10-12 Andreas Schwab - * crypt/md5-crypt.c: Let destructor deallocate static buffer. + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match + generic Linux version. - * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by - mapping them to /x5c and /x7e respectively. +1999-10-12 Ulrich Drepper - * locale/programs/ld-ctype.c: Add support for more definitions after - copy statement. + * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility. -2000-08-14 Jakub Jelinek +1999-10-11 Ulrich Drepper - * 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. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t + and fpregset_t definitions. -2000-08-13 Ulrich Drepper + * malloc/memprof.c (GETSP): Define for PowerPC. + (GETTIME): Fix generic version. - * posix/Makefile: Remove rules to generate glob package. +1999-10-10 Philip Blundell - * posix/Makefile (tests): Add tst-regexloc. - (tst-regexloc-ENV): Add LOCPATH. - * posix/tst-regexloc.c: New file. + * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not + __BYTE_ORDER. -2000-08-12 Andreas Jaeger +1999-10-11 Ulrich Drepper - * include/features.h (__STDC_ISO_10646__): Define. - Reported by Markus Kuhn . + * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax. + * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise. -2000-08-13 Ulrich Drepper + * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt. - * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600. + * sysdeps/powerpc/e_sqrt.c: Moved to... + * sysdeps/powerpc/fpu/e_sqrt.c: ...here. + * sysdeps/powerpc/e_sqrtf.c: Moved to... + * sysdeps/powerpc/fpu/e_sqrtf.c: ...here. - * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not - for revision 6 and up). + * sysdeps/powerpc/submul_1.S: Adjust asm syntax. + * sysdeps/powerpc/sub_n.S: Likewise. + * sysdeps/powerpc/strlen.S: Likewise. + * sysdeps/powerpc/strcpy.S: Likewise. + * sysdeps/powerpc/strcmp.S: Likewise. + * sysdeps/powerpc/strchr.S: Likewise. + * sysdeps/powerpc/stpcpy.S: Likewise. + * sysdeps/powerpc/setjmp.S: Likewise. + * sysdeps/powerpc/rshift.S: Likewise. + * sysdeps/powerpc/ppc-mcount.S: Likewise. + * sysdeps/powerpc/mul_1.S: Likewise. + * sysdeps/powerpc/memset.S: Likewise. + * sysdeps/powerpc/lshift.S: Likewise. + * sysdeps/powerpc/dl-start.S: Likewise. + * sysdeps/powerpc/bzero.S: Likewise. + * sysdeps/powerpc/bsd-setjmp.S: Likewise. + * sysdeps/powerpc/bsd-_setjmp.S: Likewise. + * sysdeps/powerpc/addmul_1.S: Likewise. + * sysdeps/powerpc/add_n.S: Likewise. + * sysdeps/powerpc/__longjmp.S: Likewise. + * sysdeps/powerpc/elf/start.S: Likewise. + +1999-10-11 Cristian Gafton + + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare + SA_SIGINFO. + +1999-10-10 Ulrich Drepper + + * stdlib/atexit.c (initial): New variable. Use to initialize + __exit_funcs. + * stdlib/exit.c (exit): Beware to not free statically allocated + list element [PR libc/1305]. + + * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to + slash before the basename [PR libc/1383]. + + * argp/argp.h: Fix typo in last patch. + + * sysdeps/powerpc/sysdep.h: New file. + * sysdeps/unix/powerpc/sysdep.h: New file. + * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include + sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h. + * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers + instead of bare numbers. + * sysdeps/powerpc/fpu/s_fabs.S: Likewise. + * sysdeps/powerpc/fpu/s_fmax.S: Likewise. + * sysdeps/powerpc/fpu/s_fmin.S: Likewise. + + * sysdeps/hppa/sysdep.h: New file. + +1999-10-10 Andreas Jaeger + + * misc/sgtty.h: Fix typo in last patch. + +1999-10-09 Ulrich Drepper + + * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis. + * sysdeps/powerpc/s_copysign.S: Move to... + * sysdeps/powerpc/fpu/s_copysign.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_copysignf.S: Move to... + * sysdeps/powerpc/fpu/s_copysignf.S: ...here. + * sysdeps/powerpc/s_fabs.S: Move to... + * sysdeps/powerpc/fpu/s_fabs.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_fabsf.S: Move to... + * sysdeps/powerpc/fpu/s_fabsf.S: ...here. + * sysdeps/powerpc/s_fdim.c: Move to... + * sysdeps/powerpc/fpu/s_fdim.c: ...here. + * sysdeps/powerpc/s_fdimf.c: Move to... + * sysdeps/powerpc/fpu/s_fdimf.c: ...here. + * sysdeps/powerpc/s_fmax.S: Move to... + * sysdeps/powerpc/fpu/s_fmax.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_fmaxf.S: Move to... + * sysdeps/powerpc/fpu/s_fmaxf.S: ...here. + * sysdeps/powerpc/s_fmin.S: Move to... + * sysdeps/powerpc/fpu/s_fmin.S: ...here. Use portable asm syntax. + * sysdeps/powerpc/s_fminf.S: Move to... + * sysdeps/powerpc/fpu/s_fminf.S: ...here. + * sysdeps/powerpc/s_isnan.S: Move to... + * sysdeps/powerpc/fpu/s_isnan.c: ...here. + * sysdeps/powerpc/s_isnanf.S: Move to... + * sysdeps/powerpc/fpu/s_isnanf.S: ...here. + * sysdeps/powerpc/s_llrint.c: Move to... + * sysdeps/powerpc/fpu/s_llrint.c: ...here. + * sysdeps/powerpc/s_llrintf.c: Move to... + * sysdeps/powerpc/fpu/s_llrintf.c: ...here. + * sysdeps/powerpc/s_llround.c: Move to... + * sysdeps/powerpc/fpu/s_llround.c: ...here. + * sysdeps/powerpc/s_llroundf.c: Move to... + * sysdeps/powerpc/fpu/s_llroundf.c: ...here. + * sysdeps/powerpc/s_lrint.c: Move to... + * sysdeps/powerpc/fpu/s_lrint.c: ...here. + * sysdeps/powerpc/s_lrintf.S: Move to... + * sysdeps/powerpc/fpu/s_lrintf.S: ...here. + * sysdeps/powerpc/s_lround.c: Move to... + * sysdeps/powerpc/fpu/s_lround.c: ...here. + * sysdeps/powerpc/s_lroundf.c: Move to... + * sysdeps/powerpc/fpu/s_lroundf.c: ...here. + * sysdeps/powerpc/s_rint.c: Move to... + * sysdeps/powerpc/fpu/s_rint.c: ...here. + * sysdeps/powerpc/s_rintf.c: Move to... + * sysdeps/powerpc/fpu/s_rintf.c: ...here. + * sysdeps/powerpc/t_sqrt.c: Move to... + * sysdeps/powerpc/fpu/t_sqrt: ...here. + * sysdeps/powerpc/w_sqrt.c: Move to... + * sysdeps/powerpc/fpu/w_sqrt.c: ...here. + * sysdeps/powerpc/w_sqrtf.c: Move to... + * sysdeps/powerpc/fpu/w_sqrtf.c: ...here. + * configure.in: Support platforms which have no .text pseudo-op. + Patches partly by Jimi X . + + * Makeconfig: Look also in all subdirs for shlib-versions files. + + * malloc/memprof.sh: Fix --help string a bit. + + * argp/argp.h: Remove K&R compatiblity. + * assert/assert.h: Likewise. + * catgets/nl_types.h: Likewise. + * ctype/ctype.h: Likewise. + * db/db.h: Likewise. + * db/ndbm.h: Likewise. + * db2/db.h: Likewise. + * db2/db_185.h: Likewise. + * debug/execinfo.h: Likewise. + * dirent/dirent.h: Likewise. + * dlfcn/dlfcn.h: Likewise. + * gmon/sys/gmon.h: Likewise. + * grp/grp.h: Likewise. + * iconv/gconv.h: Likewise. + * iconv/iconv.h: Likewise. + * include/execinfo.h: Likewise. + * inet/aliases.h: Likewise. + * inet/netinet/ether.h: Likewise. + * inet/netinet/in.h: Likewise. + * intl/libintl.h: Likewise. + * io/fcntl.h: Likewise. + * io/fts.h: Likewise. + * io/ftw.h: Likewise. + * io/utime.h: Likewise. + * io/sys/poll.h: Likewise. + * io/sys/stat.h: Likewise. + * io/sys/statfs.h: Likewise. + * io/sys/statvfs.h: Likewise. + * libio/libio.h: Likewise. + * libio/stdio.h: Likewise. + * linuxthreads/sysdeps/pthread/pthread.h: Likewise. + * locale/locale.h: Likewise. + * login/pty.h: Likewise. + * login/utmp.h: Likewise. + * malloc/mcheck.h: Likewise. + * math/complex.h: Likewise. + * math/math.h: Likewise. + * math/math_private.h: Likewise. + * misc/err.h: Likewise. + * misc/fstab.h: Likewise. + * misc/libgen.h: Likewise. + * misc/mntent.h: Likewise. + * misc/regexp.h: Likewise. + * misc/search.h: Likewise. + * misc/sgtty.h: Likewise. + * misc/ttyent.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * misc/sys/file.h: Likewise. + * misc/sys/ioctl.h: Likewise. + * misc/sys/mman.h: Likewise. + * misc/sys/select.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/sys/uio.h: Likewise. + * misc/sys/ustat.h: Likewise. + * nss/nss.h: Likewise. + * posix/sched.h: Likewise. + * posix/unistd.h: Likewise. + * posix/wordexp.h: Likewise. + * posix/sys/times.h: Likewise. + * posix/sys/utsname.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * resolv/netdb.h: Likewise. + * resolv/resolv.h: Likewise. + * resource/ulimit.h: Likewise. + * resource/sys/resource.h: Likewise. + * resource/sys/vlimit.h: Likewise. + * resource/sys/vtimes.h: Likewise. + * rt/aio.h: Likewise. + * setjmp/setjmp.h: Likewise. + * shadow/shadow.h: Likewise. + * signal/signal.h: Likewise. + * socket/socket.h: Likewise. + * stdio/stdio.h: Likewise. + * stdio-common/_itoa.h: Likewise. + * stdio-common/_itowa.h: Likewise. + * stdio-common/printf.h: Likewise. + * stdlib/alloca.h: Likewise. + * stdlib/fmtmsg.h: Likewise. + * stdlib/monetary.h: Likewise. + * stdlib/stdlib.h: Likewise. + * stdlib/ucontext.h: Likewise. + * streams/stropts.h: Likewise. + * string/argz.h: Likewise. + * string/envz.h: Likewise. + * string/string.h: Likewise. + * string/strings.h: Likewise. + * string/bits/string2.h: Likewise. + * sunrpc/rpc/auth.h: Likewise. + * sunrpc/rpc/auth_des.h: Likewise. + * sunrpc/rpc/auth_unix.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * sunrpc/rpc/des_crypt.h: Likewise. + * sunrpc/rpc/netdb.h: Likewise. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/pmap_prot.h: Likewise. + * sunrpc/rpc/pmap_rmt.h: Likewise. + * sunrpc/rpc/rpc_msg.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/svc_auth.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. + * sysvipc/sys/ipc.h: Likewise. + * sysvipc/sys/msg.h: Likewise. + * sysvipc/sys/sem.h: Likewise. + * sysvipc/sys/shm.h: Likewise. + * termios/termios.h: Likewise. + * time/time.h: Likewise. + * time/sys/time.h: Likewise. + * time/sys/timeb.h: Likewise. + * wcsmbs/wchar.h: Likewise. + * wctype/wctype.h: Likewise. - * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before - including . - * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined - to get definitions of just these types. +1999-10-05 Roland McGrath - * signal/signal.h: Define thread signal handling functions also for - POSIX95. + * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that + _GNU_SOURCE be defined. - * 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. +1999-10-08 Ulrich Drepper - * sysvipc/sys/shm.h: Define pid_t for XPG. + * ctype/ctype.h: Pretty print. - * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as - they are not anymore required here. + * po/cs.po: Fix typos. - * wcsmbs/wchar.h: Make the various wide char string and stream - functions available for the respective XPG versions. + * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix + handling of empty entries. [PR libc/1345] + Patch by Thorsten Kukuk . - * nss/Makefile: Remove rules to build and distribute nss_db. +1999-10-08 Andreas Schwab - * sysdeps/generic/alphasort64.c: Remove unnecessary versioning. - * sysdeps/generic/scandir64.c: Likewise. - * sysdeps/generic/versionsort64.c: Likewise. + * debug/xtrace.sh: Fix quoting bugs. Implement --help and --version. -2000-08-13 Ulrich Drepper - Benjamin Koznik +1999-10-08 Andreas Schwab - * 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. + * debug/pcprofiledump.c: Fix typos. - * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2. +1999-10-07 Andreas Jaeger -2000-08-12 Ulrich Drepper + * math/Makefile (tests): Added basic-tests. - * locale/programs/localedef.c: Implement --prefix option to allow - writing in standard places of alternative install directories. + * math/basic-test.c: New file. Contains function basic_tests from + libm-test. - * posix/regex.c (compile_range): Implement collation sequence - handling for glibc. Use simple character ordering otherwise and - not strcoll. +1999-10-07 Andreas Schwab -2000-08-12 Mark Kettenis + * malloc/memprof.sh: Fix quoting bugs. - * sysdeps/generic/scandir64.c: Include . +1999-10-08 Ulrich Drepper -2000-08-12 Andreas Jaeger + * timezone/europe: Update from tzdata1999h. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle - __USE_FILE_OFFSET64 correctly for locking. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. +1999-10-07 Ulrich Drepper -2000-08-12 Jakub Jelinek + * elf/elf.h: Update from last gABI draft. - * 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. + * elf/elf.h: Remove EM_486 entry. + * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove + test for EM_486. -2000-08-12 Ulrich Drepper +1999-10-07 Ulrich Drepper - * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also - defined. + * debug/Makefile (install-bin): Add pcprofiledump and xtrace. + Add rules for both programs. + * debug/pcprofiledump.c: New file. + * debug/xtrace.sh: New file. + * debug/pcprofile.c: Allow creating output file. Add magic signature + to let reader recognize file format. -2000-08-12 Andreas Jaeger - - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64, - F_SETLK64, F_SETLKW64): Define with F_GETLK etc. - - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set - mips2 for assembler. - - * 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 - - * 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. - -2000-08-11 Ulrich Drepper - - * nss/digits_dots.c: Don't pass NULL in h_aliases for successful - lookup, pass pointer to array with NULL pointer [PR libc/1858]. - * inet/Makefile (tests): Add tst-gethnm. - * inet/tst-gethnm.c: New file. - - * 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 - - * 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. +1999-10-06 Ulrich Drepper -2000-08-08 Jes Sorensen + * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch. - * 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. +1999-10-05 Andreas Jaeger -2000-08-10 Ulrich Drepper + * locale/programs/ld-identification.c: Fix typo in comment. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. - * timezone/zic.c: Update from tzcode2000f. - * timezone/australasia: Update from tzdata2000f. - * timezone/europe: Likewise. - * timezone/southamerica: Likewise. - * timezone/yearistype: Likewise. + * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment. + (collate_read): Remove unnecessary comparisons with ignore_content. -2000-08-10 Andreas Jaeger + * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual + assigned elements. + (ctype_read): Remove unnecessary comparisons with ignore_content. + Fix typos in comments. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and - stat with current MIPS kernel. + * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary + comparisons with ignore_content. -2000-08-01 Mark Kettenis +1999-10-05 Ulrich Drepper - * 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 - . - * 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 - , and . 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. + * po/cs.po: Update. -2000-08-09 Jakub Jelinek + * time/time.h: Move __gmtime_r declaration to ... + * include/time.h: ...here. - * time/tzfile.c (__tzfile_compute): __tzstring zones - from zone_names. +1999-10-05 Andreas Jaeger -2000-08-09 Jakub Jelinek + * manual/message.texi (The message catalog files): Fix description + to match gencat implementation and Unix98: Message fields are + separated by a single blank space. - * resolv/resolv.h (__res_state): Surround prototype with - __BEGIN_DECLS/__END_DECLS. - * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h. +1999-10-05 Andreas Jaeger -2000-08-04 Jes Sorensen + * manual/string.texi (Search Functions): Add missing end for + memrchr description. - * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource): - Make independant of asm/resource.h from the Linux kernel. +1999-10-04 Ulrich Drepper -2000-08-06 Bruno Haible + * malloc/memprof.sh: Various small cleanups. Add short options. + Write error messages to stderr. - * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath. + * malloc/Makefile ($(objpfx)memprof): Fix typo in rule. -2000-08-06 Bruno Haible + * malloc/memprof.sh: Take options to control memprofstat. - * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH. - * locale/Makefile (locale-CPPFLAGS): Likewise. + * malloc/Makefile: Add rule to generate memprof script. + * malloc/memprof.sh: New file. -2000-08-09 Ulrich Drepper + * elf/ldd.bash.in: Add "Usage: " in help message to comply with + GNU standard. - * sysdeps/i386/fpu/libm-test-ulps: Increase several error values - for AMD processors. +1999-10-04 Andreas Jaeger -2000-08-03 Jakub Jelinek + * configure.in: Allow makeinfo 4.*. - * misc/Versions (mincore): Export at GLIBC_2.2. +1999-10-04 Ulrich Drepper -2000-08-03 Bruno Haible + * stdio-common/vfprintf.c: Correct last patch and use outchar + instead of PUTC to output single characters. + * stdio-common/Makefile (tests): Add bug13. + * stdio-common/bug13.c: New file. - * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW. + * configure.in: Add additional options --with-gd-include and + --with-gd-lib to help people with strange installations. -2000-08-02 Mark Kettenis + * malloc/Makefile: Add libdl dependency to libmemprof.so. + * malloc/Depend: New file. - * 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. +1999-10-04 Andreas Jaeger -2000-08-09 Andreas Schwab + * timezone/README: Change wording to not mention the current + version. This way we can't forget to update the file. - * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the - long long modifier is seen. +1999-10-04 Andreas Jaeger - * elf/nodelete.c (do_test): Remove reference to undefined member - sa_restorer. - * rt/tst-aio4.c (do_test): Likewise. + * manual/time.texi (Basic CPU Time): Fix typo. + Reported by Ben Pfaff . - * configure.in: Add `-lm' when checking for libgd. - * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during - linking. +1999-10-04 Ulrich Drepper -2000-08-09 Andreas Jaeger + * string/string.h: Move __memrchr declaration to ... + * include/string.h: ...here. - * configure.in: Change required make versions. +1999-10-03 Ulrich Drepper - * manual/install.texi (Tools for Compilation): Document required - make version. - (Supported Configurations): Update list of supported - configurations. + * string/Makefile (routines): Add memrchr. -2000-08-08 Ulrich Drepper + * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr. + Correct order of tests for matching bytes. - * locale/linereader.c (get_string): Don't print an error is a string - contains an unknown character. + * string/tester.c: Add tests for memrchr. -2000-08-06 Ulrich Drepper + * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation. + Start from the last character and take decrement not increment + into account for correction in return line. Add memrchr alias. + * sysdeps/i386/bits/string.h: Likewise. - * 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. +1999-10-04 Roland McGrath -2000-08-04 Ulrich Drepper + * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg. - * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in - error message. - Reported by Tung-Han Hsieh . +1999-10-03 Ulrich Drepper -2000-08-04 Greg McGary + * sysdeps/i386/i486/bits/string.h (__memrchr): New function. - * posix/regex.c (SET_HIGH_BOUND): New macro. - (MOVE_BUFFER_POINTER): Use it. - (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro. - (EXTEND_BUFFER): Use it. + * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to + conventions. -2000-08-03 Ulrich Drepper + * string/Versions: Export memrchr. - * 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. +1999-10-04 Roland McGrath - * libio/genops.c (_IO_default_showmanyc): Change return type to size_t. - * libio/libioP.h: Change prototypes. + * misc/Versions (GLIBC_2.2): Add getloadavg. + * misc/Makefile (routines): Add getloadavg. + * sysdeps/generic/getloadavg.c: New file. + * sysdeps/mach/getloadavg.c: New file. + * sysdeps/unix/sysv/linux/getloadavg.c: New file. -2000-08-03 Greg McGary + * sysdeps/generic/memrchr.c: New file, adapted from memchr.c. + * sysdeps/i386/bits/string.h (__memrchr): New function. + * string/string.h: Declare memrchr, __memrchr. + * manual/string.texi (Search Functions): Document memrchr. - * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our - frame pointer early so that we save caller's frame pointer. - * sysdeps/i386/elf/setjmp.S: Likewise. +1999-10-03 Ulrich Drepper - * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures. - * io/test-utime.c: Test passing NULL as utimbuf* arg. + * configure.in: Accept --with-gd option and set all libgd-LDFLAGS, + CFLAGS-memprofstat.c, and LIBGD variables. + * config.make.in: Add LIBGD. + * malloc/Makefile: Add rules to generate libmemprof.so and + memprofstat. + * malloc/memprof.c: New file. + * malloc/memprofstat.c: New file. - * 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. - -2000-08-03 Ulrich Drepper - - * iconvdata/big5.c: Updated. - Patch by Tung-Han Hsieh . - -2000-08-02 Ulrich Drepper - - * Makeconfig (all-subdirs): Add conform. - * conform/Makefile: Include ../Rules. - - * Makefile (README): Add rules to generate here as well. - -2000-08-02 Ulrich Drepper - - * version.h (VERSION): Bump to 2.1.92. - - * 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. - - * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files. - - * posix/regex.c (compile_range): Translate range start and end - characters to avoid empty range in case of REG_ICASE [PR libc/1842]. - - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include - asm/resource.h. - - * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change. - -2000-08-02 Andreas Jaeger - - * elf/elf.h (EM_S390): Added. - (R_390_*): New relocs for S390. - - * sysdeps/unix/sysv/linux/s390/Dist: New file. - * sysdeps/unix/sysv/linux/s390/sysdep.h: New file. - * sysdeps/unix/sysv/linux/s390/sysdep.S: New file. - * sysdeps/unix/sysv/linux/s390/syscall.S: New file. - * sysdeps/unix/sysv/linux/s390/sys/user.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file. - * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file. - * sysdeps/unix/sysv/linux/s390/socket.S: New file. - * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/s390/shmctl.c: New file. - * sysdeps/unix/sysv/linux/s390/setreuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setresuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setresgid.c: New file. - * sysdeps/unix/sysv/linux/s390/setregid.c: New file. - * sysdeps/unix/sysv/linux/s390/setgroups.c: New file. - * sysdeps/unix/sysv/linux/s390/setgid.c: New file. - * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/s390/seteuid.c: New file. - * sysdeps/unix/sysv/linux/s390/setegid.c: New file. - * sysdeps/unix/sysv/linux/s390/semctl.c: New file. - * sysdeps/unix/sysv/linux/s390/register-dump.h: New file. - * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/putmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/s390/msgctl.c: New file. - * sysdeps/unix/sysv/linux/s390/mmap.S: New file. - * sysdeps/unix/sysv/linux/s390/getuid.c: New file. - * sysdeps/unix/sysv/linux/s390/getresuid.c: New file. - * sysdeps/unix/sysv/linux/s390/getresgid.c: New file. - * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/getmsg.c: New file. - * sysdeps/unix/sysv/linux/s390/getgroups.c: New file. - * sysdeps/unix/sysv/linux/s390/getegid.c: New file. - * sysdeps/unix/sysv/linux/s390/geteuid.c: New file. - * sysdeps/unix/sysv/linux/s390/fchown.c: New file. - * sysdeps/unix/sysv/linux/s390/clone.S: New file. - * sysdeps/unix/sysv/linux/s390/brk.c: New file. - * sysdeps/unix/sysv/linux/s390/bits/time.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file. - * sysdeps/unix/sysv/linux/s390/Makefile: New file. - * sysdeps/s390/sysdep.h: New file. - * sysdeps/s390/sys/ucontext.h: New file. - * sysdeps/s390/sub_n.S: New file. - * sysdeps/s390/strncpy.S: New file. - * sysdeps/s390/strcpy.S: New file. - * sysdeps/s390/stackinfo.h: New file. - * sysdeps/s390/setjmp.S: New file. - * sysdeps/s390/s390-mcount.S: New file. - * sysdeps/s390/mul_1.S: New file. - * sysdeps/s390/memusage.h: New file. - * sysdeps/s390/memset.S: New file. - * sysdeps/s390/memcpy.S: New file. - * sysdeps/s390/memchr.S: New file. - * sysdeps/s390/machine-gmon.h: New file. - * sysdeps/s390/ldbl2mpn.c: New file. - * sysdeps/s390/gmp-mparam.h: New file. - * sysdeps/s390/fpu/fpu_control.h: New file. - * sysdeps/s390/fpu/fesetround.c: New file. - * sysdeps/s390/fpu/fegetround.c: New file. - * sysdeps/s390/fpu/fclrexcpt.c: New file. - * sysdeps/s390/fpu/bits/fenv.h: New file. - * sysdeps/s390/ffs.c: New file. - * sysdeps/s390/elf/start.S: New file. - * sysdeps/s390/elf/setjmp.S: New file. - * sysdeps/s390/elf/bsd-setjmp.S: New file. - * sysdeps/s390/elf/bsd-_setjmp.S: New file. - * sysdeps/s390/dl-machine.h: New file. - * sysdeps/s390/bzero.S: New file. - * sysdeps/s390/bsd-setjmp.S: New file. - * sysdeps/s390/bsd-_setjmp.S: New file. - * sysdeps/s390/bits/string.h: New file. - * sysdeps/s390/bits/setjmp.h: New file. - * sysdeps/s390/bits/huge_val.h: New file. - * sysdeps/s390/bits/endian.h: New file. - * sysdeps/s390/bits/byteswap.h: New file. - * sysdeps/s390/bcopy.S: New file. - * sysdeps/s390/backtrace.c: New file. - * sysdeps/s390/atomicity.h: New file. - * sysdeps/s390/asm-syntax.h: New file. - * sysdeps/s390/addmul_1.S: New file. - * sysdeps/s390/add_n.S: New file. - * sysdeps/s390/abort-instr.h: New file. - * sysdeps/s390/__longjmp.c: New file. - * sysdeps/s390/Makefile: New file. - * sysdeps/s390/Implies: New file. - * sysdeps/s390/Dist: New file. - Patches by Martin Schwidefsky . - -2000-08-01 Ulrich Drepper - - Remove incompatible IPv6 extension of RPC. - * sunrpc/Makefile: Undo changes. - * sunrpc/rpc_main.c: Likewise. - * sunrpc/rpc/clnt.h: Likewise. - * sunrpc/rpc/svc.h: Likewise. - * sunrpc/bindrsvprt6.c: Removed. - * sunrpc/clnt_tcp6.c: Removed. - * sunrpc/clnt_udp6.c: Removed. - * sunrpc/svc_tcp6.c: Removed. - * sunrpc/svc_udp6.c: Removed. +1999-10-02 Ulrich Drepper - * intl/libintl.h: Don't use __attribute_format_arg__ for gettext, - dgettext, and dcgettetxt. + * resolv/nsap_addr.c (inet_nsap_addr): Little optimization. - * intl/locale.alias: Update japanese aliases. + * resolv/inet_ntop.c (inet_ntop4): Little optimization. + (inet_ntop6): Likewise. - * sysdeps/ia64/bits/byteswap.h: New file. - Patch by Dan Pop . + * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer + overruns. - * misc/sys/cdefs.h: Define __attribute_format_arg__. - * intl/libintl.h: Use it here instead of using __attribute__ directly. + * resolv/tst-aton.c (main): Add more tests. -2000-07-13 H.J. Lu + * resolv/inet_addr.c (inet_aton): Correct some problems with to + large numbers. Optimize a bit. - * posix/regex.c (re_max_failures): Set to 4000. +1999-10-01 Ulrich Drepper -2000-08-01 Ulrich Drepper + * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero + account for added '0'. - * gnulib/Makefile (tests): Add tst-gcc. - * gnulib/tst-gcc.c: New file. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align + handling of IPv6 tunnel address handling with bind 8.2.1. Allow + len argument to be greater than needed address size. - * assert/Makefile (routines): Add __assert. - * assert/Versions: Export __assert for glibc 2.2. - * assert/__assert.c: New file. - * assert/assert.h: Declare __assert. +1999-10-01 Andreas Jaeger -2000-07-27 Bruno Haible + * locale/programs/ld-collate.c (insert_value): Add cast to avoid + warning. + * intl/finddomain.c (_nl_find_domain): Likewise. - * locale/localeinfo.h (_ISCTYPE): New macro. - * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new - LC_CTYPE locale format. - * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b. - (ctype_output): Output class_b[nr] right before class_3level[nr]. - (allocate_arrays): Fill class_b, similarly to class_3level. +1999-09-30 Andreas Schwab -2000-08-01 Ulrich Drepper - Joseph S. Myers + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages. - * math/tgmath.h: Make standard compliant. Don't ask how. +1999-09-30 Andreas Jaeger -2000-07-04 H.J. Lu + * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings. + * sysdeps/i386/rshift.S: Likewise. + * sysdeps/i386/strchrnul.S: Likewise. + * sysdeps/i386/strchr.S: Likewise. + Patch by Michael Deutschmann , + PR libc/1339. - * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)): - Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new". - ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only. +1999-09-30 Andreas Jaeger -2000-07-30 Maciej W. Rozycki + * manual/examples/pipe.c: Close other end of pipe to make example work. - * include/features.h (_XOPEN_SOURCE): Update the explanation. - (__USE_LARGEFILE): Add an explanation. - (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500. - (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600. +1999-10-01 Ulrich Drepper -2000-08-01 Ulrich Drepper + * timezone/checktab.awk: Update from tzcode1999g. + * timezone/tzselect.ksh: Likewise. + * timezone/africa: Update from tzdata1999g. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/iso3166.tab: Likewise. + * timezone/zone.tab: Likewise. - * libio/Makefile: Enable exception handling for genops, wgenops, - fileops, and wfileops. +1999-09-27 Andreas Jaeger -2000-07-29 Mark Kettenis + * resolv/netdb.h: Remove declaration of getnodebyname. It has + been renamed to getipnodebyname. Move flags around. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into - acount that elf/rtld's main program might remove some varibales - from the environment if we're trying to be secure. Move the Hurd - startup data if necessary, or, if we there is no startup data, - make sure the magical convention that ARGV[0] is stored just after - the environment list. +1999-09-27 Andreas Schwab -2000-08-01 Philip Blundell + * manual/message.texi (Locating gettext catalog): Fix typos. - * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource] - (sysdep_routines): Add oldgetrlimit, oldsetrlimit. - * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit, - oldsetrlimit for GLIBC_2.0. +1999-09-27 Andreas Jaeger -2000-08-01 Andreas Jaeger + * manual/socket.texi (Out-of-Band Data): Correct example program, + rename some variables for clarity. + Reported by James Antill , close PR libc/1329. - * nss/nss_files/files-ethers.c: Use case-insensitive lookup. - (LINE_PARSER): Allow any number of spaces between ip address and - number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt. +1999-09-27 Ulrich Drepper - * conform/data/netdb.h-data: Remove getipnodebyaddr and friends. + * locale/programs/ld-collate.c (insert_value): Add hack to not + crash in incomplete collate implementation. - * include/netdb.h: Remove getipnodebyaddr and friends, leave - constants in. + * locale/programs/ld-collate.c (read_directions): Read new token + after accepting sorting rule. - * nis/Versions: Remove _nss_nis_getipnodebyname_r and - _nss_nisplus_getipnodebyname_r. +1999-09-26 Ulrich Drepper - * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for - now, getipnodebyname is deprecated. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): - Likewise. + * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix + error message printing. Correctly test whether all characters of + current token are used. + (ctype_read): NUL terminate last_str. - * inet/Makefile (routines): Don't build getipnodebyaddr and - friends. +1999-09-26 Thorsten Kukuk - * intl/Makefile (distribute): Add tst-translit.sh and translit.po. + * nscd/connections.c: Invalidate caches on request. + * nscd/nscd-client.h: Add INVALIDATE to request_type. + * nscd/nscd.c: Add invalidate cache option. + * nscd/nscd.conf: Change log directory to /var/log (FHS). - * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h. +1999-09-24 Ulrich Drepper - * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c. + * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do + not ovverwrite last group member with NULL pointer. + Reported by Thomas Winder . - * wctype/Makefile (distribute): Add wchar-lookup.h. +1999-09-24 Andreas Jaeger - * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h. + * stdio-common/tst-printf.c (main): Add a testcase for large + precision. Reported by Tymm Twillman . - * iconvdata/Makefile (distribute): Add isiri-3342.h. +1999-09-24 Andreas Schwab -2000-08-01 Andreas Schwab + * math/bits/mathcalls.h: Fix last change. Also declare __finite. - * Make-dist (dist): Resolve `..' in file names. +1999-09-24 Andreas Jaeger -2000-08-01 Andreas Jaeger + * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free + normalized_codeset. Reported by Belicky Zsolt . - * stdio-common/Makefile (distribute): Remove removed files, add - new files. +1999-09-23 Mark Kettenis - * Makefile (distribute): Remove include/db_185.h and db.h. + * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New + variable. Define MORECORE_CLEARS to 2. - * include/db_185.h: Remove, it's not needed anymore. - * include/db.h: Likewise. + * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk + doesn't clear the contents of memory that is reallocated after + decrementing the break value first. Update comment about + MORECORE_CLEARS, explaining the meaning of the values it can be + set to. -2000-07-31 Ulrich Drepper +1999-09-23 Ulrich Drepper - * inet/Makefile (tests): Remove tst-ipnode. - * include/netdb.h: Add stuff removed from resolv/netdb.h here for - now. + * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in + one more case. -2000-07-31 Jes Sorensen + * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers. + (log): Likewise. + (log10): Likewise. + (log1p): Likewise. + (log2): Likewise. - * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and - endp statements have already been added. +1999-09-22 Andreas Jaeger -2000-04-18 David Mosberger + * stdio-common/tstscanf.c (main): Add test case from PR libc/1313 + reported by Ben Caradoc-Davies . - * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include - . +1999-09-22 Andreas Schwab - * sysdeps/ia64/_mcount.S: New file. + * stdio-common/vfscanf.c: Fix width handling when scanning floats. - * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to - __gmon_start__. Fix up extraneous whitespace. +1999-04-02 Andreas Jaeger -2000-01-12 H.J. Lu + * elf/Makefile (CFLAGS-multiload.c): Change to allow building in + the source directory. Fixes PR libc/1059. - * sysdeps/ia64/elf/initfini.c: New file. +1999-09-21 Ulrich Drepper -2000-07-31 Jes Sorensen + * locale/programs/repertoire.c (repertoire_find_value): Abort if + rep parameter is NULL. + (repertoire_find_symbol): Likewise. + (repertoire_find_seq): Likewise. - * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW - dependency between branch and ar.pfs write. +1999-09-20 Jean-Louis Martineau -2000-07-31 H.J. Lu + * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct + returned errno value in some cases. - * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly - handle the wchar_t array. +1999-09-19 Ulrich Drepper -2000-07-31 Ulrich Drepper + * iconvdata/Makefile (modules): Add GBK. + (distribute): Add gbk.c. + * iconvdata/gbk.c: New file. + * iconvdata/gconv-modules: Add GBK entry. + Contributed by Sean Chen . - * iconvdata/gb18030.c: Don't map to and from positions in ISO - 10646 which are not yet assigned. - Patch by wang shouhua . + * locale/programs/ld-monetary.c (monetary_output): Remove + byte-order code. -2000-07-31 Andreas Jaeger + * locale/programs/ld-time.c (time_output): Correct expected number + of iov entries. - * inet/Versions: Remove getipnodebyaddr and friends from - GLIBC_2.2. + * manual/filesys.texi (Testing File Access): Correct description of + SUID. - * resolv/netdb.h: Remove getipnodebyaddr and friends. +1999-080-25 H.J. Lu -2000-07-30 Bruno Haible + * csu/defs.awk (.end): Only match with leading white spaces. + (.align): Likewise. - * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case - ch >= 0x81 && ch2 < 0x40 as invalid. +1999-09-19 Ulrich Drepper -2000-07-30 Bruno Haible + * stdlib/isomac.c: Add va_copy to allowed macros. - * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid. - (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed. + * po/pl.po: Updated. -2000-07-30 Bruno Haible +1999-09-17 Andreas Schwab - * iconvdata/johab.c (BODY for TO_LOOP): After calling - ucs4_to_ksc5601_sym, fix the conversion to JOHAB. + * Makefile (clean): Also remove $(postclean) files. -2000-07-30 Bruno Haible +1999-09-15 Andreas Jaeger - * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4, - 0xb8. - (from_ucs4): Change values of U+00A4, U+00BB, U+00ED. + * pwd/Makefile (otherlibs): Add for building with static-nss. + * inet/Makefile (otherlibs): Likewise. -2000-07-30 Bruno Haible +1999-09-15 Andreas Jaeger - * iconvdata/macintosh.c (HAS_HOLES): Set to 1. + * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style + function definition to avoid a compilation failure. -2000-07-30 Bruno Haible +1999-09-15 Andreas Jaeger - * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4. - (from_ucs4): Change values of U+00A4 and U+00ED. - (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020. + * stdlib/tst-environ.c (main): Add getenv regression test for + environment variable that's one character long. -2000-07-30 Bruno Haible +1999-09-15 Andreas Jaeger - * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed. - (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time + signal definitions to let glibc compile with older Linux versions + (2.0.10 to 2.1.100 or so). -2000-07-30 Bruno Haible +1999-09-18 Roland McGrath - * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342. - * iconvdata/isiri-3342.h: New file. - * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't - treat 0x80 as a gap. + * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN, + return zero to indicate no children died yet (assuming WNOHANG). -2000-07-30 Bruno Haible + * sysdeps/mach/hurd/setsid.c: #include . - * string/strxfrm.c (encoding_mask, encoding_byte): Remove. - (utf8_encode): Use simple shifts instead. Fix return value. +1999-09-17 Roland McGrath -2000-07-31 Ulrich Drepper + * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port. - * timezone/private.h: Update from tzcode2000e. - * timezone/asia: Update from tzdata2000e. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/zone-tab: Likewise. + * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t. + Return _hurd_pgrp instead of 0. -2000-07-30 Ralf Baechle +1999-09-19 Roland McGrath - * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS - the order of struct sigaltstack members is different. + * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate + pages rather than just reprotecting them. This way we don't hold on + to the backing space. -2000-07-26 Philip Blundell + * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit. + Use __munmap instead of __vm_deallocate. - * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file. +1999-09-18 Ulrich Drepper -2000-07-29 Ulrich Drepper + * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct + returned errno value in some cases. - * locale/langinfo.h: Add entries for extra tables in CTYPE data. - * locale/programs/ld-ctype.c: Adjust for this. +1999-09-17 Andreas Jaeger - * locale/programs/ld-collate.c: Add more alignment checks. - * locale/string/strcoll.c: Likewise. + * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386 + to override user settings. -2000-07-30 Mark Kettenis +1999-09-17 Andreas Schwab - * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h - outside USE_IN_LIBIO block. + * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of + using a pointer to it. -2000-07-26 Philip Blundell +1999-09-16 Ulrich Drepper - * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function. - (elf_machine_rel): Use it for out-of-range PC24 relocs. + * time/getdate.c (__getdate_r): Pass correct year to check_mday. + Reported by Vern Staats . -2000-07-28 Philip Blundell +1999-09-14 Ulrich Drepper - * math/test-fpucw.c: Ignore reserved bits in control word. + * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer. -2000-07-28 Philip Blundell + * elf/elf.h (PF_MASKOS): New definition. + (EM_VAX): New definition. - * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro. - (ret): Redefine to PSEUDO_RET. - (PSEUDO): Remove jump to syscall_error. +1999-08-09 Scott Bambrough -2000-07-29 Mark Kettenis + * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members + 'unsigned char ftype[8]', and 'unsigned int init_flag' to + struct user_fp. These were added in version 2.2.12 of the + ARM Linux kernel. + * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file. + * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file. + The generic procfs.h included . This causes + structure redefinition errors when and + are included in the same source file. Found when building GDB. - * resolv/README: Add some information about using the resolver in - multi-threaded code and with C++. Spelling fixes. +1999-09-13 Ulrich Drepper -2000-07-29 Mark Kettenis + * locale/langinfo.h: Remove byte-order dependent names. + * locale/categories.def: Update after removal of byte-order dependent + names. + * locale/loadlocale.c (_nl_load_locale): Don't allow locale files + with magic number in other byte order. + * locale/newlocale.c (__newlocale): Remove byte-order dependent code. + * locale/C-collate.c: Remove initializers for other byte-order. + * locale/C-ctype.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-paper.c: Likewise. + * locale/C-time.c: Likewise. + * locale/lc-collate.c: Remove byte-order oriented initialization. + * locale/lc-ctype.c: Likewise. + * locale/lc-monetary.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/programs/ld-address.c: Don't generate output in both + byte-orders. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * time/strftime.c (NLW): Don't use different byte-orders. + * wctype/cname-lookup.h (cname_lookup): Likewise. + + * Makeconfig (localedir): Define using libdir, not datadir. + (msgcatdir): New variable. + * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir. + * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using + msgcatdir. + * intl/Makefile (install-others): Install locale.alias in msgcatdir. + (CPPFLAGS): Define paths using msgcatdir. + * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir. + * po/Makefile (mo-installed): Define using msgcatdir. + + * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo. + +1999-09-12 Ulrich Drepper + + * stdio-common/vfprintf.c: Remove limitation on size of precision + for integers. + + * posix/fnmatch.c (internal_fnmatch): Make it compilable outside + glibc by defining internal_function if it isn't already. + + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search + fails don't rely on errno value. + (getanswer_r): Set *ERRNOP in error cases. + + * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype. + (gaih_inet_serv): Return EIA_NODATA if name is known but has no + associated data. Test for matching numeric address and family. + (getaddrinfo): Remember EAI_NODATA result and return this in case + everything fails. + Reported by Arkadiusz Miskiewicz . + + * locale/programs/ld-address.c: Fix handling of non-existing + definitions for this category. Correctly ignore content of this + category is this is necessary. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile.h (handle_copy): Take extra parameter + with result pointer. Fill in name of locale from which to copy. + Correctly read token after `END'. - * resolv/resolv.h (struct __sockaddr_in): Remove. - (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in. + * locale/programs/localedef.c (main): Correct handling copy. + (add_to_readlist): Take extra parameter which says whether we + are supposed to read the file or not. + (find_locale): Call add_to_readlist with extra parameter set to 0. -2000-07-29 Greg McGary + * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST + instead of wrong number in array definitions. + (add_to_readlist): Update prototype. - * Rules (test-bp-inputs, make-test-out): New variables. - ($(objpfx)%-bp.out): New rule. - ($(objpfx)%.out): Rewrite in terms of new variables. + * locale/programs/locfile.c (locfile_read): Mark categories not + available in source file as read. + (write_all_categories): Fix typo. - * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to - internal function that uses vtable. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * libio/vswprintf.c (_IO_vswprintf): Likewise. + * locale/programs/locales.h: Removed. - * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset. - (malloc_extend_top): Convert brk to chunk using chunk_at_offset. - (chunk_align): Likewise. +1999-09-10 Ulrich Drepper - * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression - in a way that conforms to decl, and avoids spurious bounds violation. + * elf/elf.h (SHF_MASKOS): Added. - * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded. - * sysdeps/generic/frame.h: Likewise. - * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds - around return value. - (__backtrace): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds - around return value. - (catch_segfault): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded. - (ADVANCE_STACK_FRAME): Wrap bounds around return value. - * sysdeps/powerpc/backtrace.c (struct layout): Make pointers - __unbounded. - (__backtrace): Qualify frame-pointer chain and return address - pointers as __unbounded. Wrap bounds around variable `current'. - - * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Add bounds checks. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-07-27 Andreas Jaeger - - * libio/Depend: New file, libio needs localedata for tests. - * posix/Depend: Likewise. - -2000-07-28 Ulrich Drepper - - * stdio-common/_i18n_itoa.c: Removed. - * stdio-common/_i18n_itoa.h: Removed. - * stdio-common/_i18n_itowa.c: Removed. - * stdio-common/_i18n_itowa.h: Removed. - * stdio-common/_i18n_number.h: New file. - * stdio-common/Depend: New file. - * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize. - * stdio-common/vfprintf.c: Rewrite buffer handling for integer - printing. Change printing of numbers with locale specific digits to - use new code in _i18n_number.h. - * stdio-common/Makefile (routines): Remove _i18n_itoa and - _i18n_itowa. + * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added. - * stdio-common/bug13.c: Improve messages. +1999-09-08 Andreas Jaeger - * locale/programs/ld-ctype.c (ctype_read): Improve error message. - (set_class_defaults): Always search also for Uxxxx names. - Detect insufficient number of outdigits. + * manual/install.texi (Configuring and compiling): Mention GCC 2.95. - * locale/Makefile (C-translit.h): Use mv not $(move-if-changed). +1999-09-08 Andreas Jaeger -2000-07-27 Bruno Haible + * configure.in: Fix make version test for make 3.77.95 and later + versions. + Based on a patch by Paul D. Smith . - * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in - _NL_CTYPE_MAP_NAMES. - * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values. - * wctype/wcfuncs.c (towlower, towupper): Use them. - * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctrans_l.c (__wctrans_l): Likewise. +1999-09-10 Ulrich Drepper -2000-07-27 Bruno Haible + * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values. - * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun. - Use the optimized version of this function outside glibc as well. + * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and + WINT_MAX values. -2000-07-27 Jakub Jelinek + * wctype/wctype.h: Remove incorrect towlower/towupper optimizations. - * locale/indigits.h (indigit_value): Correct. - * locale/indigitswc.h (indigitwc_value): Correct. - * stdio-common/vfscanf.c (__vfscanf): Fix I18N number - conversion, add GROUP checking for it, fix GROUP number - conversion with strlen(thousands) > 1. - Honour width correctly in the presence of floating - decimal points and thousands separators. - * stdio-common/tst-sscanf.c: New test. - * stdio-common/Makefile: Add it to tests. - * sysdeps/generic/strtol.c (strtol): Fix conversion if there are - thousands separators and group argument is non-zero. +1999-09-09 Andreas Schwab -2000-07-25 Bruno Haible + * elf/link.h: Fix comment. - * locale/Versions: Enumerate __*_l functions individually. __wctrans_l - starts at GLIBC_2.2. +1999-09-10 Ulrich Drepper -2000-07-12 Maciej W. Rozycki + * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294]. - * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h. - * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add - _test_and_set. - (headers): Add sys/tas.h. - * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for - GLIBC_2.2 from libc. - * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file. - * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for - _test_and_set. + * math/math.h: Pretty print. -2000-07-28 Andreas Jaeger +1999-09-10 Andreas Schwab - * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4. + * sysdeps/generic/getenv.c (getenv): Fix lookup for single + character variable on bigendian platforms without unaligned memory + access. - * dlfcn/Makefile ($(objpfx)tst-dladdr): New. - ($(objpfx)tst-dladdr.out): new. - (tests): Add tst-dladdr. - ($(objpfx)glrefmain): Use libdl. +1999-09-07 Cristian Gafton - * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh - . + * sysdeps/unix/sysv/linux/sys/raw.h: New file + * sysdeps/unix/sysv/linux/Dist: Add raw.h. + * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h. -2000-07-27 Jes Sorensen +1999-09-06 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and - ftruncate(64) calls. + * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h. -2000-07-27 Jes Sorensen + * time/ap.c: Removed. It was not used. + * time/date.c: Likewise. + * sysdeps/unix/nlist.c: Likewise. + * sysdeps/generic/nlist.c: Likewise. + * sysdeps/generic/varargs.h: Likewise. + * stdio-common/scanf11.c: Likewise. + * stdio-common/scanf6.c: Likewise. + * scripts/=__ify: Likewise. + * scripts/printsources: Likewise. + * resolv/getnetnamadr.c: Likewise. + * posix/id.c: Likewise. + * misc/ioctltst.c: Likewise. + * misc/nlist.h: Likewise. + * math/test-math.h: Likewise. + * include/nlist.h: Likewise. - * intl/tst-translit.c: Include string.h to get prototype for - strcmp(). +1999-09-06 Andreas Schwab -2000-07-27 Jes Sorensen + * time/tzset.c (compute_change): Replace slow loop to compute T by + simple algorithm. - * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong - name and add weak alias for __fork. +1999-09-06 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread - & pwrite to use __libc_ as strong names instead of - __syscall_. + * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write + escape sequences out even if the character itself does not fit + into the buffer. - * include/sched.h: Add clone2 prototype. + * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C. -2000-07-26 Jes Sorensen +1999-08-31 H.J. Lu - * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the - procedure name twice. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count. -2000-07-27 Philip Blundell +1999-09-05 Roland McGrath - * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04. + * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default + it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER. + (_hurd_priority_which_map): -2000-07-27 Andreas Jaeger +1999-09-04 Ulrich Drepper - * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO - MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used). - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - Reported by Andi Kleen . + * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization. - * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64. - (do_wait): Test requests with aio_return64. - (do_test): Change callers of do_wait. +1999-09-03 Andreas Schwab -2000-07-26 Andreas Jaeger + * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for + fork from __syscall_fork to __libc_fork. + * posix/Versions: Add __libc_fork and __vfork to version + GLIBC_2.1.2. - * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel. - (do_wait): Test requests with aio_return. - (do_test): Change callers of do_wait. +1999-08-30 Andreas Jaeger -2000-07-27 Ulrich Drepper + * io/ftwtest-sh: Set LC_ALL and LANG to fix locale + dependencies in sort. - * rt/aio_misc.c (__aio_remove_request): New function. Handle removing - from request list. Don't do the list handling here, call - __aio_remove_request. - * rt/aio_misc.h: Add prototype for __aio_remove_request. - * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the - request might already be processed. Don't do the list handling - here, call __aio_remove_request. +1999-09-01 H.J. Lu - * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and - LIO_DSYNC. + * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file. - * rt/aio_misc.c: Add comment explaining why writer memory barriers - are missing. + * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include + instead of . -2000-07-27 Greg McGary +1999-09-02 Ulrich Drepper - * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. - * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error - in union init. Pass zero for ignored semnum arg to semctl. - * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo. + * elf/elf.h: Update PARISC-specific flags and symbolic names. -2000-07-26 Greg McGary +1999-09-01 Ulrich Drepper - * sysdeps/gnu/bits/msq.h: Qualify kernel's - data structure pointers as __unbounded. - * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. - * sysdeps/generic/bp-semctl.h: New file. - * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure - pointers as __unbounded. Check bounds of syscall args. - * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. - * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/semop.c: Likewise. - * sysdeps/unix/sysv/linux/shmat.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmdt.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise. + * elf/elf.h: Update PARISC relocations. -2000-07-26 Ulrich Drepper +1999-08-31 Scott Bambrough - * libio/iofwide.c: Enable transliteration for conversion from wchar_t - by default. - * locale/C-ctype.c: Likewise. - * wcsmbs/wcsmbsload.c: Likewise. + * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an + #ifdef statement to prevent it from being included twice. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: + #include . -2000-07-26 Greg McGary - - * Makeconfig (+link-bounded, link-libc-bounded, - link-extra-libs-bounded): New variables. - (built-program-cmd): Omit $(run-program-prefix) for static BP tests. - * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files. - * Rules (tests-bp.out): New variable. - (tests): Conditionally add BP tests. - (binaries-bounded): Add variable and associated rule. - * csu/Makefile [build-bounded] (extra-objs, install-lib): - Move conditional stuff after place where condition is defined. - - * malloc/malloc.c (bp-checks.h): Add #include. - (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression. - (_bin_at): Add unbounded version of bin_at. - (IAV, chunk_alloc): Use unbounded _bin_at. - (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc, - chunk2mem_check, realloc_check, malloc_starter, malloc_atfork): - Wrap BOUNDED_N around return value. - (chunk_realloc): Adjust oldsize once. - - * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl. - (__ubp_memchr): Add correct decl. - (_CHECK_STRING): Use __ubp_memchr. - * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr): - New alias for unbounded-pointer __memchr. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/ia64/memchr.S: Likewise. - * sysdeps/m68k/memchr.S: Likewise. - * sysdeps/sparc/sparc32/memchr.S: Likewise. - * sysdeps/sparc/sparc64/memchr.S: Likewise. - * sysdeps/vax/memchr.s: Likewise. +1999-08-31 Andreas Schwab - * sysdeps/i386/strtok.S: Fix bounds checks to pass tests. - (SAVE_PTR): New macro. (save_ptr): Expand size as BP. - (strtok): Don't bother to write into SAVE_PTR when returning NULL. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER, - RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register. + * locale/C-collate.c: Add missing initialisations. + * locale/C-ctype.c: Likewise. - * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines. - * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise. +1999-08-31 Ulrich Drepper - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy - bounds of copy_result to mount_proc. + * time/strftime.c (my_strftime): Remove unneeded variable len. -2000-07-25 Bruno Haible + * time/strptime.c: Undo last change. - * wctype/wctype.h (__wctrans_l): New declaration. - * wctype/wctrans_l.c: New file. - * wctype/Makefile (routines): Add wctrans_l. +1999-08-30 Ulrich Drepper -2000-07-26 Ulrich Drepper + * locale/Makefile (distribute): Add iso-639.def and iso-3166.def. + Change charset.h to charmap.h. + (categories): Add new categories. Leave out collate for now. + Update build rules. + * locale/categories.def: Add definitions for new categories. + * locale/langinfo.h: Likewise. + * locale/locale.h: Likewise. + * locale/C-address.c: New file. + * locale/C-identification.c: New file. + * locale/C-measurement.c: New file. + * locale/C-name.c: New file. + * locale/C-paper.c: New file. + * locale/C-telephone.c: New file. + * locale/lc-address.c: Likewise. + * locale/lc-identification.c: Likewise. + * locale/lc-measurement.c: Likewise. + * locale/lc-name.c: Likewise. + * locale/lc-paper.c: Likewise. + * locale/lc-telephone.c: Likewise. + * locale/C-ctype.c: Update for locale rewrite. + * locale/C-messages.c: Likewise. + * locale/C-monetary.c: Likewise. + * locale/C-time.c: Likewise. + * locale/lc-collate.c: Likewise. + * locale/lc-ctype.c: Likewise. + * locale/lc-monetary.c: Likewise. + * locale/lc-time.c: Likewise. + * locale/localeinfo.h: Likewise. + * locale/newlocale.c: Likewise. + * locale/setlocale.c: Likewise. + * locale/weight.h: Likewise. + * locale/findlocale.c: Unconditionally use mmap. + Handle new categories. + * locale/loadlocale.c: Likewise. + * locale/iso-3166.def: New file. + * locale/iso-639.def: New file. + * locale/programs/charmap-kw.gperf: Add new keywords. + * locale/programs/locfile-kw.gperf: Likewise. + * locale/programs/locfile-token.h: Define new tokens. + * locale/programs/charmap.c: Rewrite to handle multibyte charsets. + * locale/programs/charmap.h: New file. + * locale/programs/charset.h: Removed. + * locale/programs/config.h: Add __LC_LAST. + * locale/programs/lc-address.c: New file. + * locale/programs/lc-identification.c: New file. + * locale/programs/lc-measurement.c: New file. + * locale/programs/lc-name.c: New file. + * locale/programs/lc-paper.c: New file. + * locale/programs/lc-telephone.c: New file. + * locale/programs/lc-collate.c: Update for locale rewrite. + * locale/programs/lc-ctype.c: Likewise. + * locale/programs/lc-messages.c: Likewise. + * locale/programs/lc-monetary.c: Likewise. + * locale/programs/lc-numeric.c: Likewise. + * locale/programs/lc-time.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/localedef.c: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/repertoire.h: Likewise. + * locale/programs/locfile.c: Update prototypes. + Update handle_copy definition. + * locale/programs/linereader.c: Add handling of wide char strings and + new definition file syntax. + * locale/programs/linereader.h (struct token): Add elements for wide + character strings. + * locale/programs/locale-spec.c: Disable handling of collation + elements for now. + * locale/programs/simple-hash.h: Cleanup. + * locale/programs/stringtrans.h: Handle quite of end of line. + * string/strcoll.c: Fall back on strcmp for now. + * string/strxfrm.c: Fall back on strncpy/strlen for now. + * time/strftime.c: Use new wide character data for wcsftime. + * time/strptime.c: Remove _nl_C_LC_TIME declaration. + * wctype/cname-lookup.h: Update for new LC_CTYPE data. - * posix/fnmatch_loop.c: Fixes for use outside glibc. - Patch by MacGyver . + * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force + compiling for i386 to avoid i686-like GOT pointer computation. -2000-07-26 Andreas Jaeger + * db2/db_int.h: Change tsl_t type to u_int32_t. + * db2/mutex/mutex.c: Allow Alpha mutex definitions. + * db2/mutex/alpha.h: New file. + * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code. + * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks + known. + Patches by Richard Henderson. - * rt/tst-aio4.c: New file, slightly modified version of tst-aio2. - * rt/tst-aio5.c: New file, slightly modified version of tst-aio2. - * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5. + * stdlib/tst-environ.c: Add cast to avoid warning. + * timezone/test-tz.c: Use setenv instead of putenv. - * rt/tst-aio.c (test_file): Fix typo. - * rt/tst-aio64.c (test_file): Likewise. +1999-08-28 Andreas Jaeger - * rt/tst-aio3.c: New file, slightly modified version of tst-aio2. - * rt/Makefile: Add rules to build and run tst-aio3. + * manual/libc.texinfo: Update version and date. - * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since - it's not needed and confuses only. + * manual/locale.texi (Formatting Numbers): Fix @node pointers. -2000-07-26 Ulrich Drepper + * manual/filesys.texi (Working with Directory Trees): Add missing @code. + (File System Interface): Correct entry. + (Permission Bits): Add missing commata after @xref. - * resolv/res_init.c: Add support for nameserver communication with - IPv6. - * resolv/res_send.c: Likewise. - * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4 - in nsaddrs field. - Patch by . +1999-08-29 Andreas Jaeger -2000-07-25 Bruno Haible + * timezone/tst-timezone.c (main): Don't pass const strings to + putenv to avoid warnings. - * locale/programs/ld-ctype.c (wctype_table_get): New function. - (wcwidth_table_get): New function. - (wcwidth_table_add): Call it. - (wctrans_table_get): New function. - (wctrans_table_add): Call it. + * posix/regexbug1.c: Include for puts prototype. -2000-07-25 Ulrich Drepper +1999-08-29 Thorsten Kukuk - * rt/lio_listio.c (lio_listio): Always disable individual - notification. - * rt/Makefile: Add rules to build and run tst-aio2. - * rt/tst-aio2.c: New file. + * nis/Versions: Add _nss_*_getipnodebyname_r. + * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r. + * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r. + * nss/Versions: Add _nss_files_getipnodebyname_r. - * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly. - Reported by Kevin Beard . +1999-08-28 H.J. Lu -2000-07-25 Mark Kettenis + * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed + memory for buffer. - * nss/nss_files/files-netgrp.c (strip_whitespace): New function. - (_nss_netgroup_parseline): Use strip_whitespace to strip off any - leading and trailing spaces from host, user and domain name. +1999-08-27 Ulrich Drepper -2000-07-25 Jes Sorensen + * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15 + kernel. + * inet/netinet/in.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. + * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * csu/defs.awk: Add support for need_endp. +1999-08-28 Ulrich Drepper -2000-07-25 Mark Kettenis + * malloc/malloc.c (ptmalloc_init): Don't use variables to set + thresholds for SUID binaries. [PR libc/1277] - * resolv/resolv.h: Remove __P from res_send_qhook and - res_send_rhook typedefs. + * posix/regexbug1.c: Add one more similar case. -2000-07-25 Bruno Haible +1999-08-28 Andreas Jaeger - * intl/tst-translit.c (main): Unset OUTPUT_CHARSET. + * manual/install.texi (Running make install): Give examples for + timezone and locale installation. -2000-07-25 Ulrich Drepper +1999-08-28 Zack Weinberg - * iconv/gconv_builtin.h: Add WCHAR_T alias. + * glibcbug.in: Get CCVERSION from autoconf substitution. + * configure.in: Calculate and substitute CCVERSION. -2000-07-25 Mark Kettenis +1999-08-28 Andreas Jaeger - * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the - calling thread, set the cancellation flag and return success - instead of EINTR. + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags, + partially reverting a patch from 1998-12-29. We just can't change + the flags, kernels with different flags lead to + incompatibilities. -2000-07-25 Ulrich Drepper +1999-08-26 Andreas Schwab - * libio/Makefile: Add rules build, run, and distribute tst-widetext.c. - * libio/tst-widetext.c: New file. - * libio/tst-widetext.input: New file. + * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU. - * libio/iogetwline.c (_IO_getwline_info): Pretty print. +1999-08-27 Ulrich Drepper - * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely - empty external buffer correctly. + * inet/rexec.c (rexec): Free memory if strings were allocated in + ruserpass. Reported by Andrew Morton . -2000-07-25 Maciej W. Rozycki +1999-08-27 Ulrich Drepper - * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using - __STRING(entry) and not #entry. - (_RTLD_EPILOGUE): Likewise. - * sysdeps/mips/mips64/dl-machine.h: Likewise. + * locale/categories.def: Use __YESSTR amd __NOSTR in definition. -2000-07-25 Andreas Jaeger + * manual/argp.texi: Fixing language and typos. + * manual/conf.texi: Likewise. + * manual/contrib.texi: Likewise. + * manual/ctype.texi: Likewise. + * manual/filesys.texi: Likewise. + * manual/install.texi: Likewise. + * manual/job.texi: Likewise. + * manual/lang.texi: Likewise. + * manual/llio.texi: Likewise. + * manual/locale.texi: Likewise. + * manual/math.texi: Likewise. + * manual/nss.texi: Likewise. + * manual/pipe.texi: Likewise. + * manual/signal.texi: Likewise. + * manual/socket.texi: Likewise. + * manual/stdio.texi: Likewise. + * manual/sysinfo.texi: Likewise. + * manual/users.texi: Likewise. + Patches by Neil Booth . - * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter - according to changes in test program, run also with static only - builds. - ($(objpfx)tst-printf.out): Likewise. - - * stdio-common/tst-unbputc.sh: Likewise. - * stdio-common/tst-printf.sh: Likewise. - -2000-07-25 Ulrich Drepper - - * libio/wfileops.c (_IO_wdo_write): Correct return value. - - * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the - loop. - - * libio/fileops.c: Pretty print. - -2000-07-23 Bruno Haible - - * wctype/wchar-lookup.h: New file. - * wctype/iswctype.c: Include "wchar-lookup.h". - (__iswctype): Support alternate locale format with 3-level tables. - * wctype/iswctype_l.c (__iswctype_l): Likewise. - * wctype/towctrans.c (__towctrans): Likewise. - * wctype/towctrans_l.c (__towctrans_l): Likewise. - * wctype/wcfuncs.c: Include "wchar-lookup.h". - (__ctype32_wctype, __ctype32_wctrans): Declare external. - (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower, - __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper, - __iswxdigit, towlower, towupper): Support alternate locale format - with 3-level tables. - * wctype/wcextra.c (iswblank): Likewise. - * wctype/wcfuncs_l.c: Include "wchar-lookup.h". - (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l, - __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l, - __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale - format with 3-level tables. - * wctype/wcextra_l.c (__iswblank_l): Likewise. - * wctype/wctype.c (__wctype): Likewise. In the alternate locale - format, return a 3-level table pointer. - * wctype/wctype_l.c (__wctype_l): Likewise. - * wctype/wctrans.c (wctrans): Likewise. - * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit, - __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank, - __ISwcntrl, __ISwpunct, __ISwalnum): New enum values. - (iswctype): Remove macro definition. - * wcsmbs/wcwidth.h: Include "wchar-lookup.h". - (internal_wcwidth): Support alternate locale format with 3-level - tables. - * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): - New nl_items. - * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET): - Define them as being type "word". - * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them. - * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans, - __ctype32_width): New exported variables. - * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the - alternate locale format. Don't initialize __ctype_names and - __ctype_width in the alternate locale format. - * locale/programs/localedef.h (oldstyle_tables): New declaration. - * locale/programs/localedef.c (oldstyle_tables): New variable. - (OPT_OLDSTYLE): New macro. - (options): Add --old-style option. - (parse_opt): Handle --old-style option. - * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset, - map_offset, class_3level, map_3level, width_3level members. - (ctype_output): Support for alternate locale format: Computation of - nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and - _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty. - New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field - _NL_CTYPE_WIDTH now contains the three-level table. Extra elems - now contain both class and map tables. - (struct wctype_table): New type. - (wctype_table_init, wctype_table_add, wctype_table_finalize): New - functions. - (struct wcwidth_table): New type. - (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New - functions. - (struct wctrans_table): New type. - (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New - functions. - (allocate_arrays): Support for alternate locale format: Set - plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first - 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx] - to the first 256 characters. Compute ctype->map_3level. Set - ctype->class_offset and ctype->map_offset. Compute ctype->width_3level - instead of ctype->width. +1999-08-25 Ulrich Drepper -2000-07-24 Ulrich Drepper + * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as + unsigned to avoid warning. [PR libc/1271]. - * libio/iogetwline.c (_IO_getwline_info): Use wide character - string functions. + * conform/conformtest.pl: Allow testing regex.h which requires + sys/types.h being included. -2000-07-24 Jakub Jelinek + * conform/data/regex.h-data: Allow *_t types. + * conform/data/pwd.h-data: Likewise. + * conform/data/sched.h-data: Likewise. + * conform/data/pthread.h-data: Likewise. + * conform/data/search.h-data: Likewise. - * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size - in wide characters, not bytes. - * libio/tst_putwc.c (do_test): Add test for writing lots of data - into file. + * misc/search.h: Avoid namespace pollution. -2000-07-22 Bruno Haible + * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h, + pwd.h, and pthread.h. + * conform/data/pthread.h-data: New file. + * conform/data/pwd.h-data: New file. + * conform/data/regex.h-data: New file. + * conform/data/sched.h-data: New file. + * conform/data/search.h-data: New file. - * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the - new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, - LC_MEASUREMENT, LC_IDENTIFICATION. + * NAMESPACE: Add REG_ for regex.h. - * locale/xlocale.h (struct __locale_struct): Increase size of - __locales array. - * locale/duplocale.c (__duplocale): Copy newly added categories as - well. - * locale/freelocale.c (__freelocale): Free newly added categories. - * locale/newlocale.c (__newlocale): Fix typo in sanity check. - If a base is given, use it, don't simply return it. + * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since + they are removed. -2000-07-22 Bruno Haible + * configure.in (libc_cv_asm_global_directive): Indent .text in + test code so that the lame HPUX compiler recognizes it. + * sysdeps/hppa/bits/endian.h: New file. + * sysdeps/unix/sysv/hpux/bits/errno.h: New file. + * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file. + * sysdeps/unix/sysv/hpux/bits/stat.h: New file. + * sysdeps/unix/sysv/hpux/bits/types.h: New file. - * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer - variables, copied_key and copied_salt, instead of boolean variables. + * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file. + Patch by John Tobey . -2000-07-24 Andreas Jaeger + * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file. - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix - check for offset. + * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move + old_siocfifconf definition to toplevel. + (__protocol_available): Remove old_siocfifconf definition. - * grp/initgroups.c (initgroups_dyn_function): Renamed from - initgroups_function, adopted prototype for change from 2000-07-23. - (initgroups): Follow type change. +1999-08-25 Mark Kettenis - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset - & PAGE_MASK case, reformat. + * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're + really dealing with a master pseudo terminal, and really returning + the name of the associated slave pseudo terminal by checking the + device number. + * sysdeps/unix/sysv/linux/pty-private.h: Removed. + * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p. - * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input - from stdin and setup environment. +1999-08-25 Andreas Jaeger -2000-07-24 Andreas Schwab + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing + underscore in _llseek entry. - * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve + entry. -2000-07-23 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment. + * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise. - * string/endian.h: Explain the _*_ENDIAN constant values a bit - more. Patch by scarlet@mit.edu [PR libc/1799]. + * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency. + Patch by Ralf Baechle . - * io/ftwtest-sh: Add -f parameter to chmod if -R is also given. - [PR libc/1792]. +1999-08-25 Ulrich Drepper + + * inet/Makefile (routines): Add getipnodebynm. + * inet/getipnodebynm.c: New file. + * nss/digits_dots.c: If HAVE_TYPE is define type contains the + interface type. + * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and + EXTRA_ARGS_VALUE is not already done. + (internal_getent): Allow extra parameters and pass them to parse_line. + (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent. + (_nss_files_get##name##_r): Likewise. + * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, + and EXTRA_ARGS_VALUE to pass flags and type to parser. + Add getipnodebyname function. + * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and + EXTRA_ARGS_VALUE is not already done. + (parse_line): Add EXTRA_ARGS_DECL to parameter list. + * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them + to parse_line. + (_nss_db_get##name##_r): Pass extra parameters to lookup. + (_nss_db_get,ENTNAME_r): Likewise. + * sysdeps/generic/if_index.c (__protocol_available): New function. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + +1999-08-24 Ulrich Drepper + + * login/pty-private.h: Move to... + * sysdeps/generic/pty-private.h: ...here. + * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific + version. + * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is + available. - * argp/argp-parse.c (parser_finalize): Reverse order in which - parsers are run for ARGP_KEY_END. [PR libc/1755]. + * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead + of __overflow. - * grp/initgroups.c (initgroups): Don't limit the possible number - of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around - the setgroups call while the call fails and descrease the number - of groups each round. - The name of the initgroups function in the NSS modules changed. - (compat_call): Adapt for dynamic resizing. - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn): - Implement dynamic resizing. - * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn): - Likewise. - * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise. - * hesiod/Versions: Change exported interface name. - * nis/Versions: Change exported interface name. + * conform/conformtest.pl (@headers): Add monetary.h-data, + mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data. + * conform/data/monetary.h-data: New file. + * conform/data/mqueue.h-data: New file. + * conform/data/ndbm.h-data: New file. + * conform/data/nl_types.h.h-data: New file. + * conform/data/poll.h-data: New file. -2000-07-23 Ulrich Drepper + * stdio-common/Makefile (test): Add tst-cookie. + * stdio-common/tst-cookie.c: New file. - * locale/iso-639.def: Some errors corrected. - Patch by Keld Simonsen. + * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value + changed in last patch. Reported by Ralf Baechle. - * include/limits.h: Update non-gcc portion. - Patch by Joseph S. Myers . +1999-08-24 Andreas Jaeger -2000-07-22 Mark Kettenis + * sysdeps/unix/mips/sysdep.h: Use __syscall_error. - * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the - program's data space, reallocate only the space that was just - deallocated to release its backing space. + * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here. + Patches by Ralf Baechle -2000-07-23 Ulrich Drepper +1999-08-24 Andreas Jaeger - * stdio-common/vfprintf.c (process_string_arg): For wide character - version, handle precision also correctly. + * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from + Linux 2.3.15. - * nss/nss_files/files-hosts.c: Correct problem with three or more - entries with the same name. +1999-08-24 Ulrich Drepper - * nss/nss_files/files-hosts.c: Implement multi handling. - * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc. + * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve + syscall. + * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. -2000-07-22 Ulrich Drepper + * misc/libgen.h: Don't take basename macro as taking arguments. - * nss/nss_files/files-parse.c: Don't pollute namespace by using - strcasecmp. + * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants + for gcc >= 2.95. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/i386/bits/huge_val.h: Likewise. + * sysdeps/ieee754/bits/huge_val.h: Likewise. + * sysdeps/m68k/bits/huge_val.h: Likewise. + * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise. + * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise. + + * conform/Makefile: New file. + * conform/conformtest.pl: New file. + * conform/data/aio.h-data: New file. + * conform/data/assert.h-data: New file. + * conform/data/cpio.h-data: New file. + * conform/data/ctype.h-data: New file. + * conform/data/dirent.h-data: New file. + * conform/data/dlfcn.h-data: New file. + * conform/data/errno.h-data: New file. + * conform/data/fcntl.h-data: New file. + * conform/data/float.h-data: New file. + * conform/data/fmtmsg.h-data: New file. + * conform/data/fnmatch.h-data: New file. + * conform/data/ftw.h-data: New file. + * conform/data/glob.h-data: New file. + * conform/data/grp.h-data: New file. + * conform/data/iconv.h-data: New file. + * conform/data/inttypes.h-data: New file. + * conform/data/iso646.h-data: New file. + * conform/data/langinfo.h-data: New file. + * conform/data/libgen.h-data: New file. + * conform/data/locale.h-data: New file. + * conform/data/math.h-data: New file. + +1999-08-23 Ulrich Drepper + + * posix/execvp.c (execvp): Correct copying of file name. + +1999-08-23 Mark Kettenis + + * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else. + +1999-08-23 Ulrich Drepper + + * stdio-common/Makefile: Move addition to routines to the right place. + +1999-08-23 Andreas Jaeger + + * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary + since mips*-linux has ECANCELED. + +1999-08-23 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define + SIGCONTEXT_EXTRA_ARGS. + * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. + * sysdeps/generic/sigcontextinfo.h: Likewise. + * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. - * grp/Makefile: Change Makefiles and tests to run only when necessary. - * malloc/Makefile: Likewise. - * malloc/tst-mtrace.sh: Likewise. - * posix/Makefile: Likewise. - * posix/globtest.sh: Likewise. - * posix/wordexp-tst.sh: Likewise. - * string/Makefile: Likewise. +1999-08-23 Ulrich Drepper -2000-07-22 Mark Kettenis + * posix/regexbug1.c: Make it an error if the test fails. - * locale/findlocale.c (locale_file_list): Use __LC_LAST as array - size instead of LC_ALL to take into account the new locale - categories. +1999-08-23 Andreas Schwab -2000-07-22 Ulrich Drepper + * posix/regex.c (re_match_2_internal): Correct check for charset + after exactn in loop. - * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove - remainders of hash table. - * locale/categories.def: Remove remainders of transliteration - hash table. - * locale/langinfo.h: Likewise. - * locale/programs/ld-ctype.c: Likewise. Fix code to write out - transliteration tables. - - * locale/gen-translit.pl: New file. - * locale/C-translit.h.in: New file. - * locale/C-ctype.c: Include C-translit.h. Initialize transliteration - data pointers with data from this file. - * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h, - and gen-translit.pl. - Add rule to generate C-translit.h. - * intl/tst-translit.c (main): Update for now performed - transliteration. - - * stdio-common/vfscanf.c: Handle input -- with format %f correctly - (it's no input error). - * stdio-common/tstscanf.c: Add test case for format %f with input --. - * stdio-common/scanf12.c: Correct expected result for first scanf. - - * stdio-common/vfprintf.c (process_string_arg): Correct handling - of multibyte character strings in %s format with precision. - -2000-07-21 Ulrich Drepper - - * locale/programs/ld-collate.c (collate_read): Allow collating - symbols and elements be named in reorder-after instructions. - Reported by Yoshito Kawada . +1999-08-22 Ulrich Drepper - * locale/programs/ld-collate.c (handle_ellipsis): Test for - duplication with generated name, not the name of the first - character. - Patch by Yong Li . + * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. + Patch by Joel Klecker. + + * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition. + (__gconv_find_transform): Update prototype. + (__gconv_open): Likewise. + * iconv/gconv_open.c: Take extra parameter and pass it to + __gconv_find_transform. + * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with + flags. If GCONV_AVOID_NOCONV flag is set don't return copying + transformation. + * iconv/iconv_open.c: Pass extra parameter to __gconv_open. + * wcsmbs/wcsmbsload.c: Likewise. + * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of + iconv for glibc. + * intl/gettextP.h: Likewise. + * intl/loadmsgcat.c: Likewise. - * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification. - Patch by Franz Sirl . + * posix/regexbug1.c: New file. + * posix/Makefile (tests): Add regexbug1. + +1999-08-22 Mark Kettenis + + * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags. + * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when + installing PORT in the descriptor cell. + +1999-08-19 Roland McGrath + + * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and + TIMEOUT as outputs of the asm to indicate that the signal thread + might mutate them. + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain + mach_msg if only sending or only receiving (i.e., not an RPC). When + making an RPC that might get interrupted, save OPTION and the portion + of the message buffer that gets clobbered by an EINTR reply message, + and properly restore them before attempting to retry the request + message send. + +1999-08-21 Mark Kettenis + + * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary + definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_, + CHAR_T, UCHAR_T and WIN_T to make the code compile again when + stdio is used instead of libio. + * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary + definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC + to make the code compile again when stdio is used instead of + libio. + (vfprintf): Only check for correct orientation if ORIENT is + defined. + * stdio-common/Makefile (routines): Only add vfwprintf and + vfwscanf if we're using libio. -2000-07-21 Wolfram Gloger +1999-08-21 Mark Kettenis - * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller - allocations only if a non-main arena cannot be extended. + * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining + any additional prototype just as we do for libio. -2000-07-21 Ulrich Drepper +1999-08-21 Mark Kettenis - * elf/dl-load.c (_dl_map_object): Take loader==NULL into account - in DF_1_NODEFLIB handling. + * include/bits/xopen_lim.h: Do not define STREAM_MAX and + TZNAME_MAX. These limits are not X/Open specific. + * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX + is defined. -2000-07-21 Andreas Jaeger +1999-08-21 Mark Kettenis - * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its - own rule. + * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if + UIO_MAXIOV is left undefined in sys/uio.h. + * stdio-common/stdio_lim.h.in: Adapt for change above. - * libio/fwide.c: Include for prototype. +1999-08-21 Andreas Jaeger -2000-07-21 Greg McGary + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it. + * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL. + Patches by Ralf Baechle - * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset, - set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot): - Define in terms of chunk_at_offset. - (inuse, set_inuse, clear_inuse): Define in terms of next_chunk. - (next_bin, prev_bin): offset by size of real array elements. - (chunk_align): Make `m' a scalar, since that's how it's used. +1999-08-21 Ulrich Drepper -2000-07-21 Greg McGary + * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean. - * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from - UNCHECK_BOUNDS. - * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant. - * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): - Wrap bounds around argv & envp and each of their string members. - * sysdeps/powerpc/elf/start.S: Designate BP symbols. - * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point - symbol in BP_SYM (). Discard bounds of address arg. - * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): - Discard bounds on address arg, add bounds to return value. - -2000-07-20 Ulrich Drepper - - * elf/Makefile (tests): Add filter. Add rules to generate filter. - * elf/filter.c: New file. - * elf/filtmod1.c: New file. - * elf/filtmod2.c: New file. - - * elf/rtld.c: Define _dl_bind_not variable. - (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not. - * elf/dl-support.c: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not. - * elf/dl-runtime.c (fixup): Don't remember looked up value if - _dl_bind_not. - (profile_fixup): Likewise. +1999-08-20 Ulrich Drepper - * libio/Makefile (routines): Add fwide. - * libio/iofwide.c (_IO_fwide): Remove locking. This is done in - fwide now. Internal calls to _IO_fwide must do locking themselves - or don't need locking. - * libio/fwide.c: New file. - - * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB. - - * elf/Makefile: Add no modules for nodelete test. - * elf/nodelmod3.c: New file. - * elf/nodelmod4.c: New file. - * elf/nodelete.c: Also test case where dependency of dlopen() object - is marked nodelete. - - * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen. - * elf/nodlopen.c: New file. - * elf/nodlopenmod.c: New file. - * include/dlfcn.h: Define __RTLD_DLOPEN. - * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set - and this is a dlopen() call, do not load the binary. - * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open. - * dlfcn/dlopenold.c: Likewise. - * configure.in: Add test for -z nodelete option. - * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. - -2000-07-20 Mark Kettenis - - Make Hesiod NSS module thread-safe. - - * hesiod/README.hesiod: Update. - - * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r, - _nss_hesiod_setprotoent, _nss_hesiod_endprotoent, - _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r. - * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and - hesiod-proto. - * hesiod/nss_hesiod/hesiod-init.c: New file. - * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness. - * hesiod/nss_hesiod/hesiod-grp.c: Likewise. - * hesiod/nss_hesiod/nss_hesiod.h: New file. - * hesiod/nss_hesiod/hesiod-service.c - (_nss_hesiod_getservbyport_r): New function. Provide support for - looking up services by port number. - * hesiod/nss_hesiod/hesiod-proto.c: New file. - - * hesiod/hesiod.c: Update from BIND 8.2.3-T5B. - * hesiod/hesiod.h: Likewise. - * hesiod/hesiod_p.h: Likewise. - -2000-07-20 Mark Kettenis - - Fix problems with `struct __res_state' getting too big. - * resolv/resolv.h (struct __sockaddr_in): New definition. - (struct __res_state): Use __sockaddr_in instead of sockaddr_in in - the private parts of the structure to save some space. - * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to - (struct sockaddr_in *) in call to sock_eq. - Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns]. - -2000-07-20 Ulrich Drepper - - * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries. - * elf/dl-close.c (_dl_close): Don't close an object if it is marked - with nodelete. - * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter - to _dl_map_object. Return immediately if no object loaded. - Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed. - * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry - if it exists into l_flags_1 word. - * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use - it to determine whether loading is wanted or not. - (_dl_map_object): Likewise. - Call _dl_map_object_from_fd with new parameter. - * sysdeps/generic/ldsodefs.h: Update prototype. - * elf/dl-deps.c: Add new parameter to _dl_map_object calls. - * elf/rtld.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * elf/Makefile (tests): Add noload. Add rules to generate noload. - * elf/noload.c: New file. - * include/link.h (struct link_map): Add l_feature_1 and l_flags_1. - * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE. - * sysdeps/mips/bits/dlfcn.h: Likewise. - * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). - (tests-nodelete-yes): Define. - (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). - Add rules to build nodelete and modules. - * elf/nodelete.c: New file. - * elf/nodelmod1.c: New file. - * elf/nodelmod2.c: New file. - * configure.in: Add test for -z nodelete option. - * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. - - * libio/Makefile (tests): Add tst_wprintf2. - (tst_wprintf2-ARGS): Define. - * libio/tst_wprintf2.c: New file. - Based on a test case by Yoshito Kawada . - - * libio/wfiledoalloc.c: Only allocate external buffer if this - hasn't happened yet. - - * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really - something in the buffer. gconv call can write up to end of the - buffer, not only _IO_write_end. - (_IO_wfile_overflow): Allocate also external buffer. - -2000-07-19 Ulrich Drepper - - * stdio-common/vfprintf.c (process_string_arg): Handle multibyte - strings with precision in vfwprintf correctly. - * stdio-common/vfprintf.c: Fix completely broken handling of - unbuffered wide character streams. - Reported by Yoshito Kawada . + * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve. - * resolv/Makefile (distribute): Add README. + * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality + call. It should not be necessary andis harmful for Alpha. - * resolv/README: New file. By Mark Kettenis . + * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size + type. [PR libc/1269] -2000-07-18 Mark Kettenis + * posix/execvp.c (execvp): Allocate array name of correct size. + Optimize inner loop. Use execve directly, not execv. - Update resolver code to BIND 8.2.3-T5B. + * elf/elf.h: Corrected SHT_ values from new draft. - * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and - __res_nclose. - [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename, - __res_mkquery, __res_nsend, __res_query, __res_querydomain and - __res_search. - * resolv/Banner: BIND-8.2.3-T5B. + * intl/gettextP.h (struct loaded_domain): Add conv element. + * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public. + Instead of returning found message directly convert it using iconv + if a conversion was found when opening the file. + * intl/loadinfo.h: Protect against multiple inclusion. + Declare _nl_find_msg. + * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used + in the message file and if necessary find approrpiate + conversion to match currently selected charset. + * include/libintl.h: Declare __dgettext and __dcgettext. + * include/iconv.h: New file. - * resolv/base64.c: Update from BIND 8.2.3-T5B. - * resolv/herror.c: Likewise. - * resolv/inet_addr.c: Likewise. - * resolv/inet_net_ntop.c: Likewise. - * resolv/inet_net_pton.c: Likewise. - * resolv/inet_neta.c: Likewise. - * resolv/inet_ntop.c: Likewise. - * resolv/nsap_addr.c: Likewise. - * resolv/inet_pton.c: Likewise. Reject a few more more invalid - IPv6 addresses (ISC bug #520). +1999-08-20 Andreas Schwab - * resolv/ns_name.c: Avoid emitting RCS ID in object file. - * resolv/ns_parse.c: Likewise. - * resolv/ns_netint.c: Likewise. - * resolv/ns_samedomain.c: Likewise. - * resolv/ns_ttl.c: Likewise. - * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting - RCS ID in object file. + * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo. - * resolv/res_debug.c: Update from BIND 8.2.3-T5B. - * resolv/res_mkquery.c: Likewise. - * resolv/res_query.c: Likewise. - * resolv/res_init.c: Likewise. - (res_setoptions): Mark internal. - * resolv/res_send.c: Likewise. - [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit - by using poll instead. - * resolv/res_comp.c: Likewise. - [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a - weak alias for __dn_expand. - * resolv/res_data.c: Likewise. - (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set - in _res.options. Avoids a potential security risk by avoiding a - close (0). - [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make - res_mkquery, res_query, res_querydomain adn res_search weak - aliases for __res_mkquery, __res_query, __res_querydomain and - __res_search. - * resolv/res_libc.c: (_res): Don't initialize. Fix res_close - instead to avoid close(0). - (res_init): Always use the static resolver context. - [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak - alias for __res_init. - - * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of - RES_SET_H_ERRNO and accompanying comment to... - * include/resolv.h: ... here. - - * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B. - * resolv/arpa/nameser_compat.h: Likewise. +1999-08-19 Ulrich Drepper -2000-07-18 Ulrich Drepper + * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates + all threads [PR libc/1223]. - * nss/makedb.c (main): Compare result of load_db with - NSS_STATUS_SUCCESS and not 0. - Patch by Jan Rekorajski . + * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero. + [PR libc/1165]. - * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2. + * configure.in: Search for programs with prefix gnu* and g* first. + [PR libc/1104]. -2000-07-18 Greg McGary + * dirent/Makefile (routines): Add getdents64. + * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines): + Remove getdents64. + * dirent/dirent.h: Redirect getdirentries to getdirentries64 if + compiled with _FILE_OFFSET_BITS=64. + * sysdeps/generic/getdents64.c: New file. + * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and + __lseek for getdirentries64 definition. - * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro. - (EXTEND_BUFFER): Use it. + * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias. -2000-07-18 Ulrich Drepper + * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with + _FILE_OFFSET_BITS=64. - * include/libc-symbols.h: Define RETURN_ADDRESS macro. - * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of - __builtin_return_address. - * dlfcn/dlopenold.c: Likewise. - * dlfcn/dlsym.c: Likewise. - * dlfcn/dlvsym.c: Likewise. - * elf/dl-profstub.c: Likewise. - * malloc/malloc.c: Likewise. - * sysdeps/generic/machine-gmon.h: Likewise. - Based on a patch by schwidefsky@de.ibm.com. + * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second + parameter. -2000-07-18 Andreas Jaeger + * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep + after we have the lock. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of - NULL to elf_machine_fixup_plt t argument to silence GCC. + * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file. + Patch by Richard Henderson. - * include/string.h: Add prototype for __memchr. +1999-08-19 Andreas Schwab - * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias. + * libio/iovswscanf.c (vswscanf): Make stream unoriented initially + and call _IO_fwide, to get the wide stream state initialized + correctly. Don't set _IO_JUMPS. + * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *. + * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass + _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS + directly. - * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr - instead of memrchr. +1999-08-19 Andreas Jaeger -2000-07-18 Ulrich Drepper + * math/libm-test.c (jn_test): Fix typo in description. + (erfc_test): Add some more tests. + (erf_test): Add some more tests. - * intl/Makefile: Make sure tst-translit is run after tst-gettext. +1999-08-19 Andreas Schwab - * locale/C-ctype.c: Add initializers for gap elements. - * locale/programs/ld-ctype.c (ctype_output): Write out index entries - for gap elements. + * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by + expression using $(exceptions). -2000-07-16 Ulrich Drepper +1999-08-18 Ulrich Drepper - * nscd/nscd.c (print_version): Update copyright year. + * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable. -2000-07-17 Greg McGary + * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is + allocated so far. [PR libc/1261]. - * sysdeps/unix/make-syscalls.sh: Handle new arg signature - keyletters F, I, S, W. Remove unused keyletter V. Surround - signature argnames with angle-brackets for use as word delimiters, - and to induce syntax errors for any args not handled. Split - multi-echo echoes and comment each stage. - * sysdeps/unix/common/syscalls.list: Refine & correct signatures. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list - - * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings. - * sysdeps/unix/sysv/linux/execve.c (__execve): Add const - qualifiers. Don't check NULL-terminator of argv & envp. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use - unbounded pointer type in word-size assertion. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing - cases to stifle warnings. - - * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to - _IO_file_attach. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - - * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods. - * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify - ptr as __unbouned. - - * Makerules (o-objects): Supplement with $(o-objects$o). - * string/Makefile (o-objects.ob): Add variable to pull - unbounded versions of memcpy, memset and memchr into libc_b. - - * sysdeps/generic/bp-checks.h: Use unbounded __memchr - rather than non-existent __ubp_memchr. - (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros. - (_CHECK_STRING, _CHECK_N): New macros. - (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*. - (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'. - * sysdeps/alpha/memchr.S: Change strong name to "__memchr". - Add weak alias "memchr". - * sysdeps/generic/memchr.c: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/ia64/memchr.S: Likewise. - * sysdeps/m68k/memchr.S: Likewise. - * sysdeps/sparc/sparc32/memchr.S: Likewise. - * sysdeps/sparc/sparc64/memchr.S: Likewise. - * sysdeps/vax/memchr.s: Likewise. + * math/libm-test.c (j0_test): Adjust deltas for m68k. + (jn_test): Likewise. - * iconv/gconv_trans.c: Add #include to get malloc decl. + * dirent/dirent.h: Only define ino64_t if not already done. + * posix/sys/types.h: Likewise. - * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer. - (profile_fixup): Don't define for __BOUNDED_POINTERS__. - * sysdeps/i386/dl-machine.h: Don't use regparm attribute for - __BOUNDED_POINTERS__. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version - for __BOUNDED_POINTERS__. + * ctype/ctype.h: Avoid useless #endif #if pairs. -2000-07-17 Bruno Haible + * dirent/dirent.h: Define ino_t and ino64_t if not done already. + (seekdir): Fix type of second parameter. + * sysdeps/generic/seekdir.c: Likewise. + * sysdeps/mach/hurd/seekdir.c: Likewise. + * sysdeps/unix/seekdir.c: Likewise. - * iconv/gconv_open.c (__gconv_open): Initialize the __data - field of struct __gconv_trans_data differently. Don't pass NULL to - trans_init_fct. Simplify list append operation. + * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU. -2000-07-14 Bruno Haible +1999-08-18 Andreas Jaeger - * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms, - not only those having tsearch. + * manual/install.texi (Configuring and compiling): Clarify ix86 + situation. -2000-07-17 Ulrich Drepper +1999-08-18 Ulrich Drepper - * locale/langinfo.h: Add placeholder values in enum for removed - LC_CTYPE entries. + * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition. + * stdio-common/stdio_lim.h.in: Add IOV_MAX template. + * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from + stdio_lim.h. Define LONG_BIT and WORD_BIT. -2000-07-17 Jakub Jelinek + * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600. - * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded - chain if the PHDR check fails. + * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6. -2000-07-17 Mark Kettenis + * misc/search.h: Don't define NULL. - * nss/getent.c (print_hosts): Make sure we always print a space - between numeric addresses and hostnames. + * posix/sys/types.h: Define blksize_t if it hasn't happened. + Only define key_t and blkcnt_t if it hasn't happened before. + Define blksize_t if not happened before. + * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t. + * sysdeps/generic/bits/types.h: Define __blksize_t. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for + st_blksize member. + (struct stat64): Likewise. + * sysdeps/unix/bsd/bits/stat.h: Likewise. + * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. -2000-07-17 Wolfram Gloger + * stdlib/getsubopt.c: Correct type of second argument. + * stdlib/stdlib.h: Likewise. - * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed, - i.e. if n_mmaps_max>0. + * stdlib/monetary.h: Don't include sys/types.h. Define only size_t + and ssize_t. -2000-07-16 Mark Kettenis + * sysdeps/generic/putenv.c: Correct type of parameter. + * stdlib/stdlib.h: Likewise. - * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust - values to remove possible clash with other AI_* constants. - (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as - hexadecimal constants to stress the fact they're in fact - bit flags. + * sysdeps/generic/msgsnd.c: Correct type of second parameter. + * sysdeps/unix/sysv/linux/msgsnd.c: Likewise. + * sysvips/sys/msg.h: Likewise. -2000-07-15 Mark Kettenis + * sysdeps/generic/semop.c: Correct type of third parameter. + * sysdeps/unix/sysv/linux/semop.c: Likewise. + * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define + size_t. + + * sysdeps/generic/shmget.c: Correct type of second parameter. + * sysdeps/unix/sysv/linux/shmget.c: Likewise. + * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h. + Declare __getpagesize here. + + * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of + sys/types.h. + * sysdeps/gnu/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. + * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not + already done. - * nss/getXXent_r.c [NEED__RES]: Include . - (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit - instead of res_init. + * sysdeps/unix/bsd/usleep.c: Correct type of parameter. -2000-07-16 Ulrich Drepper + * debug/versions: Export __cyg_profile_func_enter and + __cyg_profile_func_exit. - * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first - parameters of memset calls to avoid warnings. + * math/bits/mathcalls.h: Pretty print. -2000-07-15 Ulrich Drepper +1999-08-17 Ulrich Drepper - * stdlib/Makefile: Rewrite rules to avoid running isomac unless - necessary. + * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test + case for new tzdata. - * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch. - Patch by Greg McGary . + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t + unsigned. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * io/Makefile (tests): Add tst-getcwd. - * io/tst-getcwd.c: New file. + * sysdeps/generic/bits/types.h: Make __useconds_t unsigned. - * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary. + * sysdeps/generic/ualarm.c (ualarm): Change return value and + parameter type to useconds_t. + * sysdeps/unix/bsd/ualarm.c: Likewise. -2000-07-15 Jakub Jelinek + * sysdeps/generic/usleep.c (usleep): Change parameter type to + useconds_t. + * sysdeps/unix/sysv/linux/usleep.c: Likewise. + * sysdeps/mach/usleep.c: Likewise. - * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data - structure. + * locale/weight.h: Include . -2000-07-13 Jakub Jelinek + * posix/sys/types.h: Define type useconds_t if not done already. + * posix/unistd.h: Likewise. Use this in ualarm and usleep + declarations. + * sysdeps/generic/bits/types.h: Define type __useconds_t. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. - * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias. - * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias. + * dirent/dirent.h (telldir): Change return type to long int. + * sysdeps/generic/telldir.c: Likewise. + * sysdeps/mach/hurd/telldir.c: Likewise. + * sysdeps/unix/telldir.c: Likewise. + * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem. -2000-07-12 H.J. Lu + * locale/weight.h: Set errno if an invalid character is found. - * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to - GLIBC_2.2. - * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S. - * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc] - (sysdep-routines): Add clone2. - * sysdeps/unix/sysv/linux/ia64/clone2.S: New. +1999-08-17 Andreas Jaeger -2000-07-13 Jes Sorensen + * math/libm-test.c (erfc_test): Add test for example from PR + libc/1259. + (erf_test): Likewise. - * sysdeps/unix/sysv/linux/ia64/clone.S: New file. - * sysdeps/unix/sysv/linux/ia64/fork.c: New file. +1999-08-17 Ulrich Drepper -2000-06-05 David Mosberger + * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase + rewrite. Patch by Alan Stern . - * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file - based on sysdeps/unix/sysv/linux/bits/siginfo.h. - Change type of si_band from "int" to "long". - (si_imm) [USE_GNU]: Define - (si_isr) [USE_GNU]: Likewise. - (ILL_BREAK) [USE_GNU]: Likewise. - (FPE_DECOVF) [USE_GNU]: Likewise. - (FPE_DECDIV) [USE_GNU]: Likewise. - (FPE_DECERR) [USE_GNU]: Likewise. - (FPE_INVASC) [USE_GNU]: Likewise. - (FPE_INVDEC) [USE_GNU]: Likewise. - (TRAP_BRANCH) [USE_GNU]: Likewise. - (TRAP_HWBKPT) [USE_GNU]: Likewise. + * timezone/private.h: Update from tzcode1999e. + * timezone/zic.c: Likewise. -2000-07-06 Jes Sorensen + * timezone/africa: Update from tzdata1999e. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/leapseconds: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include - bits/sigcontext as struct mcontext does not depend on it. + * stdio-common/vfprintf.c (process_string_arg): Correct last patch + and write correct number of bytes in case of %ls with precision. + Reported by Shinya Hanataka . - * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file. +1999-08-16 Ulrich Drepper -2000-07-04 Jes Sorensen + * nscd/nscd.init: Test for kernel version and make LSB compliant. + Patch by Christian Gafton. - * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and + O_RSYNC. Patch by Christian Gafton. -2000-07-04 David Mosberger-Tang + * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle + possibly unterminated strings for %ls when a precision is + specified. + Patch by Akira YOSHIYAMA . - * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file. + * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call + update_conversion_ptrs. + Reported by Shinya Hanataka . -2000-06-22 Jes Sorensen +1999-08-15 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file. + * wcsmbs/wcsnlen.c: Correct decrement of maxlen. + Reported by Shinya Hanataka . -2000-07-15 Ulrich Drepper + * wcsmbs/Makefile (tests): Add tst-wcsnlen. + * wcsmbs/tst-wcsnlen.c: New file. - * intl/Makefile (test-srcs): Add tst-translit. - (tests): Likewise. - Add rules to build and run tst-translit. - * intl/tst-translit.c: New file. - * intl/tst-translit.sh: New file. - * intl/translit.po: New file. +1999-08-16 Andreas Jaeger -2000-07-14 Ulrich Drepper + * libio/ioputs.c (_IO_puts): Add missing brace. - * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the - transliteration function did its job, continue, don't stop. +1999-07-20 Geoff Keating - * iconvdata/iso646.c: Little optimizations in body for conversion - from UCS4. + * math/libm-test.c: Tweak deltas for a clean run on ppc. -2000-07-14 Mark Kettenis +1999-08-10 H.J. Lu - * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning. + * stdio-common/vfprintf.c (ORIENT): Check for the old stream. + (vfprintf): Likewise. + * stdio-common/vfscanf.c (ORIENT): Likewise. + * libio/genops.c (__underflow): Likewise. + (__uflow): Likewise. + * libio/iofputs.c (_IO_fputs): Likewise. + * libio/ioftell.c (_IO_ftell): Likewise. + * libio/iofwrite.c (_IO_fwrite): Likewise. + * libio/ioputs.c (_IO_puts): Likewise. + * libio/iosetbuffer.c (_IO_setbuffer): Likewise. + * libio/iosetvbuf.c (_IO_setvbuf): Likewise. -2000-07-14 Mark Kettenis +1999-08-15 Ulrich Drepper - * configure.in: Check for pwd binary. - * config.make.in: Add PWD_P to be subsituted. - * Makerules: Use $(PWD_P) instead of /bin/pwd. + * iconv/gconv_builtin.h: Add ISO registry alias for UTF8. -2000-07-14 Ulrich Drepper +1999-08-15 Andreas Jaeger - * iconvdata/Makefile (modules): Add GB18030. - (distribute): Add gb18030.c. - * iconvdata/gconv-modules: Add entries for GB18030 module. - * iconvdata/gb18030.c: New file. - Contributed by Wang ShouHua - and Wu Jian. + * manual/job.texi (Process Group Functions): Document getpgid, + getsid. -2000-07-13 Andreas Jaeger +1999-08-15 Ulrich Drepper - * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last - patch. + * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and + initialize si_pid from it. + * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra + parameter. + * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid. + * rt/aio_misc.h (struct waitlist): Add caller_pid element. + (struct requestlist): Likewise. + Adjust prototypes of __aio_notify_only and __aio_sigqueue. + * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it + to __aio_sigqueue. + (__aio_notify): Pass caller PID to __aio_notify_only. + * rt/aio_suspend.c: Initialize caller_pid. + * rt/lio_listio.c: Likewise. + * rt/lio_listio64.c: Likewise. + + * rt/lio_listio.c: If nothing has to be done free mutex before + signalling. + * rt/lio_listio64.c: Likewise. + +1999-08-10 H.J. Lu + + * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer + handling. - * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid. - * inet/getnetgrent.c (free_mem): Likewise. - * misc/mntent.c (free_mem): Likewise. - * nss/getXXbyYY.c (free_mem): Likewise. - * nss/getXXent.c (free_mem): Likewise. - * pwd/fgetpwent.c (free_mem): Likewise. - * shadow/fgetspent.c (free_mem): Likewise. +1999-08-15 Ulrich Drepper -2000-07-14 Ulrich Drepper + * elf/elf.h: Define ElfXX_Versym. + * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms + definition. - * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on - 64-bit architecture correctly [PR libc/1794]. + * stdio-common/vfprintf.c (process_string_arg): Handle precisions + for string output correctly in the wide character case. + Patch by Akira YOSHIYAMA . -2000-07-13 Ulrich Drepper + * intl/locale.alias: Add catalan. - * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2. - * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the - report that we are out of memory. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-libc.c (dlerror_run): Likewise. - * elf/dl-open.c (_dl_open): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-error.c: Define _dl_out_of_memory. - (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate - the error string. - * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory. - [PR libc/1813]. +1999-08-14 Andreas Jaeger - * dlfcn/dlerror.c (free_key_mem): Also free error string. + * manual/install.texi (Configuring and compiling): Mention CFLAGS. - * iconv/loop.c: Fix comment. +1999-08-15 Ulrich Drepper - * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL. + * po/pt_BR.po: New file. -2000-07-13 Andreas Jaeger +1999-08-13 Andreas Jaeger - * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle - getcwd (NULL, size) with size > 0. - Fixes PR libc/1788, reported by John Buddery . + * math/libm-test.c (yn_test): Adjust deltas for i386. + (ccosh_test): Likewise. + (jn_test): Likewise. -2000-07-13 Andreas Jaeger +1999-08-15 Ulrich Drepper - * posix/Makefile: Remove build rules for libposix. + * sysdeps/generic/_G_config.h: Get definition of mbstate_t. -2000-07-13 Andreas Schwab +1999-08-13 Ulrich Drepper - * sysdeps/generic/glob.c (glob): Fix memory leak. - [SHELL]: Remove reference to undefined variable `files'. - Fixes PR libc/1782. + * stdio-common/tstscanf.c: Add test for hexadecimal float parsing + problem. -2000-07-13 Andreas Jaeger +1999-08-13 Andreas Jaeger - * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling - functions. + * configure.in: install-sh lives now in scripts subdir. + PR libc/1255 (bug 4). - * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free - memory if it was allocated. +1999-08-13 Ulrich Drepper -2000-07-12 Ulrich Drepper + * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux + version. - * iconv/gconv_db.c (gen_steps): Always initialize __data field of - step. + * po/fr.po: Update. - * iconv/gconv_open.c (__gconv_open): Reapply - 2000-07-12 Bruno Haible +1999-08-11 Thorsten Kukuk - * iconv/gconv_open.c (__gconv_open): Merge duplicated code. + * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd. - * iconv/gconv_open.c: Undo last two changes for now. They break - everything. +1999-08-13 Ulrich Drepper -2000-07-12 Andreas Jaeger + * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without + exponent. - * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to - compiler. - (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS. - (CFLAGS-dl-cache.c): Likewise. - (CFLAGS-ldconfig.c): Added, passes directory locations. +1999-08-10 Andreas Schwab - * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to - locate cache. - * elf/ldconfig.c (LD_SO_CONF): Likewise. - (main): Use configured LIBDIR and SLIBDIR. + * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf + header. -2000-07-11 Jakub Jelinek +1999-08-09 Scott Bambrough - * math/bits/cmathcalls.h (cimag): Add __THROW. - (creal, conj): Likewise. - * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left - by negative value. + * elf/elf.h: Added definition of ELFOSABI_ARM. + * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER, + VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an + object's header and ABI values are acceptable. + (VALID_ELF_HEADER): New macro; provide default definition. + (VALID_ELF_OSABI): New macro; provide default definition. + (VALID_ELF_ABIVERSION): New macro; provide default definition. + * sysdeps/arm/dl-machine.h Define ARM specific versions of + VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION. -2000-07-12 H.J. Lu +1999-08-09 Andreas Schwab - * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2 - for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c. + * inet/tst-ipnode.c (main): Don't compare integer with NULL. -2000-07-12 Ulrich Drepper +1999-08-09 Thorsten Kukuk - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although - it is wrong. + * sunrpc/svc_run.c (svc_run): Free my_pollfd. -2000-07-12 Bruno Haible +1999-08-09 Andreas Schwab - * iconv/gconv_open.c (__gconv_open): Merge duplicated code. + * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister. -2000-07-12 Bruno Haible +1999-08-08 Ulrich Drepper - * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize - __modname. + * sysdeps/ieee754/ieee754.h: Handle platforms with special + __FLOAT_WORD_ORDER. Patch by Joel Klecker . -2000-07-12 Bruno Haible + * string/bits/string2.h: Mark void* operations as extensions. + * sysdeps/i386/i486/bits/string.h: Likewise. - * iconv/gconv_open.c (__gconv_open): Initialize - result->__steps[cnt].__data. + * debug/Makefile (routines): Add noophooks. + (extra-libs): Add libpcprofile. Add rules to build libpcprofile. + * debug/noophooks.c: New file. + * debug/pcprofile.c: New file. -2000-07-12 Mark Kettenis +1999-08-06 Ulrich Drepper - * nss/getent.c (services_keys): Pass port number in network byte - order in call to getservbyport. + * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other + systems which allow using the functions also on non-seekable + devices. -2000-07-11 Andreas Jaeger + * resolv/res_send.c (res_send): Recompute timeout for poll for + each jump to `wait'. - * stdlib/Makefile (test-canon-ARGS): Fix for building in the - source dir. - * intl/Makefile (do-gettext-test): Likewise. - * dirent/Makefile (opendir-tst1-ARGS): Likewise. + * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of + braces to avoid warnings. + (IN6ADDR_LOOPBACK_INIT): Likewise. -2000-07-11 Andreas Schwab + * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC -> + MSG_DONTWAIT). - * Makeconfig (run-program-prefix): New rule. - (built-program-cmd): Use run-program-prefix. +1999-08-06 H.J. Lu -2000-07-12 Ulrich Drepper + * malloc/malloc.c: Initialize __libc_pagesize early. - * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR, - and NOEXPR unconditionally available. +1999-08-06 Ulrich Drepper -2000-07-12 Greg McGary + * string/string-inlines.c: Undefined __USE_STRING_INLINES before + defining it. - * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). - * sysdeps/posix/open64.c: Likewise. - * sysdeps/generic/fegetenv.c: Likewise. - * sysdeps/powerpc/fpu/fegetenv.c: Likewise. - * sysdeps/powerpc/fpu/fesetenv.c: Likewise. - * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. - * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. - * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. + * inet/Makefile (tests): Add tst-ipnode. + * inet/tst-ipnode.c: New file. -2000-07-11 Greg McGary +1999-08-06 Andreas Schwab - * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias): - Add extra level of macro expansion. - [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise. - * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition - is available at the time `select' prototype is declared. - * sysdeps/unix/make-syscalls.sh: Remove unused variables. - Collect non-versioned weak aliases. Consider only non-versioned - aliases for the user-visible systemcall name. Do checks inline with - call to primitive system call. - * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to - stand-alone bounds checks to suppress unused value warnings. - * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC): + New definitions. + (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU. + (O_LARGEFILE): Define only if __USE_LARGEFILE64. + * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC): + New definitions. + (O_LARGEFILE): Define only if __USE_LARGEFILE64. + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise. -2000-07-10 Mark Kettenis +1999-08-06 Jakub Jelinek - * sysdeps/mach/hurd/check_fds.c: New file. Implements - file descriptor checking in SUID programs for the Hurd. + * sysdeps/ieee754/ldbl-128/e_expl.c: New file. + * sysdeps/ieee754/ldbl-128/t_expl.h: New file. + * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use - res_hostalias instead of __hostalias for thread-safety. +1999-08-06 Ulrich Drepper -2000-07-09 Mark Kettenis + * resolv/res_send.c (res_send): Don't test file descriptor for + range, we use poll now. [PR libc/1240] - * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds... - * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here. +1999-08-05 Ulrich Drepper -2000-07-10 Ulrich Drepper + * libio/genops.c (_IO_flush_all): Don't access elements beyond what + 2.0 defined if they are not available. - * include/features.h: Include ISO C99 features if the compiler used - is an ISO C99 compiler. - Patch by Joseph S. Myers . +1999-08-05 Thorsten Kukuk -2000-07-08 Mark Kettenis + * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC): + Define. - * iconv/gconv_conf.c: Include . +1999-08-04 Ulrich Drepper -2000-07-10 Andreas Jaeger + * rt/aio_read.c: Fix return value. + * rt/aio_read64.c: Likewise. + Reported by Christian Gafton. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since - it's overridden by libpthreads. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * rt/aio_write.c: Fix return value. + * rt/aio_write64.c: Likewise. + * rt/aio_fsync.c: Likewise. - * malloc/Makefile: Run tst-mtrace only with shared libs. + * rt/aio_misc.c: Set errno at correct place. - * stdio-common/Makefile: Run unbputc and tst-printf tests only - with shared libs. + * rt/aio_fsync.c: Test OP parameter for correct values. -2000-07-10 Maciej W. Rozycki + * hesiod/hesiod.c: Avoid emitting rcsid in object file. - * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify - that gpreg really points to the GOT section of the calling object. - Scan all PT_LOAD segments of objects for stub_pc, instead of only - checking a start address of first one. - Fix typos. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map): - Likewise. +1999-08-04 Andreas Schwab - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo. + * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER): + Initialize result to one. + (GET_NPROCS_CONF_PARSER): Likewise. -2000-07-10 Andreas Jaeger +1999-08-03 Ulrich Drepper - * sysdeps/unix/sysv/linux/sigaction.c: Fix typo - (string_alias->strong_alias). + * inet/ether_hton.c: Pass errno pointer to NSS function. + * inet/getnetgrent_r.c: Likewise. + Reported by Marty Leisner . -2000-07-08 Mark Kettenis +1999-08-02 Thorsten Kukuk - * hurd/hurd/fd.h: Include instead of . + * nis/nis_callback.c: Fix port problem on big-endian machines + * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC + fields are always 32 bit. + Patches from Paul Mackerras -2000-07-07 Greg McGary + * nis/nss_nis/nis-service.c: Remove htons, port is always in + network-byte-order. + * nis/nss_nisplus/nisplus-service.c: Rename number to port. - * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that - have no names without leading underscores. +1999-08-03 Andreas Schwab -2000-07-07 Ulrich Drepper + * sysdeps/posix/sigset.c: Unblock the signal after setting its + disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to + avoid two calls to sigprocmask. - * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and - U007E. +1999-08-02 Ulrich Drepper - * stdio-common/Makefile (tests): Remove tst-printf here... - (tests-srcs): ...and add it here. - (distribute): Add tst-unbputc.sh and tst-printf.sh. - Add rules to run tst-printf.sh. - * stdio-common/tst-printf.c: Move code around so that there is really - no further output where it's stated. - * stdio-common/tst-printf.sh: New file. + * sysdeps/generic/s_nexttowardf.c: Fix typo. -2000-07-07 Mark Kettenis +1999-08-02 Jakub Jelinek - * hurd/vpprintf.c [USE_IN_LIBIO]: Include . - (do_write): Renamed from pwrite. - (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of - `struct _IO_cookie_file'. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): + Only allow rt signal frames. No SA_SIGINFO signals will have the + siginfo_t just not filled out with SI_NOINFO code. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h + (register_dump): Take the above change into account. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h + (rt_signal_frame): Likewise. -2000-07-07 Ulrich Drepper + * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file. - * malloc/mtrace.pl: Exit with exit code 1 if any leak was - detected. - * malloc/tst-mtrace.sh: Run mtrace script. +1999-08-02 Thorsten Kukuk -2000-07-07 Greg McGary + * nis/nis_callback.c (internal_nis_do_callback): Use poll() + instead of select(). - * posix/regex.c (EXTEND_BUFFER): Compute increment once. - Move all three components of a bounded pointer. +1999-08-02 Ulrich Drepper -2000-07-07 Ulrich Drepper + * sysdeps/generic/s_nextafter.c: Define __nexttoward and + nexttoward so something else so that aliasing works. - * locale/programs/locale.c (write_locales): Don't simply add all - directories found in the subdir, test whether at least the - LC_CTYPE file is in there. +1999-08-02 Thorsten Kukuk -2000-07-06 Ulrich Drepper + * sysdeps/generic/math_ldbl.h: Fix typo. + * sysdeps/generic/strtold.c: Remove unbalanced #endif. + * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c. - * iconvdata/euc-jp.c: Map characters in C1 area to itself. - * iconvdata/euc-kr.c: Likewise. +1999-08-02 Ulrich Drepper - * stdio-common/vfprintf.c (process_string_arg): Check result of - wcrtomb call and bail out if it failed. + * elf/resolvfail.c: Include stdio.h. Also test dlerror. - * malloc/Makefile (test-srcs): Add tst-mtrace. - (distribute): Add tst-mtrace.sh. - Add rule to run tst-mtrace.sh. - * malloc/tst-mtrace.c: New file. - * malloc/tst-mtrace.sh: New file. +1999-08-01 Ulrich Drepper - * include/signal.h: Declare __libc_sigaction. - * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction. - * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. + * elf/Makefile (tests): Add resolvfail. Add rules to build the + program. + * elf/resolvfail.c: New file. - * configure.in: Fix CFLAGS-memprofstat.c definition after - 2000-06-19 change. - Patch by Bradford W. Johnson . + * elf/dl-sym.c (_dl_sym): Always determine module of the caller to + pass it to _dl_lookup_symbol. -2000-07-06 Jakub Jelinek + * elf/dl-error.c (_dl_signal_error): Optimize string generation a + bit. Reword message. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0 - instead of NULL to elf_machine_fixup_plt t argument. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add - cast. + * dlfcn/dlerror.c: Make code thread-safe. -2000-07-06 Andreas Jaeger +1999-07-31 Roland McGrath - * crypt/Makefile (LDLIBS-cert): Removed. - (LDLIBS-md5c-test): Removed. - ($(objpfx)cert): Renamed from cert.out to fix dependencies. - ($(objpfx)md5c-test): Likewise for md5c-test.out. + * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member + initializer in CHECK: a bit size, not the type code repeated! -2000-07-06 Andreas Jaeger +1999-07-31 Ulrich Drepper - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type - of the proc system is "proc". + * string/tester.c: Add tests with constant arguments for strcpy + and stpcpy. - * sysdeps/generic/libc-start.c (__libc_start_main): Initialize - thread library for static programs. +1999-07-31 H.J. Lu -2000-07-06 Greg McGary + * string/bits/string2.h (__strcpy_small): Fix a typo. - * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt): - New macros. - * sysdeps/generic/strcpy.c: Add bounds checks. - * sysdeps/unix/fxstat.c: Likewise. - * sysdeps/unix/xstat.c: Likewise. - * sysdeps/unix/common/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/execve.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/getcwd.c: Likewise. - * sysdeps/unix/sysv/linux/getdents.c: Likewise. - * sysdeps/unix/sysv/linux/llseek.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/ptrace.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. - * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. - * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. - * sysdeps/unix/sysv/linux/sysctl.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/xstat64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/brk.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. - * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise. - * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise. - * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise. - - * string/endian.h (__LONG_LONG_PAIR): New macro. - * sysdeps/unix/sysv/linux/ftruncate64.c: Use it. - * sysdeps/unix/sysv/linux/pread.c: Likewise. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. +1999-07-31 Ulrich Drepper - * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS. + * Makeconfig (link-libc): Always define it, not only for shared + builds. -2000-07-06 Andreas Jaeger + * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213]. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): - Initialize result. + * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero. + * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212]. - * math/test-fpucw.c: Include for printf. +1999-07-30 Andreas Schwab -2000-07-05 Greg McGary + * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New + definition. + (__get_nprocs): Use it. + (__get_nprocs_conf): Define as separate function if + GET_NPROCS_CONF_PARSER is defined. + * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file. + + * include/sys/sysinfo.h: New file. + * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal + interface. + * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. + +1999-07-30 H.J. Lu + + * libio/iofflush.c (fflush_unlocked): Weak aliase if + _IO_MTSAFE_IO is not defined. + * libio/clearerr.c (clearerr_unlocked): Likewise. + * libio/feof.c (feof_unlocked): Likewise. + * libio/ferror.c (ferror_unlocked): Likewise. + * libio/fputc.c (fputc_unlocked): Likewise. + * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise. + * libio/getchar.c (getchar_unlocked): Likewise. + * libio/putc.c (putc_unlocked): Likewise. + * libio/putchar.c (putchar_unlocked): Likewise. + +1999-07-30 Thorsten Kukuk + + * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll, + svc_max_pollfd and svc_pollfd to GLIBC_2.2 + * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes + for svc_run/poll interface. + * sunrpc/rpc/types.h: Add rpc*_t typedefs. + * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as + global variable. + * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common, + rewrite other svc_getreq* functions to use svc_getreq_common. + * sunrpc/svc_run.c: Use poll(). + +1999-07-30 Andreas Schwab + + * Makerules: Put sysd-versions and Versions.all on + postclean-generated instead of common-generated. + +1999-07-29 Andreas Jaeger + + * manual/time.texi (Basic CPU Time): Note that clock_t can wrap + around and CLOCKS_PER_SEC is 1e6. + +1999-07-30 Ulrich Drepper + + * configure.in: Add test for local label subtraction. + * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS. + * stdio-common/vfprintf.c (vfprintf): Use subtraction of local + labels to reduce number of runtime relocations and move jump + tables in read-only seciton. + + * malloc/malloc.c (ptmalloc_init): Correct last patch. The + assignment cannot be moved. + +1999-07-29 H.J. Lu + + * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize + if no threads are used. + + * libio/iofwrite.c: Add weak alias for _unlocked function if not + _IO_MTSAFE_IO. + * libio/iofread.c: Likewise. + * libio/iofgets.c: Likewise. + * libio/iofputs.c: Likewise. + + * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New + definition. - * sysdeps/generic/bp-checks.h: New file. - * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions - with list of #include files. - * sysdeps/unix/make-syscalls.sh: Handle new arg signature - keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation. - Don't generate BP thunk if `V' appears in signature. - Generate thunks with complete bounds checks. - * sysdeps/unix/syscalls.list: Refine signatures using new keyletters. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. + * stdlib/mbtowc.c: Include . + * stdlib/wctomb.c: Likewise. + * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. + * sysdeps/unix/sysv/linux/statfs64.c: Likewise. -2000-07-05 Ulrich Drepper + * misc/mntent_r.c: Include . + * elf/dl-runtime.c: Likewise. - * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache - result. Search first in /etc/mtab (proc/mounts would be stupid). - If mount not in the file fall back on /proc. +1999-07-29 Andreas Schwab + + * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for + all floating point formats supported by gcc. Error out for + unhandled precisions. + * misc/efgcvt_r.c (NDIGIT_MAX): Likewise. + * misc/qefgcvt.c (NDIGIT_MAX): Likewise. + * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise. + +1999-07-29 Ulrich Drepper + + * sysdeps/generic/setenv.c: Move setenv code in new function + __add_to_environ. Add new parameter specifying already + constructed string for the environment. + (setenv): Call __add_to_environ with new parameter set to NULL. + (unsetenv): Really test all elements for duplicated name. Missed those + cases where the two are following each other. + * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv. + * include/stdlib.h: Add prototype of __add_to_environ. + * stdlib/tst-environ.c: New file. + * stdlib/Makefile (tests): Add tst-environ. + + * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch. + + * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size + argument in realloc call. + * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups): + Likewise. + Reported by Danny Braniss . - * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt - string got copied in. - Patch by Solar Designer . +1999-07-28 Ulrich Drepper -2000-07-05 Andreas Jaeger + * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits + to print. + * misc/efgcvt_r.c: Likewise. + * misc/qefgcvt.c: Likewise. + * misc/qefgcvt_r.c: Likewise. + * misc/tst-efgcvt.c: Remove one test which cannot reliably be run + anymore. - * manual/install.texi (Installation): Update information about - add-ons. - (Configuring and compiling): Update for glibc 2.2. +1999-07-27 Andreas Jaeger -2000-07-04 Andreas Jaeger + * manual/math.texi (FP Function Optimization): Mention drawbacks. - * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. - (_FPU_IEEE): Likewise. +1999-07-28 Ulrich Drepper - * math/Makefile (tests): Add test-fpucw. + * stdlib/mblen.c: Use static state. + Reported by Bruno Haible . - * math/test-fpucw.c (main): New file. + * stdlib/mbtowc.c: Reset state for s == NULL. + * stdlib/wctomb.c: Likewise. + Reported by Bruno Haible . -2000-07-05 Ulrich Drepper + * stdlib/mbstowcs.c: Do not use global state. + Reported by Bruno Haible . - * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning. +1999-07-28 Andeas Schwab - * locale/programs/ld-collate.c (collate_output): Also write out the - collation sequence values and the wide character string for the - collation symbol table. + * iconvdata/Makefile: Don't try to run iconv tests when cross + compiling. - * posix/fnmatch.c: Include "../locale/elem-hash.h". - * posix/fnmatch_loop.c: Implement collating symbol handling. - * posix/tst-fnmatch.input: Add more tests, especially for collating - symbol handling. +1999-07-27 Mark Kettenis - * posix/regex.c: Fix comment. + * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline + assembler code to switch stacks and call init1 outside this + function. Inside `init' the code was optimized away by gcc + 2.95 since it was "clearly" unreachable. + * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): + Do something similar for the trampoline code. -2000-07-05 Andreas Jaeger +1999-07-27 Ulrich Drepper - * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t. - (_FPU_GETCW): Remove extra colon. - Patch by Ralf Baechle . + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information + for the hinted protocol. - * posix/fnmatch_loop.c (FCT): Only declare len if - !WIDE_CHAR_VERSION to silence GCC. +1999-07-26 Andreas Jaeger - * sysdeps/generic/rawmemchr.c: Include for abort - prototype. - * sysdeps/generic/strchrnul.c: Likewise. - * sysdeps/generic/strlen.c: Likewise. - * sysdeps/generic/strchr.c: Likewise. - * sysdeps/generic/memchr.c: Likewise. + * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2. -2000-07-04 Ulrich Drepper +1999-07-25 Jakub Jelinek - * posix/fnmatch_loop.c: Implement equivalence class handling. - * posix/tst-fnmatch.input: Add tests for equivalence class - handling. + * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. + * elf/dl-lookup.c (_dl_setup_hash): Likewise. + * elf/dl-load.c (_dl_map_object): Likewise. + * elf/do-lookup.h (do_lookup*): Likewise. + * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t. + * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx + as uint64_t. + * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx. - * posix/fnmatch_loop.c: Improve performance for single-byte - character sets by not using btowc. +1999-07-26 Ulrich Drepper - * posix/tst-fnmatch.input: Add tests for locale dependent - behaviour. - * posix/tst-fnmatch.c (main): Also set LC_CTYPE category. + * sysdeps/unix/sysv/sysv4/setsid.c: Correct types. + * sysdeps/generic/getpgrp.c: Likewise. + * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. + * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. + Patch by John Tobey . - * posix/tst-fnmatch.input: Add more test cases. + * sysdeps/posix/wait3.c: Help compiling in presence of + __transparent_union__. Reported by John Tobey . - * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt - are not aligned to alignof(md5_uint32) do it before calling - __md5_process_bytes. - * crypt/md5.c: Make sure buffers are aligned. - * crypt/md5.h: Likewise. - Reported by Solar Designer . +1999-07-25 Jakub Jelinek - * crypt/Makefile: Add dependencies for test programs. + * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers + as much as possible. Declare them using .register pseudo-op if they + are still used. + * sysdeps/sparc/sparc64/lshift.S: Likewise. + * sysdeps/sparc/sparc64/memchr.S: Likewise. + * sysdeps/sparc/sparc64/memcmp.S: Likewise. + * sysdeps/sparc/sparc64/memcpy.S: Likewise. + * sysdeps/sparc/sparc64/memset.S: Likewise. + * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. + * sysdeps/sparc/sparc64/rshift.S: Likewise. + * sysdeps/sparc/sparc64/stpcpy.S: Likewise. + * sysdeps/sparc/sparc64/stpncpy.S: Likewise. + * sysdeps/sparc/sparc64/strcat.S: Likewise. + * sysdeps/sparc/sparc64/strchr.S: Likewise. + * sysdeps/sparc/sparc64/strcmp.S: Likewise. + * sysdeps/sparc/sparc64/strcpy.S: Likewise. + * sysdeps/sparc/sparc64/strcspn.S: Likewise. + * sysdeps/sparc/sparc64/strlen.S: Likewise. + * sysdeps/sparc/sparc64/strncmp.S: Likewise. + * sysdeps/sparc/sparc64/strncpy.S: Likewise. + * sysdeps/sparc/sparc64/strpbrk.S: Likewise. + * sysdeps/sparc/sparc64/strspn.S: Likewise. + * sysdeps/sparc/sparc64/sub_n.S: Likewise. + * sysdeps/sparc/sparc64/dl-machine.h: Likewise. + Optimize trampoline code for .plt4-.plt32767. + Fix trampolines for .plt32768+. - * Rules: Define LC_ALL=C in environments of all programs we run. +1999-07-25 Jakub Jelinek - * intl/tst-gettext.sh (LC_ALL): Define to C and export. + * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use + -mcpu=v8. + * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. + * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for + libc's private use (as assembly routine clobber it anyway). -2000-07-03 H.J. Lu +1999-07-26 Andreas Jaeger - * locale/programs/ld-ctype.c (ctype_output): The size of iov - is 2 + elem + offset, not 2 + elem + offset + 2. + * README.template (configurations): The crypt add-on has a new + ftp site. + * manual/install.texi (Installation): Likewise. -2000-07-04 Ulrich Drepper +1999-07-26 Ulrich Drepper - * posix/fnmatch_loop.c: Fix two problems uncovered by the new test - suite. - * posix/Makefile (tests): Add tst-fnmatch. - (tst-fnmatch-ENV): Define. - * posix/tst-fnmatch.c: New file. - * posix/tst-fnmatch.sh: New file. + * time/time.h: Add forward for struct sigevent. Unix98 maybe + requires to have a full definition but we wait for a bug report + based on the test suite. -2000-07-04 NIIBE Yutaka + * sysdeps/generic/clock_getres.c: New file. + * sysdeps/generic/clock_gettime.c: New file. + * sysdeps/generic/clock_settime.c: New file. + * sysdeps/generic/timer_create.c: New file. + * sysdeps/generic/timer_delete.c: New file. + * sysdeps/generic/timer_getoverr.c: New file. + * sysdeps/generic/timer_gettime.c: New file. + * sysdeps/generic/timer_settime.c: New file. - * locale/programs/charmap.c (charmap_read): Prepend - the condition filename == NULL. + * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t, + CLOCK_REALTIME, and TIMER_ABSTIME. + * sysdeps/mach/hurd/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/time.h: Likewise. -2000-07-03 Greg McGary + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS. - * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo. + * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and + si_timer2. - * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally. - ($(objpfx)b$(start-installed-name)): Add non-elf rule. + * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls. - * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*. - * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*. - (FILEBUF_LITERAL): Add cast for CHAIN init. - * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts. - (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): - Revert type of `fp' to _IO_FILE*. - (_IO_iter_file): Remove cast. - (_IO_iter_next): Elide intermediate member reference. + * time/Makefile (routines): Add clock_getres, clock_gettime, + clock_setres, timer_create, timer_delete, timer_getoverr, + timer_gettime, and timer_settime. - * sysdeps/powerpc/strchr.S: Check bounds. - Wrap extern symbols in BP_SYM (). + * time/time.h: Define clockid_t, timer_t, and struct itimerspec for + POSIX.1b. Add prototypes for clock and timer functions. -2000-07-03 Andreas Jaeger +1999-07-26 Roland McGrath - * dlfcn/Makefile (generated): New. + * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. + Fix from Marcus Brinkmann . -2000-07-03 Ulrich Drepper +1999-07-26 Ulrich Drepper - * libio/genops.c (__overflow): Use _IO_fwide to orient the stream. - (__uflow): Likewise. - (__underflow): Likewise. - * libio/wgenops.c (__wunderflow): Likewise. - * stdio-common/tst-unbputc.c: New file. - * stdio-common/tst-unbputc.sh: New file. - * stdio-common/Makefile: Add rules to build and run tst-unbputc. + * stdlib/wcstombs.c: Do not use global state. + Reported by Bruno Haible . - * po/en_GB.po: New file. - Contributed by Robert Brady . + * wcsmbs/wctob.c: Avoid sign extension when returning character. + Reported by Bruno Haible . -2000-07-01 Andreas Jaeger + * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number + of wide characters to convert do it right and don't overestimate + by multiplying with MB_CUR_MAX. + Reported by Bruno Haible . - * intl/Makefile (generated-dirs): New. +1999-07-26 Jakub Jelinek - * elf/Makefile (generated): trusted-dirs.h is always generated, - move out of build-shared condition. - (generated): Merge the two entries for build-shared. + * string/bits/string2.h (__strcpy_small): Avoid compile time warning. + (__stpcpy_small): Likewise. + Union has no __uc member but __c. -2000-07-01 Ulrich Drepper +1999-07-26 Andreas Schwab - * debug/Makefile (distribute): Add xtrace.sh. + * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions. -2000-06-30 Ulrich Drepper +1999-07-25 Ulrich Drepper - * version.h (VERSION): Bump to 2.1.91. + * libio/iofclose.c (_IO_new_fclose): Only fall back on + _IO_old_fclose if doing versioning. - * configure.in: Update warning comment. glibc should not be - broken anymore. + * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle + them appropriately. + * libio/oldiofclose.c (_IO_old_fclose): Likewise. - * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add - ioperm.c, sys/procfs.h, and sys/io.h. + * misc/mntent_r.c: Allow spaces and tabs in entry names by + encoding these characters. + * misc/tst-mntent.c: Add test case for addmntent and getmntent. - * sysdeps/powerpc/Dist: Add bp-asm.h. + * string/bits/string2.h: Fix aliasing problems. + * sysdeps/i386/i486/bits/string.h: Likewise. + * sysdeps/i386/bits/string.h: Likewise. - * assert/Depend: Add localedata. - * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C. - (test-assert-perr-ENV): New. Define LANGUAGE=C. +1998-12-28 Geoff Keating - * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type == - R_ALPHA_REFQUAD]: Use memcpy to load and store value from - relocation address to prevent unaligned trap. - Suggested by Richard Henderson . + * sysdeps/powerpc/dl-machine.c: Handle shared library profiling. + * elf/rtld.c (dl_main): Don't call malloc() between + re-relocating the dynamic linker and running the application's crt0. -2000-06-30 Jakub Jelinek +1999-07-21 Paul D. Smith - * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines - if redirecting and either redirection is done using defines or - not optimizing. + * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below + glob.h to get __P() macro. -2000-06-30 Ulrich Drepper + * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax, + not ANSI. + (__strchrnul): This won't exist outside GLIBC, so create one. - * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in - generated expressions. - Patch by Darren McClelland . +1999-07-25 Jakub Jelinek - * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL - since zic uses setlocale and gettext but we cannot make it use the - new locale data since zic calls a shell which might not use the - new libc. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t. + __ino64_t should be 32bit unsigned type on sparc32. + Define __off64_t to __quad_t instead of __int64_t. + Make __pic_pid_t unsigned on sparc32. - * stdlib/strfmon.c: Move somewhat closer to the standard wrt to - handling the internation currency symbol. POSIX says that the - fourth character is used to separate the currency symbol from the - value. Therefore it does not have to be printed. But we cannot - remove the space if the currency symbol is printed before the - number since this is what many locales expect. +1999-07-25 Andreas Jaeger - * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN - whether this information is available. + * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug + in bash 2.03. - * intl/dcigettext.c (_nl_find_msg): Correct reallocation of - buffers in case the translation is too large. Remember allocated - memory blocks in a list. - (free_mem): Free memory for translations. +1999-07-25 Ulrich Drepper - * intl/tst-gettext.c: Use correct locale. Improve error messages. + * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case + of an error. Patch by Changwoo Ryu . - * locale/programs/ld-ctype.c (ctype_output): If no default_missing - information is available set the string length to zero. +1999-07-24 Ulrich Drepper - * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case. + * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory + accesses. -2000-06-30 Greg McGary + * resolv/res_send.c: Add locks for res_send and res_close use. + + * elf/Makefile (dl-routines): Add preinit. + * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next. + * elf/link.h (struct link_map): Add new field l_preinitcount. + * elf/dl-preinit.c: New file. + * elf/dynamic-link.h: Initialize l_preinitcount. + * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions. + + * elf/dl-fini.c: Handle DT_FINI_ARRAY. + * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount + and l_initcount. + * elf/dl-init.c: Handle DT_INIT_ARRAY. + * elf/dynamic-link.h: Change parameters. Now only get link_map + pointer. Calculate l_initcount. + + * elf/link.h (struct link_map): Add l_runpath_dirs. + * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL. + * elf/dl-load.c: Pretty print. + (decompose_rpath): Take new parameter with info from where the path + comes. Pass it the fillin_rpath. + (_dl_init_paths): Initialize l_runpath_dirs. + (_dl_map_object): Don't search using RPATHs if object has RUNPATH. + Search using RUNPATH after LD_LIBRARY_PATH. + * elf/dl-support.c: Adjust comment. + * elf/rtld.c: Adjust help message. + +1999-07-24 Andreas Jaeger + + * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol + interface. + +1999-07-23 Roland McGrath + + * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to + match BSD value; previous value of 1<<8 was a typo. I bet nothing + ever used this, so I'm not going to worry about compatibility. + [__USE_GNU] (IUCLC, OLCUC): New macros. + +1999-07-23 Ulrich Drepper + + * include/libintl.h: Undefine N_ and _ first to avoid warnings. + + * elf/elf.h: Add ET_LOOS and ET_HIOS. + Add various EM_* constants. + Add SHN_LOOS and SHN_HIOS. + Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY. + Add SHF_MERGE and SHF_STRINGS. + (ElfXX_Sym): Update description of st_other field. + Add STT_COMMON. + Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER. + Add STV_* macros. + Update comment on DT_RPATH. Add DT_RUNPATH, DT_FLAGS, DT_ENCODING, + DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ. + Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW. + + * posix/unistd.h: Move declaration of __libc_enable_secure to... + * include/unistd.h: ...here. + + * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt. + * elf/dl-deps.c (expand_dst): Likewise. + + * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW + based on DT_FLAGS value. + + * elf/do-lookup.h: Remove reference_name parameter, add undef_map. + Add test for symbols marked STV_HIDDEN. + * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter, + add undef_map. Compute reference_name locally. Update call to + do_lookup. + (_dl_lookup_symbol_skip): Likewise. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-libc.c: Update call to _dl_lookup_*symbol. + * elf/dl-runtime.c: Likewise. + * elf/dl-sym.c: Likewise. + * elf/dl-symbol.c: Likewise. + * elf/ldsodefs.h: Adjust prototypes. - * sysdeps/powerpc/bp-asm.h: New file. - * sysdeps/powerpc/__longjmp.S: Check bounds. - Wrap extern symbols in BP_SYM (). - * sysdeps/powerpc/bsd-_setjmp.S: Likewise. - * sysdeps/powerpc/bsd-setjmp.S: Likewise. - * sysdeps/powerpc/setjmp.S: Likewise. - * sysdeps/powerpc/add_n.S: Likewise. - * sysdeps/powerpc/addmul_1.S: Likewise. - * sysdeps/powerpc/lshift.S: Likewise. - * sysdeps/powerpc/rshift.S: Likewise. - * sysdeps/powerpc/mul_1.S: Likewise. - * sysdeps/powerpc/sub_n.S: Likewise. - * sysdeps/powerpc/submul_1.S: Likewise. - * sysdeps/powerpc/strlen.S: Likewise. - * sysdeps/powerpc/memset.S: Likewise. - * sysdeps/powerpc/stpcpy.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/elf/bzero.S: Likewise. + * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and + handle appropriately. Add comment about DT_TEXTREL. + * elf/dl-runtime.c: Likewise. - * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names. - Line up operands column with tabs. +1999-07-21 Roland McGrath -2000-06-30 Ulrich Drepper + * elf/dl-reloc.c (_dl_reloc_bad_type): New function. + * elf/ldsodefs.h: Declare it. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it + instead of assert. + (elf_machine_lazy_rel): Likewise. Take new arg MAP. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. + (elf_machine_lazy_rel): Likewise. + * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise. + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use + _dl_reloc_bad_type instead of _dl_signal_error. + * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel. + +1999-07-20 Mark Kettenis + + * sysdeps/mach/_strerror.c: Include . + +1999-07-19 Roland McGrath + + * hurd/hurdsig.c (_hurd_internal_post_signal): If a + hurd_signal_preemptor matches but its `preemptor' field is null, use + its `handler' field directly. This is to comply with behavior + documented in . + +1999-07-21 Andreas Schwab + + * libio/fileops.c (_IO_new_file_underflow): Set error indicator + when reading from write-only stream. + * libio/oldfileops.c (_IO_old_file_underflow): Likewise. + * libio/wfileops.c (_IO_wfile_underflow): Likewise. + +1999-07-21 Andreas Schwab + + * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is + NULL. - * elf/Makefile (LDFLAGS-origtest): Actually add it. +1999-07-21 Mark Kettenis - * sysdeps/ia64/htonl.S: New file. - * sysdeps/ia64/htons.S: New file. - * sysdeps/ia64/memcpy.S: Replace with version which does not use - floating point registers. - Patches by Dan Pop . + * sysdeps/mach/hurd/read.c: Do not include and + . + * sysdeps/mach/hurd/write.c: Do not include and + . + (__libc_write): Call __pwrite instead of __pread. -2000-06-30 Andreas Jaeger +1999-07-20 Mark Kettenis - * posix/Makefile (tests): tst-exec and tst-spawn only work with - shared libraries. + * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in + __vm_allocate calls. - * io/Makefile (CFLAGS-test-lfs.c): New. - (tests): Add test-lfs. + * sysdeps/mach/hurd/pread.c (__pread): Include . Fix typo. + * sysdeps/mach/hurd/pwrite.c (__pwrite): Include . - * io/test-lfs.c: New file. + * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call + _hurd_fd_read with new OFFSET argument set to -1. + (__stdio_write): Call _hurd_fd_write with new OFFSET argument set + to -1. -2000-06-30 Jakub Jelinek +1999-07-17 Roland McGrath - * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit - instruction. + * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the + descriptor table sent in the RPC. -2000-06-29 David Mosberger-Tang +1999-07-20 Andreas Jaeger - * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file. + * time/strptime.c [!_LIBC]: Fix __mon_day size. Reported by + bill@taniwha.org [PR libc/1211]. -2000-06-29 Jes Sorensen +1999-07-19 Andreas Schwab - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64 - alias to the fstatfs call. + * libio/Makefile (routines): Add fwprintf. - * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file. + PowerPC has own version of w_sqrt.c and w_sqrtf.c. + * math/w_sqrt.c: Moved to ... + * sysdeps/generic/w_sqrt.c: ... here. + * math/w_sqrtf.c: Moved to ... + * sysdeps/generic/w_sqrtf.c: ... here. - * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file. + * Make-dist (generic-dirs): New variable. + (try-sysdeps, +sysdep-names): Use it. + * extra-lib.mk (all-$(lib)-routines): New variable. Use it + instead of $(lib)-routines. + * elf/Makefile (distribute): Add dl-cache.h. + * db2/Makefile (distribute): Add all new files. + * iconvdata/Makefile (distribute): Don't distribute CVS + directory. + * math/Makefile (distribute): Remove machine/endian.h, add + math_ldbl.h. + * stdio-common/Makefile (distribute): Add _itowa.h. + * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h. + * sysdeps/gnu/Dist: Add eval.c + * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) = + dlfcn]: Add to this instead of libdl-routines. + * sysdeps/ieee754/ldbl-128/Dist: New file. + * sysdeps/mach/hurd/Dist: Add siglist.h + * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h. - * sysdeps/unix/sysv/linux/ia64/readdir.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file. - * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file. +1999-07-18 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/glob.c: New file. - * sysdeps/unix/sysv/linux/ia64/glob64.c: New file. + * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed. - * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file. - * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file. + * inet/Makefile (routines): Add getipnodebyad and freehostent. + * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent. + * inet/freehostent.c: New file. + * inet/getipnodebyad.c: New file. + * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent, + and getipnodebyname. The latter comes soon. + * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested. + Add support for getipnode* functions. - * sysdeps/unix/sysv/linux/ia64/pread64.c: New file. - * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file. + * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop. + Set h_aliases to NULL and not to a pointer to an array with a NULL + pointer following XNS 5.2. - * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file. + * posix/sched.h: Remove internal interfaces. + * include/sched.h: Add internal interfaces. -2000-06-29 Andreas Jaeger + * nss/getXXbyYY.c: Provide variable h_errnop to help shared code. - * sunrpc/rpc_svcout.c (write_msg_out): Always use format string - with syslog. - (print_err_message): Likewise. - Reported by Chris Evans . + * nss/digits_dots.c: Set h_errnop if memory allcoation failed. -2000-06-29 Ulrich Drepper - - * locale/loadlocale.c (_nl_load_locale): Make sure all locale data - used as words is properly aligned. - - * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned - data files. - -2000-06-29 Greg McGary - - * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded. - * sysdeps/unix/make-syscalls.sh: Handle signatures of - length 7..9, just in case... - * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP. - - * sysdeps/i386/bp-asm.h (PCOFF): New constant. - (POP_ERRNO_LOCATION_RETURN): Fold insns. - * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant. - (PUSH_SIGNAL_MASK): New macro. - * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM (). - LEAVE is unnecessary. Check bounds of jmp_buf. - * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols - in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until - immediately before tail-call. - * sysdeps/i386/setjmp.S: Likewise. - * sysdeps/i386/bsd-_setjmp.S: Likewise. - * sysdeps/i386/bsd-setjmp.S: Likewise. - -2000-06-29 Jakub Jelinek - - * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and - versioned_symbol. - * sysdeps/sparc/fpu/fesetenv.c: Likewise. - * sysdeps/sparc/fpu/feupdateenv.c: Likewise. - * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise. - * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise. - * sysdeps/sparc/fpu/fegetenv.c: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file. - * shlib-versions: Make sparc64 GLIBC_2.2+ only. - -2000-06-29 Ulrich Drepper - - * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which - we later need to calling free(). - Patch by Matt Wilson . - - * stdio-common/tst-printf.c: Add test for above problem. - -2000-06-27 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file. - -2000-06-28 Jes Sorensen - - * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get - prototype for abs(). - * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise. - -2000-06-23 Andreas Jaeger - - * config.h.in: Don't use regparm with bounded pointers. - -2000-06-29 Ulrich Drepper - - * stdlib/grouping.h: Correctly handle multibyte thousands - separator and decimal point. - * stdlib/stdtod.c: Likewise. - * sysdeps/generic/strtol.c: Likewise. - - * locale/categories.def: Add entries for wide character decimal point - and thousands separator in numeric and monetary category. - -2000-06-28 Ulrich Drepper - - * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary - second definition and initialization of decimal. - -2000-06-28 Greg McGary - - * libio/libio.h (struct _IO_cookie_file): Move struct type defintion - out. - (_IO_FILE): Declare chain as (struct _IO_FILE_plus *). - * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion - in. - (_IO_JUMPS): Don't cast THIS--expect arg to be a - (struct _IO_FILE_plus *). - (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to - THIS, since _IO_JUMPS no longer does it implicitly. - (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare - arg type as (struct _IO_FILE_plus *). - (_IO_str_init_static, _IO_str_init_readonly): Declare 1st - arg as (_IO_strfile *). - * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly): - Declare 1st arg as (_IO_strfile *). - * libio/fileops.c (_IO_new_file_init): Declare - arg type as (struct _IO_FILE_plus *). - * libio/oldfileops.c (_IO_old_file_init): Likewise. - * libio/genops.c (_IO_link_in, _IO_un_link): Likewise. - (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): - Declare iteration pointer as (struct _IO_FILE_plus *). - (_IO_iter_next, _IO_iter_file): _IO_ITER is now - (struct _IO_FILE_plus *). - * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *). - * libio/oldstdfiles.c (_IO_list_all): Likewise. - (_IO_check_libio): Set user-visible handles to - (struct _IO_FILE_plus *). - * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles - to (struct _IO_FILE_plus *). - - * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer - whose high bound includes vtable to all functions that will use - vtable. For streambufs, pass pointer whose bounds include struct - _IO_strfile. - * libio/wgenops.c (_IO_wdefault_finish): Likewise. - * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. - * libio/iofopen.c (_IO_new_fopen): Likewise. - * libio/oldiofopen.c (_IO_old_fopen): Likewise. - * libio/iofopen64.c (_IO_fopen64): Likewise. - * libio/iopopen.c (_IO_new_popen): Likewise. - * libio/oldiopopen.c (_IO_old_popen): Likewise. - * libio/memstream.c (open_memstream): Likewise. - * libio/iovsscanf.c (_IO_vsscanf): Likewise. - * libio/iovsprintf.c (_IO_vsprintf): Likewise. - * libio/iovdprintf.c (_IO_vdprintf): Likewise. - * libio/iofopncook.c (_IO_cookie_init): Likewise. - * libio/obprintf.c (_IO_obstack_vprintf): Likewise. - * libio/vasprintf.c (_IO_vasprintf): Likewise. - * libio/vsnprintf.c (_IO_vsnprintf): Likewise. - * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. - * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise. - * stdlib/strfmon.c (__strfmon_l): Likewise. - * stdio-common/vfprintf.c (buffered_vfprintf): Likewise. - (vfprintf): Qualify computed-goto targets as unbounded. - -2000-06-28 Ulrich Drepper - - * stdio-common/vfscanf.c: Finally handle multibyte decimal point and - thousands separator correctly. - - * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF. - * stdio-common/vfwscanf.c: Likewise. - -2000-06-27 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument - count into signatures for most calls. - -2000-06-28 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use - the generic parser now. - -2000-06-28 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash - table entries are 32 bit on the ia64 (as specified by the ABI), - not 64 bit as on the Alpha. - - * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark - change of objects to use 32 bit hash table indices (see above). - -2000-06-28 Jes Sorensen - - * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get - prototype for abs(). - -2000-06-28 Wolfram Gloger - - * malloc/malloc.c (chunk_alloc): If extension of the linear heap - fails, try mmap_chunk() as a last resort even though n_mmaps_max - may have been reached. - -2000-06-28 Ulrich Drepper - - * locale/programs/ld-collate.c (insert_weights): Handle - symbols in multi-character weights correctly. - - * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls - depending on whether the input string is empty or not. - - * wcsmbs/mbrtowc.c: Calling function without input means clearing the - given state and not avoiding this by modifying a local object. - * wcsmbs/wcrtomb.c: Likewise. - - * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state - object since some incomplete characters might be in there. - - * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid - sequences with first byte 0x8e correctly. - - * iconvdata/jis0208.h: Remove redundant test. - -2000-06-27 Ulrich Drepper - - * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon. - Add it where it is needed now. - - * locale/programs/ld-ctype.c (ctype_finish): Take all characters from - the input charset into account when generating the hash table. - (allocate_arrays): Correct setting default width. Not all empty slots - in the table are filled, only those not covert explicitly by the - locale description and in the charset. - - * wctype/towctrans.c (__towctrans): Be graceful and accept error - return values from the wctrans function. - - * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for - wide character version. - For %C handling, test correct pointer variable for NULL. - - * wcsmbs/wctob.c: Handle WEOF special. - - * wcsmbs/wcwidth.h: 0xff in width array means invalid character. - - * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid - always-true test to avoid warning. - -2000-06-27 Greg McGary + * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address + and return an error in this case. + * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if + available. - * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). - * include/libc-symbols.h (weak_extern): Add extra level of expansion. - (symbol_version, default_symbol_version): Factor redundant - definitions out of conditional. +1999-07-18 Andreas Jaeger -2000-06-27 Jakub Jelinek + * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from + 1999-07-17 and adjust len parameter. + * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. + * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise. + * manual/socket.texi (Host Names): Likewise. + * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. + * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): + Likewise. + * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. + * resolv/gethnamaddr.c (gethostbyaddr): Likewise. + (ht_gethostbyaddr): Likewise. + (_gethtbyaddr): Likewise. - * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room, - not obstack_blank. +1999-07-17 Ulrich Drepper -2000-06-26 Ulrich Drepper + * resolv/netdb.h: Adjust parameters of gethostbyaddr and + gethostbyaddr_r. + * include/netdb.h: Likewise. + * inet/gethstbyad.c: Correct type of len parameter. + * inet/gethstbyad_r.c: Likewise. - * include/libc-symbols.h (symbol_version): Add extra level of - macro expansion. - (default_symbol_version): Likewise. + * sysdeps/unix/sysv/linux/arm/Versions: Undo last change. -2000-06-26 Greg McGary +1999-07-17 Zack Weinberg - * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space - for BP return value & push implicit struct-return pointer to - __errno_location. - * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. - (SYSCALL_ERROR_HANDLER): Likewise. - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h - (SYSCALL_ERROR_HANDLER): Likewise. + * include/libc-symbol.h: Clean up definitions of weak_alias, + strong_alias, symbol_version, etc. etc. + * posix/getopt.h: Use ctype.h to get features.h included, and don't + include it at all if __GNU_LIBRARY__ is already defined. - * Makeconfig: Add missing comment. - * csu/Makefile (extra-objs, omit-deps, install-lib): Add - BP-flavored startup object. - ($(objpfx)b$(start-installed-name)): New rule. - * include/libc-symbols.h (symbol_set_declare): Change type - of `__start_##set' and `__stop_##set' to pointer-to-function. - (symbol_set_declare): Change type of `set' to array of - pointer-to-function. - * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to - pointer-to-function. +1999-07-17 Ulrich Drepper - * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__. + * stdio-common/bug1.c: Include to get prototype for free. - * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures. - Remove clock_* and timer_* entries. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace - arg-count with signatures. + * malloc/malloc.c: Add missing chunk of patch from 1999-07-04. - * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM (). - Check bounds of arguments. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i686/add_n.S: Likewise. - - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/rawmemchr.S: Likewise. - * sysdeps/i386/i586/bzero.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/mempcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i686/bzero.S: Likewise. - * sysdeps/i386/i686/memcpy.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/strtok_r.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strcpy.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i686/strcmp.S: Likewise. - * sysdeps/i386/i686/strtok.S: Likewise. - * sysdeps/i386/i686/strtok_r.S: Likewise. - - * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM (). - * sysdeps/i386/fpu/fesetenv.c: Likewise. - * sysdeps/i386/fpu/feupdateenv.c: Likewise. - * sysdeps/i386/fpu/fgetexcptflg.c: Likewise. - * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. - - * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/addmul_1.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. - -2000-06-26 Ulrich Drepper - - * rt/Makefile (librt-routines): Add clock_nanosleep. - * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep. - * sysdeps/generic/clock_nanosleep.c: New file. - * sysdeps/unix/clock_nanosleep.c: New file. - * sysdeps/unix/i386/i586/clock_nanosleep.c: New file. - * time/time.h: Declare clock_nanosleep. + * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t + type for tv_usec element. + * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t. + * sysdeps/generic/bits/time.h: Likewise. + * sysdeps/mach/hurd/bits/time.h: Likewise. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * sysdeps/generic/bits/types.h: Likewise. + * posix/sys/types.h: Define suseconds_t for X/Open. + +1999-07-15 Ulrich Drepper + + * stdio-common/bug1.c: Avoid memory leak. + + * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep + program deterministic. + * sysdeps/i386/fpu/e_powf.S: Likewise. + * sysdeps/i386/fpu/e_powl.S: Likewise. + +1999-07-15 Jakub Jelinek + + * math/Makefile: Add t_sincosl and k_sincosl support routines. + * math/math_private.h (__kernel_sincosl): New declaration. + * sysdeps/generic/t_sincosl.c: New file. + * sysdeps/generic/k_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/k_cosl.c: New file. + * sysdeps/ieee754/ldbl-128/k_sinl.c: New file. + * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file. + * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use + __kernel_sincosl. + * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New + definition. -2000-06-26 Greg McGary +1999-07-15 Ulrich Drepper + + * posix/unistd.h: Use __PMT for exit. + +1999-07-15 Philip Blundell + + * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb, + _outw, _outl): Added to GLIBC_2.1.2. + +1999-07-15 Ulrich Drepper + + * posix/fnmatch.h: Use __name instead of __string in prototype to + allow use outside glibc. + +1999-07-14 Ulrich Drepper + + * time/tst-strptime.c (main): Add one more test case. Produce + output even when result is ok. + + * time/strptime.c (get_number): Handle number parsing more + consistent with strftime. Only parse a given number of digits. + (get_alt_number): Fix implementation. Was broken. + (strptime_internal): Add third parameter to get_number and + get_alt_number calls. + +1999-07-13 Jakub Jelinek + + * elf/ldd.bash.in: Add support for multiple dynamic linkers. + * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*, + try both 32bit and 64bit dynamic linker. + * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite + script on all sparc targets. + +1999-07-13 Jakub Jelinek + + * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer + to int. + +1999-07-13 Andreas Schwab + + * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent + inlining. Fixes PR libc/1198. + +1999-07-14 Andreas Schwab + + * Makerules (common-generated): Don't prepend $(common-objpfx). + +1999-07-12 Jakub Jelinek + + * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad + as _FPIO_CONST_OFFSET does not cover all bits after binary dot. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE + quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE + macro. + * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 + instead of ieee754. + * sysdeps/arm/Implies: Likewise. + * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and + ieee754/ldbl-96 instead of ieee754. + * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686. + * sysdeps/generic/e_atanhl.c: New file. + * sysdeps/generic/e_coshl.c: New file. + * sysdeps/generic/e_sinhl.c: New file. + * sysdeps/generic/e_gammal_r.c: New file. + * sysdeps/generic/e_hypotl.c: New file. + * sysdeps/generic/s_cbrtl.c: New file. + * sysdeps/generic/s_asinhl.c: New file. + * sysdeps/generic/s_tanhl.c: New file. + * sysdeps/generic/w_expl.c: New file. + * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 + instead of ieee754. + * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and + ieee754/ldbl-96 instead of ieee754. + * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold. + * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of + printf_fphex. + * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 + instead of ieee754. + * sysdeps/mips/mips64/Implies: Likewise. + * sysdeps/powerpc/Implies: Likewise. + * sysdeps/sparc/Implies: Remove. + * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and + ieee754/dbl-64. + * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64, + and ieee754/ldbl-128. + + * sysdeps/sparc/bits/wordsize.h: Remove. + * sysdeps/sparc/fpu/bits/mathinline.h: New file. + * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH + only for sparc32. + * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file. + * sysdeps/sparc/sparc32/bits/wordsize.h: New file. + * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file. + * sysdeps/sparc/sparc64/bits/wordsize.h: New file. + * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double + support. + + * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation + of carries. Optimize. + + * sysdeps/libm-ieee754/e_exp10.c: Moved to ... + * sysdeps/generic/e_exp10.c: ...here. + * sysdeps/libm-ieee754/e_exp10f.c: Moved to ... + * sysdeps/generic/e_exp10f.c: ...here. + * sysdeps/libm-ieee754/e_exp10l.c: Moved to ... + * sysdeps/generic/e_exp10l.c: ...here. + * sysdeps/libm-ieee754/e_scalb.c: Moved to ... + * sysdeps/generic/e_scalb.c: ...here. + * sysdeps/libm-ieee754/e_scalbf.c: Moved to ... + * sysdeps/generic/e_scalbf.c: ...here. + * sysdeps/libm-ieee754/e_scalbl.c: Moved to ... + * sysdeps/generic/e_scalbl.c: ...here. + * sysdeps/libm-ieee754/s_cacos.c: Moved to ... + * sysdeps/generic/s_cacos.c: ...here. + * sysdeps/libm-ieee754/s_cacosf.c: Moved to ... + * sysdeps/generic/s_cacosf.c: ...here. + * sysdeps/libm-ieee754/s_cacosh.c: Moved to ... + * sysdeps/generic/s_cacosh.c: ...here. + * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ... + * sysdeps/generic/s_cacoshf.c: ...here. + * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ... + * sysdeps/generic/s_cacoshl.c: ...here. + * sysdeps/libm-ieee754/s_cacosl.c: Moved to ... + * sysdeps/generic/s_cacosl.c: ...here. + * sysdeps/libm-ieee754/s_casin.c: Moved to ... + * sysdeps/generic/s_casin.c: ...here. + * sysdeps/libm-ieee754/s_casinf.c: Moved to ... + * sysdeps/generic/s_casinf.c: ...here. + * sysdeps/libm-ieee754/s_casinh.c: Moved to ... + * sysdeps/generic/s_casinh.c: ...here. + * sysdeps/libm-ieee754/s_casinhf.c: Moved to ... + * sysdeps/generic/s_casinhf.c: ...here. + * sysdeps/libm-ieee754/s_casinhl.c: Moved to ... + * sysdeps/generic/s_casinhl.c: ...here. + * sysdeps/libm-ieee754/s_casinl.c: Moved to ... + * sysdeps/generic/s_casinl.c: ...here. + * sysdeps/libm-ieee754/s_catan.c: Moved to ... + * sysdeps/generic/s_catan.c: ...here. + * sysdeps/libm-ieee754/s_catanf.c: Moved to ... + * sysdeps/generic/s_catanf.c: ...here. + * sysdeps/libm-ieee754/s_catanh.c: Moved to ... + * sysdeps/generic/s_catanh.c: ...here. + * sysdeps/libm-ieee754/s_catanhf.c: Moved to ... + * sysdeps/generic/s_catanhf.c: ...here. + * sysdeps/libm-ieee754/s_catanhl.c: Moved to ... + * sysdeps/generic/s_catanhl.c: ...here. + * sysdeps/libm-ieee754/s_catanl.c: Moved to ... + * sysdeps/generic/s_catanl.c: ...here. + * sysdeps/libm-ieee754/s_ccos.c: Moved to ... + * sysdeps/generic/s_ccos.c: ...here. + * sysdeps/libm-ieee754/s_ccosf.c: Moved to ... + * sysdeps/generic/s_ccosf.c: ...here. + * sysdeps/libm-ieee754/s_ccosh.c: Moved to ... + * sysdeps/generic/s_ccosh.c: ...here. + * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ... + * sysdeps/generic/s_ccoshf.c: ...here. + * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ... + * sysdeps/generic/s_ccoshl.c: ...here. + * sysdeps/libm-ieee754/s_ccosl.c: Moved to ... + * sysdeps/generic/s_ccosl.c: ...here. + * sysdeps/libm-ieee754/s_cexp.c: Moved to ... + * sysdeps/generic/s_cexp.c: ...here. + * sysdeps/libm-ieee754/s_cexpf.c: Moved to ... + * sysdeps/generic/s_cexpf.c: ...here. + * sysdeps/libm-ieee754/s_cexpl.c: Moved to ... + * sysdeps/generic/s_cexpl.c: ...here. + * sysdeps/libm-ieee754/s_clog.c: Moved to ... + * sysdeps/generic/s_clog.c: ...here. + * sysdeps/libm-ieee754/s_clog10.c: Moved to ... + * sysdeps/generic/s_clog10.c: ...here. + * sysdeps/libm-ieee754/s_clog10f.c: Moved to ... + * sysdeps/generic/s_clog10f.c: ...here. + * sysdeps/libm-ieee754/s_clog10l.c: Moved to ... + * sysdeps/generic/s_clog10l.c: ...here. + * sysdeps/libm-ieee754/s_clogf.c: Moved to ... + * sysdeps/generic/s_clogf.c: ...here. + * sysdeps/libm-ieee754/s_clogl.c: Moved to ... + * sysdeps/generic/s_clogl.c: ...here. + * sysdeps/libm-ieee754/s_cpow.c: Moved to ... + * sysdeps/generic/s_cpow.c: ...here. + * sysdeps/libm-ieee754/s_cpowf.c: Moved to ... + * sysdeps/generic/s_cpowf.c: ...here. + * sysdeps/libm-ieee754/s_cpowl.c: Moved to ... + * sysdeps/generic/s_cpowl.c: ...here. + * sysdeps/libm-ieee754/s_cproj.c: Moved to ... + * sysdeps/generic/s_cproj.c: ...here. + * sysdeps/libm-ieee754/s_cprojf.c: Moved to ... + * sysdeps/generic/s_cprojf.c: ...here. + * sysdeps/libm-ieee754/s_cprojl.c: Moved to ... + * sysdeps/generic/s_cprojl.c: ...here. + * sysdeps/libm-ieee754/s_csin.c: Moved to ... + * sysdeps/generic/s_csin.c: ...here. + * sysdeps/libm-ieee754/s_csinf.c: Moved to ... + * sysdeps/generic/s_csinf.c: ...here. + * sysdeps/libm-ieee754/s_csinh.c: Moved to ... + * sysdeps/generic/s_csinh.c: ...here. + * sysdeps/libm-ieee754/s_csinhf.c: Moved to ... + * sysdeps/generic/s_csinhf.c: ...here. + * sysdeps/libm-ieee754/s_csinhl.c: Moved to ... + * sysdeps/generic/s_csinhl.c: ...here. + * sysdeps/libm-ieee754/s_csinl.c: Moved to ... + * sysdeps/generic/s_csinl.c: ...here. + * sysdeps/libm-ieee754/s_csqrt.c: Moved to ... + * sysdeps/generic/s_csqrt.c: ...here. + * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ... + * sysdeps/generic/s_csqrtf.c: ...here. + * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ... + * sysdeps/generic/s_csqrtl.c: ...here. + * sysdeps/libm-ieee754/s_ctan.c: Moved to ... + * sysdeps/generic/s_ctan.c: ...here. + * sysdeps/libm-ieee754/s_ctanf.c: Moved to ... + * sysdeps/generic/s_ctanf.c: ...here. + * sysdeps/libm-ieee754/s_ctanh.c: Moved to ... + * sysdeps/generic/s_ctanh.c: ...here. + * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ... + * sysdeps/generic/s_ctanhf.c: ...here. + * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ... + * sysdeps/generic/s_ctanhl.c: ...here. + * sysdeps/libm-ieee754/s_ctanl.c: Moved to ... + * sysdeps/generic/s_ctanl.c: ...here. + * sysdeps/libm-ieee754/s_fdim.c: Moved to ... + * sysdeps/generic/s_fdim.c: ...here. + * sysdeps/libm-ieee754/s_fdimf.c: Moved to ... + * sysdeps/generic/s_fdimf.c: ...here. + * sysdeps/libm-ieee754/s_fdiml.c: Moved to ... + * sysdeps/generic/s_fdiml.c: ...here. + * sysdeps/libm-ieee754/s_fma.c: Moved to ... + * sysdeps/generic/s_fma.c: ...here. + * sysdeps/libm-ieee754/s_fmaf.c: Moved to ... + * sysdeps/generic/s_fmaf.c: ...here. + * sysdeps/libm-ieee754/s_fmal.c: Moved to ... + * sysdeps/generic/s_fmal.c: ...here. + * sysdeps/libm-ieee754/s_fmax.c: Moved to ... + * sysdeps/generic/s_fmax.c: ...here. + * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ... + * sysdeps/generic/s_fmaxf.c: ...here. + * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ... + * sysdeps/generic/s_fmaxl.c: ...here. + * sysdeps/libm-ieee754/s_fmin.c: Moved to ... + * sysdeps/generic/s_fmin.c: ...here. + * sysdeps/libm-ieee754/s_fminf.c: Moved to ... + * sysdeps/generic/s_fminf.c: ...here. + * sysdeps/libm-ieee754/s_fminl.c: Moved to ... + * sysdeps/generic/s_fminl.c: ...here. + * sysdeps/libm-ieee754/s_ldexp.c: Moved to ... + * sysdeps/generic/s_ldexp.c: ...here. + * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ... + * sysdeps/generic/s_ldexpf.c: ...here. + * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ... + * sysdeps/generic/s_ldexpl.c: ...here. + * sysdeps/libm-ieee754/s_nan.c: Moved to ... + * sysdeps/generic/s_nan.c: ...here. + * sysdeps/libm-ieee754/s_nanf.c: Moved to ... + * sysdeps/generic/s_nanf.c: ...here. + * sysdeps/libm-ieee754/s_nanl.c: Moved to ... + * sysdeps/generic/s_nanl.c: ...here. + * sysdeps/libm-ieee754/s_significand.c: Moved to ... + * sysdeps/generic/s_significand.c: ...here. + * sysdeps/libm-ieee754/s_significandf.c: Moved to ... + * sysdeps/generic/s_significandf.c: ...here. + * sysdeps/libm-ieee754/s_significandl.c: Moved to ... + * sysdeps/generic/s_significandl.c: ...here. + Avoid conversion from int to double and then to long double. + * sysdeps/libm-ieee754/w_acos.c: Moved to ... + * math/w_acos.c: ...here. + * sysdeps/libm-ieee754/w_acosf.c: Moved to ... + * math/w_acosf.c: ...here. + * sysdeps/libm-ieee754/w_acosh.c: Moved to ... + * math/w_acosh.c: ...here. + * sysdeps/libm-ieee754/w_acoshf.c: Moved to ... + * math/w_acoshf.c: ...here. + * sysdeps/libm-ieee754/w_acoshl.c: Moved to ... + * math/w_acoshl.c: ...here. + * sysdeps/libm-ieee754/w_acosl.c: Moved to ... + * math/w_acosl.c: ...here. + * sysdeps/libm-ieee754/w_asin.c: Moved to ... + * math/w_asin.c: ...here. + * sysdeps/libm-ieee754/w_asinf.c: Moved to ... + * math/w_asinf.c: ...here. + * sysdeps/libm-ieee754/w_asinl.c: Moved to ... + * math/w_asinl.c: ...here. + * sysdeps/libm-ieee754/w_atan2.c: Moved to ... + * math/w_atan2.c: ...here. + * sysdeps/libm-ieee754/w_atan2f.c: Moved to ... + * math/w_atan2f.c: ...here. + * sysdeps/libm-ieee754/w_atan2l.c: Moved to ... + * math/w_atan2l.c: ...here. + * sysdeps/libm-ieee754/w_atanh.c: Moved to ... + * math/w_atanh.c: ...here. + * sysdeps/libm-ieee754/w_atanhf.c: Moved to ... + * math/w_atanhf.c: ...here. + * sysdeps/libm-ieee754/w_atanhl.c: Moved to ... + * math/w_atanhl.c: ...here. + * sysdeps/libm-ieee754/w_cosh.c: Moved to ... + * math/w_cosh.c: ...here. + * sysdeps/libm-ieee754/w_coshf.c: Moved to ... + * math/w_coshf.c: ...here. + * sysdeps/libm-ieee754/w_coshl.c: Moved to ... + * math/w_coshl.c: ...here. + * sysdeps/libm-ieee754/w_drem.c: Moved to ... + * math/w_drem.c: ...here. + * sysdeps/libm-ieee754/w_dremf.c: Moved to ... + * math/w_dremf.c: ...here. + * sysdeps/libm-ieee754/w_dreml.c: Moved to ... + * math/w_dreml.c: ...here. + * sysdeps/libm-ieee754/w_exp10.c: Moved to ... + * math/w_exp10.c: ...here. + * sysdeps/libm-ieee754/w_exp10f.c: Moved to ... + * math/w_exp10f.c: ...here. + * sysdeps/libm-ieee754/w_exp10l.c: Moved to ... + * math/w_exp10l.c: ...here. + * sysdeps/libm-ieee754/w_exp2.c: Moved to ... + * math/w_exp2.c: ...here. + * sysdeps/libm-ieee754/w_exp2f.c: Moved to ... + * math/w_exp2f.c: ...here. + * sysdeps/libm-ieee754/w_exp2l.c: Moved to ... + * math/w_exp2l.c: ...here. + * sysdeps/libm-ieee754/w_fmod.c: Moved to ... + * math/w_fmod.c: ...here. + * sysdeps/libm-ieee754/w_fmodf.c: Moved to ... + * math/w_fmodf.c: ...here. + * sysdeps/libm-ieee754/w_fmodl.c: Moved to ... + * math/w_fmodl.c: ...here. + * sysdeps/libm-ieee754/w_hypot.c: Moved to ... + * math/w_hypot.c: ...here. + * sysdeps/libm-ieee754/w_hypotf.c: Moved to ... + * math/w_hypotf.c: ...here. + * sysdeps/libm-ieee754/w_hypotl.c: Moved to ... + * math/w_hypotl.c: ...here. + * sysdeps/libm-ieee754/w_j0.c: Moved to ... + * math/w_j0.c: ...here. + * sysdeps/libm-ieee754/w_j0f.c: Moved to ... + * math/w_j0f.c: ...here. + * sysdeps/libm-ieee754/w_j0l.c: Moved to ... + * math/w_j0l.c: ...here. + * sysdeps/libm-ieee754/w_j1.c: Moved to ... + * math/w_j1.c: ...here. + * sysdeps/libm-ieee754/w_j1f.c: Moved to ... + * math/w_j1f.c: ...here. + * sysdeps/libm-ieee754/w_j1l.c: Moved to ... + * math/w_j1l.c: ...here. + * sysdeps/libm-ieee754/w_jn.c: Moved to ... + * math/w_jn.c: ...here. + * sysdeps/libm-ieee754/w_jnf.c: Moved to ... + * math/w_jnf.c: ...here. + * sysdeps/libm-ieee754/w_jnl.c: Moved to ... + * math/w_jnl.c: ...here. + * sysdeps/libm-ieee754/w_lgamma.c: Moved to ... + * math/w_lgamma.c: ...here. + * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ... + * math/w_lgamma_r.c: ...here. + * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ... + * math/w_lgammaf.c: ...here. + * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ... + * math/w_lgammaf_r.c: ...here. + * sysdeps/libm-ieee754/w_lgammal.c: Moved to ... + * math/w_lgammal.c: ...here. + * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ... + * math/w_lgammal_r.c: ...here. + * sysdeps/libm-ieee754/w_log.c: Moved to ... + * math/w_log.c: ...here. + * sysdeps/libm-ieee754/w_log10.c: Moved to ... + * math/w_log10.c: ...here. + * sysdeps/libm-ieee754/w_log10f.c: Moved to ... + * math/w_log10f.c: ...here. + * sysdeps/libm-ieee754/w_log10l.c: Moved to ... + * math/w_log10l.c: ...here. + * sysdeps/libm-ieee754/w_logf.c: Moved to ... + * math/w_logf.c: ...here. + * sysdeps/libm-ieee754/w_logl.c: Moved to ... + * math/w_logl.c: ...here. + * sysdeps/libm-ieee754/w_pow.c: Moved to ... + * math/w_pow.c: ...here. + * sysdeps/libm-ieee754/w_powf.c: Moved to ... + * math/w_powf.c: ...here. + * sysdeps/libm-ieee754/w_powl.c: Moved to ... + * math/w_powl.c: ...here. + * sysdeps/libm-ieee754/w_remainder.c: Moved to ... + * math/w_remainder.c: ...here. + * sysdeps/libm-ieee754/w_remainderf.c: Moved to ... + * math/w_remainderf.c: ...here. + * sysdeps/libm-ieee754/w_remainderl.c: Moved to ... + * math/w_remainderl.c: ...here. + * sysdeps/libm-ieee754/w_scalb.c: Moved to ... + * math/w_scalb.c: ...here. + * sysdeps/libm-ieee754/w_scalbf.c: Moved to ... + * math/w_scalbf.c: ...here. + * sysdeps/libm-ieee754/w_scalbl.c: Moved to ... + * math/w_scalbl.c: ...here. + * sysdeps/libm-ieee754/w_sinh.c: Moved to ... + * math/w_sinh.c: ...here. + * sysdeps/libm-ieee754/w_sinhf.c: Moved to ... + * math/w_sinhf.c: ...here. + * sysdeps/libm-ieee754/w_sinhl.c: Moved to ... + * math/w_sinhl.c: ...here. + * sysdeps/libm-ieee754/w_sqrt.c: Moved to ... + * math/w_sqrt.c: ...here. + * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ... + * math/w_sqrtf.c: ...here. + * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ... + * math/w_sqrtl.c: ...here. + * sysdeps/libm-ieee754/w_tgamma.c: Moved to ... + * math/w_tgamma.c: ...here. + * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ... + * math/w_tgammaf.c: ...here. + * sysdeps/libm-ieee754/w_tgammal.c: Moved to ... + * math/w_tgammal.c: ...here. + * sysdeps/libm-i387/e_acos.S: Moved to ... + * sysdeps/i386/fpu/e_acos.S: ...here. + * sysdeps/libm-i387/e_acosf.S: Moved to ... + * sysdeps/i386/fpu/e_acosf.S: ...here. + * sysdeps/libm-i387/e_acosh.S: Moved to ... + * sysdeps/i386/fpu/e_acosh.S: ...here. + * sysdeps/libm-i387/e_acoshf.S: Moved to ... + * sysdeps/i386/fpu/e_acoshf.S: ...here. + * sysdeps/libm-i387/e_acoshl.S: Moved to ... + * sysdeps/i386/fpu/e_acoshl.S: ...here. + * sysdeps/libm-i387/e_acosl.S: Moved to ... + * sysdeps/i386/fpu/e_acosl.S: ...here. + * sysdeps/libm-i387/e_asin.S: Moved to ... + * sysdeps/i386/fpu/e_asin.S: ...here. + * sysdeps/libm-i387/e_asinf.S: Moved to ... + * sysdeps/i386/fpu/e_asinf.S: ...here. + * sysdeps/libm-i387/e_asinl.S: Moved to ... + * sysdeps/i386/fpu/e_asinl.S: ...here. + * sysdeps/libm-i387/e_atan2.S: Moved to ... + * sysdeps/i386/fpu/e_atan2.S: ...here. + * sysdeps/libm-i387/e_atan2f.S: Moved to ... + * sysdeps/i386/fpu/e_atan2f.S: ...here. + * sysdeps/libm-i387/e_atan2l.S: Moved to ... + * sysdeps/i386/fpu/e_atan2l.S: ...here. + * sysdeps/libm-i387/e_atanh.S: Moved to ... + * sysdeps/i386/fpu/e_atanh.S: ...here. + * sysdeps/libm-i387/e_atanhf.S: Moved to ... + * sysdeps/i386/fpu/e_atanhf.S: ...here. + * sysdeps/libm-i387/e_atanhl.S: Moved to ... + * sysdeps/i386/fpu/e_atanhl.S: ...here. + * sysdeps/libm-i387/e_exp.S: Moved to ... + * sysdeps/i386/fpu/e_exp.S: ...here. + * sysdeps/libm-i387/e_exp10.S: Moved to ... + * sysdeps/i386/fpu/e_exp10.S: ...here. + * sysdeps/libm-i387/e_exp10f.S: Moved to ... + * sysdeps/i386/fpu/e_exp10f.S: ...here. + * sysdeps/libm-i387/e_exp10l.S: Moved to ... + * sysdeps/i386/fpu/e_exp10l.S: ...here. + * sysdeps/libm-i387/e_expf.S: Moved to ... + * sysdeps/i386/fpu/e_expf.S: ...here. + * sysdeps/libm-i387/e_expl.S: Moved to ... + * sysdeps/i386/fpu/e_expl.S: ...here. + * sysdeps/libm-i387/e_fmod.S: Moved to ... + * sysdeps/i386/fpu/e_fmod.S: ...here. + * sysdeps/libm-i387/e_fmodf.S: Moved to ... + * sysdeps/i386/fpu/e_fmodf.S: ...here. + * sysdeps/libm-i387/e_fmodl.S: Moved to ... + * sysdeps/i386/fpu/e_fmodl.S: ...here. + * sysdeps/libm-i387/e_hypot.S: Moved to ... + * sysdeps/i386/fpu/e_hypot.S: ...here. + * sysdeps/libm-i387/e_hypotf.S: Moved to ... + * sysdeps/i386/fpu/e_hypotf.S: ...here. + * sysdeps/libm-i387/e_log.S: Moved to ... + * sysdeps/i386/fpu/e_log.S: ...here. + * sysdeps/libm-i387/e_log10.S: Moved to ... + * sysdeps/i386/fpu/e_log10.S: ...here. + * sysdeps/libm-i387/e_log10f.S: Moved to ... + * sysdeps/i386/fpu/e_log10f.S: ...here. + * sysdeps/libm-i387/e_log10l.S: Moved to ... + * sysdeps/i386/fpu/e_log10l.S: ...here. + * sysdeps/libm-i387/e_logf.S: Moved to ... + * sysdeps/i386/fpu/e_logf.S: ...here. + * sysdeps/libm-i387/e_logl.S: Moved to ... + * sysdeps/i386/fpu/e_logl.S: ...here. + * sysdeps/libm-i387/e_pow.S: Moved to ... + * sysdeps/i386/fpu/e_pow.S: ...here. + * sysdeps/libm-i387/e_powf.S: Moved to ... + * sysdeps/i386/fpu/e_powf.S: ...here. + * sysdeps/libm-i387/e_powl.S: Moved to ... + * sysdeps/i386/fpu/e_powl.S: ...here. + * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ... + * sysdeps/i386/fpu/e_rem_pio2l.c: ...here. + * sysdeps/libm-i387/e_remainder.S: Moved to ... + * sysdeps/i386/fpu/e_remainder.S: ...here. + * sysdeps/libm-i387/e_remainderf.S: Moved to ... + * sysdeps/i386/fpu/e_remainderf.S: ...here. + * sysdeps/libm-i387/e_remainderl.S: Moved to ... + * sysdeps/i386/fpu/e_remainderl.S: ...here. + * sysdeps/libm-i387/e_scalb.S: Moved to ... + * sysdeps/i386/fpu/e_scalb.S: ...here. + * sysdeps/libm-i387/e_scalbf.S: Moved to ... + * sysdeps/i386/fpu/e_scalbf.S: ...here. + * sysdeps/libm-i387/e_scalbl.S: Moved to ... + * sysdeps/i386/fpu/e_scalbl.S: ...here. + * sysdeps/libm-i387/e_sqrt.S: Moved to ... + * sysdeps/i386/fpu/e_sqrt.S: ...here. + * sysdeps/libm-i387/e_sqrtf.S: Moved to ... + * sysdeps/i386/fpu/e_sqrtf.S: ...here. + * sysdeps/libm-i387/e_sqrtl.S: Moved to ... + * sysdeps/i386/fpu/e_sqrtl.S: ...here. + * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ... + * sysdeps/i386/fpu/k_rem_pio2l.c: ...here. + * sysdeps/libm-i387/s_asinh.S: Moved to ... + * sysdeps/i386/fpu/s_asinh.S: ...here. + * sysdeps/libm-i387/s_asinhf.S: Moved to ... + * sysdeps/i386/fpu/s_asinhf.S: ...here. + * sysdeps/libm-i387/s_asinhl.S: Moved to ... + * sysdeps/i386/fpu/s_asinhl.S: ...here. + * sysdeps/libm-i387/s_atan.S: Moved to ... + * sysdeps/i386/fpu/s_atan.S: ...here. + * sysdeps/libm-i387/s_atanf.S: Moved to ... + * sysdeps/i386/fpu/s_atanf.S: ...here. + * sysdeps/libm-i387/s_atanl.S: Moved to ... + * sysdeps/i386/fpu/s_atanl.S: ...here. + * sysdeps/libm-i387/s_cbrt.S: Moved to ... + * sysdeps/i386/fpu/s_cbrt.S: ...here. + * sysdeps/libm-i387/s_cbrtf.S: Moved to ... + * sysdeps/i386/fpu/s_cbrtf.S: ...here. + * sysdeps/libm-i387/s_cbrtl.S: Moved to ... + * sysdeps/i386/fpu/s_cbrtl.S: ...here. + * sysdeps/libm-i387/s_ceil.S: Moved to ... + * sysdeps/i386/fpu/s_ceil.S: ...here. + * sysdeps/libm-i387/s_ceilf.S: Moved to ... + * sysdeps/i386/fpu/s_ceilf.S: ...here. + * sysdeps/libm-i387/s_ceill.S: Moved to ... + * sysdeps/i386/fpu/s_ceill.S: ...here. + * sysdeps/libm-i387/s_cexp.S: Moved to ... + * sysdeps/i386/fpu/s_cexp.S: ...here. + * sysdeps/libm-i387/s_cexpf.S: Moved to ... + * sysdeps/i386/fpu/s_cexpf.S: ...here. + * sysdeps/libm-i387/s_cexpl.S: Moved to ... + * sysdeps/i386/fpu/s_cexpl.S: ...here. + * sysdeps/libm-i387/s_copysign.S: Moved to ... + * sysdeps/i386/fpu/s_copysign.S: ...here. + * sysdeps/libm-i387/s_copysignf.S: Moved to ... + * sysdeps/i386/fpu/s_copysignf.S: ...here. + * sysdeps/libm-i387/s_copysignl.S: Moved to ... + * sysdeps/i386/fpu/s_copysignl.S: ...here. + * sysdeps/libm-i387/s_cos.S: Moved to ... + * sysdeps/i386/fpu/s_cos.S: ...here. + * sysdeps/libm-i387/s_cosf.S: Moved to ... + * sysdeps/i386/fpu/s_cosf.S: ...here. + * sysdeps/libm-i387/s_cosl.S: Moved to ... + * sysdeps/i386/fpu/s_cosl.S: ...here. + * sysdeps/libm-i387/s_exp2.S: Moved to ... + * sysdeps/i386/fpu/s_exp2.S: ...here. + * sysdeps/libm-i387/s_exp2f.S: Moved to ... + * sysdeps/i386/fpu/s_exp2f.S: ...here. + * sysdeps/libm-i387/s_exp2l.S: Moved to ... + * sysdeps/i386/fpu/s_exp2l.S: ...here. + * sysdeps/libm-i387/s_expm1.S: Moved to ... + * sysdeps/i386/fpu/s_expm1.S: ...here. + * sysdeps/libm-i387/s_expm1f.S: Moved to ... + * sysdeps/i386/fpu/s_expm1f.S: ...here. + * sysdeps/libm-i387/s_expm1l.S: Moved to ... + * sysdeps/i386/fpu/s_expm1l.S: ...here. + * sysdeps/libm-i387/s_fdim.S: Moved to ... + * sysdeps/i386/fpu/s_fdim.S: ...here. + * sysdeps/libm-i387/s_fdimf.S: Moved to ... + * sysdeps/i386/fpu/s_fdimf.S: ...here. + * sysdeps/libm-i387/s_fdiml.S: Moved to ... + * sysdeps/i386/fpu/s_fdiml.S: ...here. + * sysdeps/libm-i387/s_finite.S: Moved to ... + * sysdeps/i386/fpu/s_finite.S: ...here. + * sysdeps/libm-i387/s_finitef.S: Moved to ... + * sysdeps/i386/fpu/s_finitef.S: ...here. + * sysdeps/libm-i387/s_finitel.S: Moved to ... + * sysdeps/i386/fpu/s_finitel.S: ...here. + * sysdeps/libm-i387/s_floor.S: Moved to ... + * sysdeps/i386/fpu/s_floor.S: ...here. + * sysdeps/libm-i387/s_floorf.S: Moved to ... + * sysdeps/i386/fpu/s_floorf.S: ...here. + * sysdeps/libm-i387/s_floorl.S: Moved to ... + * sysdeps/i386/fpu/s_floorl.S: ...here. + * sysdeps/libm-i387/s_fma.S: Moved to ... + * sysdeps/i386/fpu/s_fma.S: ...here. + * sysdeps/libm-i387/s_fmaf.S: Moved to ... + * sysdeps/i386/fpu/s_fmaf.S: ...here. + * sysdeps/libm-i387/s_fmal.S: Moved to ... + * sysdeps/i386/fpu/s_fmal.S: ...here. + * sysdeps/libm-i387/s_fmax.S: Moved to ... + * sysdeps/i386/fpu/s_fmax.S: ...here. + * sysdeps/libm-i387/s_fmaxf.S: Moved to ... + * sysdeps/i386/fpu/s_fmaxf.S: ...here. + * sysdeps/libm-i387/s_fmaxl.S: Moved to ... + * sysdeps/i386/fpu/s_fmaxl.S: ...here. + * sysdeps/libm-i387/s_fmin.S: Moved to ... + * sysdeps/i386/fpu/s_fmin.S: ...here. + * sysdeps/libm-i387/s_fminf.S: Moved to ... + * sysdeps/i386/fpu/s_fminf.S: ...here. + * sysdeps/libm-i387/s_fminl.S: Moved to ... + * sysdeps/i386/fpu/s_fminl.S: ...here. + * sysdeps/libm-i387/s_frexp.S: Moved to ... + * sysdeps/i386/fpu/s_frexp.S: ...here. + * sysdeps/libm-i387/s_frexpf.S: Moved to ... + * sysdeps/i386/fpu/s_frexpf.S: ...here. + * sysdeps/libm-i387/s_frexpl.S: Moved to ... + * sysdeps/i386/fpu/s_frexpl.S: ...here. + * sysdeps/libm-i387/s_ilogb.S: Moved to ... + * sysdeps/i386/fpu/s_ilogb.S: ...here. + * sysdeps/libm-i387/s_ilogbf.S: Moved to ... + * sysdeps/i386/fpu/s_ilogbf.S: ...here. + * sysdeps/libm-i387/s_ilogbl.S: Moved to ... + * sysdeps/i386/fpu/s_ilogbl.S: ...here. + * sysdeps/libm-i387/s_llrint.S: Moved to ... + * sysdeps/i386/fpu/s_llrint.S: ...here. + * sysdeps/libm-i387/s_llrintf.S: Moved to ... + * sysdeps/i386/fpu/s_llrintf.S: ...here. + * sysdeps/libm-i387/s_llrintl.S: Moved to ... + * sysdeps/i386/fpu/s_llrintl.S: ...here. + * sysdeps/libm-i387/s_log1p.S: Moved to ... + * sysdeps/i386/fpu/s_log1p.S: ...here. + * sysdeps/libm-i387/s_log1pf.S: Moved to ... + * sysdeps/i386/fpu/s_log1pf.S: ...here. + * sysdeps/libm-i387/s_log1pl.S: Moved to ... + * sysdeps/i386/fpu/s_log1pl.S: ...here. + * sysdeps/libm-i387/s_log2.S: Moved to ... + * sysdeps/i386/fpu/s_log2.S: ...here. + * sysdeps/libm-i387/s_log2f.S: Moved to ... + * sysdeps/i386/fpu/s_log2f.S: ...here. + * sysdeps/libm-i387/s_log2l.S: Moved to ... + * sysdeps/i386/fpu/s_log2l.S: ...here. + * sysdeps/libm-i387/s_logb.S: Moved to ... + * sysdeps/i386/fpu/s_logb.S: ...here. + * sysdeps/libm-i387/s_logbf.S: Moved to ... + * sysdeps/i386/fpu/s_logbf.S: ...here. + * sysdeps/libm-i387/s_logbl.S: Moved to ... + * sysdeps/i386/fpu/s_logbl.S: ...here. + * sysdeps/libm-i387/s_lrint.S: Moved to ... + * sysdeps/i386/fpu/s_lrint.S: ...here. + * sysdeps/libm-i387/s_lrintf.S: Moved to ... + * sysdeps/i386/fpu/s_lrintf.S: ...here. + * sysdeps/libm-i387/s_lrintl.S: Moved to ... + * sysdeps/i386/fpu/s_lrintl.S: ...here. + * sysdeps/libm-i387/s_nearbyint.S: Moved to ... + * sysdeps/i386/fpu/s_nearbyint.S: ...here. + * sysdeps/libm-i387/s_nearbyintf.S: Moved to ... + * sysdeps/i386/fpu/s_nearbyintf.S: ...here. + * sysdeps/libm-i387/s_nearbyintl.S: Moved to ... + * sysdeps/i386/fpu/s_nearbyintl.S: ...here. + * sysdeps/libm-i387/s_remquo.S: Moved to ... + * sysdeps/i386/fpu/s_remquo.S: ...here. + * sysdeps/libm-i387/s_remquof.S: Moved to ... + * sysdeps/i386/fpu/s_remquof.S: ...here. + * sysdeps/libm-i387/s_remquol.S: Moved to ... + * sysdeps/i386/fpu/s_remquol.S: ...here. + * sysdeps/libm-i387/s_rint.S: Moved to ... + * sysdeps/i386/fpu/s_rint.S: ...here. + * sysdeps/libm-i387/s_rintf.S: Moved to ... + * sysdeps/i386/fpu/s_rintf.S: ...here. + * sysdeps/libm-i387/s_rintl.S: Moved to ... + * sysdeps/i386/fpu/s_rintl.S: ...here. + * sysdeps/libm-i387/s_scalbn.S: Moved to ... + * sysdeps/i386/fpu/s_scalbn.S: ...here. + * sysdeps/libm-i387/s_scalbnf.S: Moved to ... + * sysdeps/i386/fpu/s_scalbnf.S: ...here. + * sysdeps/libm-i387/s_scalbnl.S: Moved to ... + * sysdeps/i386/fpu/s_scalbnl.S: ...here. + * sysdeps/libm-i387/s_significand.S: Moved to ... + * sysdeps/i386/fpu/s_significand.S: ...here. + * sysdeps/libm-i387/s_significandf.S: Moved to ... + * sysdeps/i386/fpu/s_significandf.S: ...here. + * sysdeps/libm-i387/s_significandl.S: Moved to ... + * sysdeps/i386/fpu/s_significandl.S: ...here. + * sysdeps/libm-i387/s_sin.S: Moved to ... + * sysdeps/i386/fpu/s_sin.S: ...here. + * sysdeps/libm-i387/s_sincos.S: Moved to ... + * sysdeps/i386/fpu/s_sincos.S: ...here. + * sysdeps/libm-i387/s_sincosf.S: Moved to ... + * sysdeps/i386/fpu/s_sincosf.S: ...here. + * sysdeps/libm-i387/s_sincosl.S: Moved to ... + * sysdeps/i386/fpu/s_sincosl.S: ...here. + * sysdeps/libm-i387/s_sinf.S: Moved to ... + * sysdeps/i386/fpu/s_sinf.S: ...here. + * sysdeps/libm-i387/s_sinl.S: Moved to ... + * sysdeps/i386/fpu/s_sinl.S: ...here. + * sysdeps/libm-i387/s_tan.S: Moved to ... + * sysdeps/i386/fpu/s_tan.S: ...here. + * sysdeps/libm-i387/s_tanf.S: Moved to ... + * sysdeps/i386/fpu/s_tanf.S: ...here. + * sysdeps/libm-i387/s_tanl.S: Moved to ... + * sysdeps/i386/fpu/s_tanl.S: ...here. + * sysdeps/libm-i387/s_trunc.S: Moved to ... + * sysdeps/i386/fpu/s_trunc.S: ...here. + * sysdeps/libm-i387/s_truncf.S: Moved to ... + * sysdeps/i386/fpu/s_truncf.S: ...here. + * sysdeps/libm-i387/s_truncl.S: Moved to ... + * sysdeps/i386/fpu/s_truncl.S: ...here. + * sysdeps/libm-ieee754/k_standard.c: Moved to ... + * sysdeps/ieee754/k_standard.c: ...here. + * sysdeps/libm-ieee754/s_lib_version.c: Moved to ... + * sysdeps/ieee754/s_lib_version.c: ...here. + * sysdeps/libm-ieee754/s_matherr.c: Moved to ... + * sysdeps/ieee754/s_matherr.c: ...here. + * sysdeps/libm-ieee754/s_signgam.c: Moved to ... + * sysdeps/ieee754/s_signgam.c: ...here. + * sysdeps/ieee754/dbl2mpn.c: Moved to ... + * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here. + * sysdeps/ieee754/mpn2dbl.c: Moved to ... + * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here. + * sysdeps/libm-ieee754/e_acos.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_acos.c: ...here. + * sysdeps/libm-ieee754/e_acosh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_acosh.c: ...here. + * sysdeps/libm-ieee754/e_asin.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_asin.c: ...here. + * sysdeps/libm-ieee754/e_atan2.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_atan2.c: ...here. + * sysdeps/libm-ieee754/e_atanh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_atanh.c: ...here. + * sysdeps/libm-ieee754/e_cosh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_cosh.c: ...here. + * sysdeps/libm-ieee754/e_exp.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_exp.c: ...here. + * sysdeps/libm-ieee754/e_fmod.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_fmod.c: ...here. + * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here. + * sysdeps/libm-ieee754/e_hypot.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_hypot.c: ...here. + * sysdeps/libm-ieee754/e_j0.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_j0.c: ...here. + * sysdeps/libm-ieee754/e_j1.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_j1.c: ...here. + * sysdeps/libm-ieee754/e_jn.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_jn.c: ...here. + * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here. + * sysdeps/libm-ieee754/e_log.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_log.c: ...here. + * sysdeps/libm-ieee754/e_log10.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_log10.c: ...here. + * sysdeps/libm-ieee754/e_pow.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_pow.c: ...here. + * sysdeps/libm-ieee754/e_remainder.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_remainder.c: ...here. + * sysdeps/libm-ieee754/e_sinh.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_sinh.c: ...here. + * sysdeps/libm-ieee754/e_sqrt.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here. + * sysdeps/libm-ieee754/k_cos.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_cos.c: ...here. + * sysdeps/libm-ieee754/k_sin.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_sin.c: ...here. + * sysdeps/libm-ieee754/k_tan.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_tan.c: ...here. + * sysdeps/libm-ieee754/s_asinh.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_asinh.c: ...here. + * sysdeps/libm-ieee754/s_atan.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_atan.c: ...here. + * sysdeps/libm-ieee754/s_cbrt.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here. + * sysdeps/libm-ieee754/s_ceil.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_ceil.c: ...here. + * sysdeps/libm-ieee754/s_copysign.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_copysign.c: ...here. + * sysdeps/libm-ieee754/s_cos.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_cos.c: ...here. + * sysdeps/libm-ieee754/s_erf.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_erf.c: ...here. + * sysdeps/libm-ieee754/s_exp2.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_exp2.c: ...here. + * sysdeps/libm-ieee754/s_expm1.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_expm1.c: ...here. + * sysdeps/libm-ieee754/s_fabs.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_fabs.c: ...here. + * sysdeps/libm-ieee754/s_finite.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_finite.c: ...here. + * sysdeps/libm-ieee754/s_floor.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_floor.c: ...here. + * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here. + * sysdeps/libm-ieee754/s_frexp.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_frexp.c: ...here. + * sysdeps/libm-ieee754/s_ilogb.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here. + * sysdeps/libm-ieee754/s_isinf.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_isinf.c: ...here. + * sysdeps/libm-ieee754/s_isnan.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_isnan.c: ...here. + (__isnan): Comment above function says it returns 0 or 1, but it + used to return 0 or -1. + * sysdeps/libm-ieee754/s_llrint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_llrint.c: ...here. + * sysdeps/libm-ieee754/s_llround.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_llround.c: ...here. + * sysdeps/libm-ieee754/s_log1p.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_log1p.c: ...here. + * sysdeps/libm-ieee754/s_log2.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_log2.c: ...here. + * sysdeps/libm-ieee754/s_logb.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_logb.c: ...here. + * sysdeps/libm-ieee754/s_lrint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_lrint.c: ...here. + * sysdeps/libm-ieee754/s_lround.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_lround.c: ...here. + * sysdeps/libm-ieee754/s_modf.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_modf.c: ...here. + * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here. + * sysdeps/libm-ieee754/s_nextafter.c: Moved to ... + * sysdeps/generic/s_nextafter.c: ...here. + Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE. + * sysdeps/libm-ieee754/s_remquo.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_remquo.c: ...here. + * sysdeps/libm-ieee754/s_rint.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_rint.c: ...here. + * sysdeps/libm-ieee754/s_round.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_round.c: ...here. + * sysdeps/libm-ieee754/s_scalbn.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here. + * sysdeps/libm-ieee754/s_signbit.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_signbit.c: ...here. + * sysdeps/libm-ieee754/s_sin.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_sin.c: ...here. + * sysdeps/libm-ieee754/s_sincos.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_sincos.c: ...here. + * sysdeps/libm-ieee754/s_tan.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_tan.c: ...here. + * sysdeps/libm-ieee754/s_tanh.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_tanh.c: ...here. + * sysdeps/libm-ieee754/s_trunc.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_trunc.c: ...here. + * sysdeps/libm-ieee754/t_exp2.h: Moved to ... + * sysdeps/ieee754/dbl-64/t_exp2.h: ...here. + * sysdeps/libm-ieee754/w_exp.c: Moved to ... + * sysdeps/ieee754/dbl-64/w_exp.c: ...here. + * sysdeps/ieee754/mpn2flt.c: Moved to ... + * sysdeps/ieee754/flt-32/mpn2flt.c: ...here. + * sysdeps/libm-ieee754/e_acosf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_acosf.c: ...here. + * sysdeps/libm-ieee754/e_acoshf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_acoshf.c: ...here. + * sysdeps/libm-ieee754/e_asinf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_asinf.c: ...here. + * sysdeps/libm-ieee754/e_atan2f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_atan2f.c: ...here. + * sysdeps/libm-ieee754/e_atanhf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_atanhf.c: ...here. + * sysdeps/libm-ieee754/e_coshf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_coshf.c: ...here. + * sysdeps/libm-ieee754/e_expf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_expf.c: ...here. + * sysdeps/libm-ieee754/e_fmodf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_fmodf.c: ...here. + * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ... + * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here. + * sysdeps/libm-ieee754/e_hypotf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_hypotf.c: ...here. + * sysdeps/libm-ieee754/e_j0f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_j0f.c: ...here. + * sysdeps/libm-ieee754/e_j1f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_j1f.c: ...here. + * sysdeps/libm-ieee754/e_jnf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_jnf.c: ...here. + * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ... + * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here. + * sysdeps/libm-ieee754/e_log10f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_log10f.c: ...here. + * sysdeps/libm-ieee754/e_logf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_logf.c: ...here. + * sysdeps/libm-ieee754/e_powf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_powf.c: ...here. + * sysdeps/libm-ieee754/e_remainderf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_remainderf.c: ...here. + * sysdeps/libm-ieee754/e_sinhf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_sinhf.c: ...here. + * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ... + * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here. + * sysdeps/libm-ieee754/k_cosf.c: Moved to ... + * sysdeps/ieee754/flt-32/k_cosf.c: ...here. + * sysdeps/libm-ieee754/k_sinf.c: Moved to ... + * sysdeps/ieee754/flt-32/k_sinf.c: ...here. + * sysdeps/libm-ieee754/k_tanf.c: Moved to ... + * sysdeps/ieee754/flt-32/k_tanf.c: ...here. + * sysdeps/libm-ieee754/s_asinhf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_asinhf.c: ...here. + * sysdeps/libm-ieee754/s_atanf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_atanf.c: ...here. + * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here. + * sysdeps/libm-ieee754/s_ceilf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_ceilf.c: ...here. + * sysdeps/libm-ieee754/s_copysignf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_copysignf.c: ...here. + * sysdeps/libm-ieee754/s_cosf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_cosf.c: ...here. + * sysdeps/libm-ieee754/s_erff.c: Moved to ... + * sysdeps/ieee754/flt-32/s_erff.c: ...here. + * sysdeps/libm-ieee754/s_exp2f.c: Moved to ... + * sysdeps/ieee754/flt-32/s_exp2f.c: ...here. + * sysdeps/libm-ieee754/s_expm1f.c: Moved to ... + * sysdeps/ieee754/flt-32/s_expm1f.c: ...here. + * sysdeps/libm-ieee754/s_fabsf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_fabsf.c: ...here. + * sysdeps/libm-ieee754/s_finitef.c: Moved to ... + * sysdeps/ieee754/flt-32/s_finitef.c: ...here. + * sysdeps/libm-ieee754/s_floorf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_floorf.c: ...here. + * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here. + * sysdeps/libm-ieee754/s_frexpf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_frexpf.c: ...here. + * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here. + * sysdeps/libm-ieee754/s_isinff.c: Moved to ... + * sysdeps/ieee754/flt-32/s_isinff.c: ...here. + * sysdeps/libm-ieee754/s_isnanf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_isnanf.c: ...here. + * sysdeps/libm-ieee754/s_llrintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_llrintf.c: ...here. + * sysdeps/libm-ieee754/s_llroundf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_llroundf.c: ...here. + * sysdeps/libm-ieee754/s_log1pf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_log1pf.c: ...here. + * sysdeps/libm-ieee754/s_log2f.c: Moved to ... + * sysdeps/ieee754/flt-32/s_log2f.c: ...here. + * sysdeps/libm-ieee754/s_logbf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_logbf.c: ...here. + * sysdeps/libm-ieee754/s_lrintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_lrintf.c: ...here. + * sysdeps/libm-ieee754/s_lroundf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_lroundf.c: ...here. + * sysdeps/libm-ieee754/s_modff.c: Moved to ... + * sysdeps/ieee754/flt-32/s_modff.c: ...here. + * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here. + * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here. + * sysdeps/libm-ieee754/s_remquof.c: Moved to ... + * sysdeps/ieee754/flt-32/s_remquof.c: ...here. + * sysdeps/libm-ieee754/s_rintf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_rintf.c: ...here. + * sysdeps/libm-ieee754/s_roundf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_roundf.c: ...here. + * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here. + * sysdeps/libm-ieee754/s_signbitf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_signbitf.c: ...here. + * sysdeps/libm-ieee754/s_sincosf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_sincosf.c: ...here. + * sysdeps/libm-ieee754/s_sinf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_sinf.c: ...here. + * sysdeps/libm-ieee754/s_tanf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_tanf.c: ...here. + * sysdeps/libm-ieee754/s_tanhf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_tanhf.c: ...here. + * sysdeps/libm-ieee754/s_truncf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_truncf.c: ...here. + * sysdeps/libm-ieee754/t_exp2f.h: Moved to ... + * sysdeps/ieee754/flt-32/t_exp2f.h: ...here. + * sysdeps/libm-ieee754/w_expf.c: Moved to ... + * sysdeps/ieee754/flt-32/w_expf.c: ...here. + * sysdeps/libm-ieee754/e_acoshl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here. + * sysdeps/libm-ieee754/e_atan2l.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here. + * sysdeps/libm-ieee754/e_atanhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here. + * sysdeps/libm-ieee754/e_coshl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here. + * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here. + * sysdeps/libm-ieee754/e_hypotl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here. + * sysdeps/libm-ieee754/e_remainderl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here. + * sysdeps/libm-ieee754/e_sinhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here. + * sysdeps/libm-ieee754/s_asinhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here. + * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here. + * sysdeps/libm-ieee754/s_ceill.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here. + * sysdeps/libm-ieee754/s_copysignl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here. + * sysdeps/libm-ieee754/s_cosl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here. + * sysdeps/libm-ieee754/s_fabsl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here. + * sysdeps/libm-ieee754/s_finitel.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here. + * sysdeps/libm-ieee754/s_floorl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here. + * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here. + * sysdeps/libm-ieee754/s_frexpl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here. + * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here. + * sysdeps/libm-ieee754/s_llrintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here. + * sysdeps/libm-ieee754/s_llroundl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here. + * sysdeps/libm-ieee754/s_logbl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here. + * sysdeps/libm-ieee754/s_lrintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here. + * sysdeps/libm-ieee754/s_lroundl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here. + * sysdeps/libm-ieee754/s_modfl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here. + (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not + INSERT_WORDS. + * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here. + (__nearbyintl): Fix for exponents 2^30. + * sysdeps/libm-ieee754/s_remquol.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here. + * sysdeps/libm-ieee754/s_rintl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here. + (__rintl): Fix for exponents 2^30. + * sysdeps/libm-ieee754/s_roundl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here. + * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here. + (__scalbnl): Fix exponent for subnormal result. + * sysdeps/libm-ieee754/s_signbitl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here. + * sysdeps/libm-ieee754/s_sincosl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here. + * sysdeps/libm-ieee754/s_sinl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here. + * sysdeps/libm-ieee754/s_tanhl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here. + * sysdeps/libm-ieee754/s_tanl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here. + * sysdeps/libm-ieee754/s_truncl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here. + * sysdeps/libm-ieee754/w_expl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/w_expl.c: ...here. + * sysdeps/libm-i387/i686/s_fminl.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fminl.S: ...here. + * sysdeps/libm-i387/s_scalblnf.c: Moved to ... + * sysdeps/i386/fpu/s_scalblnf.c: ...here. + * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ... + * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here. + * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fdiml.S: ...here. + * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ... + * sysdeps/i386/fpu/e_rem_pio2f.c: ...here. + * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ... + * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here. + * sysdeps/libm-i387/i686/s_fmin.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmin.S: ...here. + * sysdeps/libm-i387/k_rem_pio2.c: Moved to ... + * sysdeps/i386/fpu/k_rem_pio2.c: ...here. + * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ... + * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here. + * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ... + * sysdeps/i386/fpu/k_rem_pio2f.c: ...here. + * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ... + * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here. + * sysdeps/libm-i387/s_scalbln.c: Moved to ... + * sysdeps/i386/fpu/s_scalbln.c: ...here. + * sysdeps/libm-ieee754/s_scalbln.c: Moved to ... + * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here. + * sysdeps/libm-i387/i686/s_fmax.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmax.S: ...here. + * sysdeps/libm-i387/t_exp.c: Moved to ... + * sysdeps/i386/fpu/t_exp.c: ...here. + * sysdeps/libm-ieee754/t_exp.c: Moved to ... + * sysdeps/ieee754/dbl-64/t_exp.c: ...here. + * sysdeps/libm-i387/e_rem_pio2.c: Moved to ... + * sysdeps/i386/fpu/e_rem_pio2.c: ...here. + * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ... + * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here. + * sysdeps/libm-i387/s_isinfl.c: Moved to ... + * sysdeps/i386/fpu/s_isinfl.c: ...here. + * sysdeps/libm-ieee754/s_isinfl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here. + * sysdeps/libm-i387/s_scalblnl.c: Moved to ... + * sysdeps/i386/fpu/s_scalblnl.c: ...here. + * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here. + Fix exponent for subnormal result. + * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ... + * sysdeps/generic/s_nexttowardl.c: ...here. + * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here. + * sysdeps/libm-i387/s_isnanl.c: Moved to ... + * sysdeps/i386/fpu/s_isnanl.c: ...here. + * sysdeps/libm-ieee754/s_isnanl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here. + Comment above function says it returns 0 or 1, but it used to return + 0 or -1. + * sysdeps/libm-i387/i686/s_fminf.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fminf.S: ...here. + * sysdeps/libm-i387/i686/s_fdim.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fdim.S: ...here. + * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fdimf.S: ...here. + * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ... + * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here. + * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here. + Cannot compare exponents with different biases without adjusting. + * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here. + Cannot compare exponents with different biases without adjusting. + * sysdeps/libm-i387/s_nextafterl.c: Moved to ... + * sysdeps/i386/fpu/s_nextafterl.c: ...here. + * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here. + * sysdeps/ieee754/ldbl2mpn.c: Moved to ... + * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here. + Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file. + * sysdeps/ieee754/mpn2ldbl.c: Moved to ... + * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here. + Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file. + * sysdeps/libm-ieee754/Dist: Split into ... + * sysdeps/ieee754/dbl-64/Dist: ...this and ... + * sysdeps/ieee754/flt-32/Dist: ...this file. + + * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file. + * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file. + * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file. + * sysdeps/ieee754/ldbl-96/strtold.c: New file. + * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file. + * sysdeps/ieee754/ldbl-128/s_sinl.c: New file. + * sysdeps/ieee754/ldbl-128/s_ceill.c: New file. + * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file. + * sysdeps/ieee754/ldbl-128/ieee754.h: New file. + * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file. + * sysdeps/ieee754/ldbl-128/s_finitel.c: New file. + * sysdeps/ieee754/ldbl-128/s_roundl.c: New file. + * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file. + * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file. + * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file. + * sysdeps/ieee754/ldbl-128/s_cosl.c: New file. + * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file. + * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file. + * sysdeps/ieee754/ldbl-128/s_floorl.c: New file. + * sysdeps/ieee754/ldbl-128/s_logbl.c: New file. + * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file. + * sysdeps/ieee754/ldbl-128/s_remquol.c: New file. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file. + * sysdeps/ieee754/ldbl-128/s_tanl.c: New file. + * sysdeps/ieee754/ldbl-128/s_rintl.c: New file. + * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file. + * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file. + * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file. + * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file. + * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file. + * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file. + * sysdeps/ieee754/ldbl-128/s_truncl.c: New file. + * sysdeps/ieee754/ldbl-128/s_modfl.c: New file. + * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file. + * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file. + * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file. + * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file. + * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file. + * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file. + * sysdeps/ieee754/ldbl-128/strtold.c: New file. + * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file. + * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file. + * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file. + * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file. + * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file. + * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file. + + * sysdeps/generic/math_ldbl.h: New file. + * sysdeps/generic/s_nexttowardf.c: New file. + * sysdeps/generic/strtold.c: New file. + * sysdeps/generic/ldbl2mpn.c: New file. + + * math/machine/endian.h: Remove. + * sysdeps/i386/fpu/Implies: Remove. + * sysdeps/ieee754/Implies: Remove. + + * math/math_private.h: Move long double macros to math_ldbl.h + header. + +1999-07-12 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive + connections without a hostname set address to localhost address. + +1999-07-11 H.J. Lu + + * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get + nscd's own strong version of the get[a-z]*_r function. + * nscd/hstcache.c: Likewise. + * nscd/pwdcache.c: Likewise. - * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX, - INSN1, INSN2, TEXT, GLOBL): Remove macros. - (ALIGN): Cleanup surrounding conditionals. +1999-07-12 Ulrich Drepper - * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax. - Call ENTER/LEAVE macros. - * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax. - * sysdeps/i386/submul_1.S: Likewise. + * configure.in: Recognize 2.95 as gcc version number. + Patch by Joel Klecker . - * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas - syntax. Define & use symbolic argument stack offsets. Call - ENTER/LEAVE macros. - * sysdeps/i386/i586/mul_1.S: Likewise. - * sysdeps/i386/i586/submul_1.S: Likewise. +1999-07-12 Andreas Schwab -2000-06-25 Greg McGary + * elf/rtld.c (dl_main): When putting back the interpreter object + handle the case where a missing object might occur in the list of + objects but not in the search list when in trace mode. - * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy, - not as bcopy. +1999-07-11 Ulrich Drepper -2000-06-25 Ulrich Drepper + * Versions.def (libnss_hesiod): Add GLIBC_2.2. + * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add + _nss_hesiod_initgroups. - * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format. - * iconvdata/gen-8bit-gap.sh: Likewise. - * iconvdata/gen-8bit.sh: Likewise. +1999-07-11 Roland McGrath - * iconv/gconv_open.c (__gconv_open): Move comment to correct position. + * sysdeps/mach/hurd/brk.c (static_data_start): New variable. + (_hurd_set_brk, init_brk): Use that instead of &__data_start. + Initialize it from &__data_start if defined, or else &_end. - * locale/programs/ld-collate.c (collate_read): Don't actually read - the copy locale if we are ignoring the content. +1999-07-11 Roland McGrath - * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for - unknown character. + * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate + for MAP_ANON, prot==PROT_READ|PROT_WRITE. - * locale/programs/ld-collate.c: Correct handling of different - collation sections. - * locale/programs/localedef.c (add_to_readlist): Take locale pointer - as extra parameter from which to copy category information. - Change all callers. - (load_locale): Likewise. - * locale/programs/localedef.h: Update prototypes of add_to_readlist - and load_locale. - * locale/programs/ld-ctype.c: Update call to add_to_readlist. - * locale/programs/locfile.h: Likewise. - * locale/programs/locfile-kw.gperf: Add entry for script. - * locale/programs/locfile-token.h: Add tok_script. - - * locale/programs/locale.c: Update copyright year. - * locale/programs/localedef.c: Likewise. +1999-07-09 Ulrich Drepper -2000-06-23 Thorsten Kukuk + * stdio-common/vfprintf.c (buffered_vfprintf): Add locking. - * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from - Jens Moeller . +1999-07-09 H.J. Lu -2000-06-24 Ulrich Drepper + * Versions.def (GLIBC_2.1.2): Added. - * locale/programs/ld-name.c (name_finish): Add missing format - specifier to test for name_fmt. + * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the + old one as GLIBC_2.0. + * nss/getXXbyYY_r.c: Likewise. - * locale/programs/ld-address.c (iso639): Correct length of string - elements. - (iso3166): Likewise. + * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to + GLIBC_2.1.2. + * inet/Versions (getaliasbyname_r, getaliasent_r, + gethostbyaddr_r, gethostbyname2_r, gethostbyname_r, + gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r, + getnetgrent_r, getprotobyname_r, getprotobynumber_r, + getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r, + getservbyname_r): Likewise. + * pwd/Versions (getpwent_r, getpwuid_r): Likewise. + * shadow/Versions (getspent_r, getspnam_r): Likewise. + +1999-07-09 Ulrich Drepper + + * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old + compilers. + (__memset_cc): Likewise. + + * sysdeps/generic/libc-start.c: For SUID binaries check whether + the standard file descriptors are open. + Reported by Chris Evans . - * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define. + * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap. + * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in + range of mmap. If not fail. + Patches by Daniel Jacobowitz . - * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct): - Define. + * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage + before the relocation happened. + Patch by Franz Sirl . - * elf/elf.h (NT_PRFPXREG): Define. + * Versions.def (libnsl): Add GLIBC_2.2. + * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall. -2000-06-23 Ulrich Drepper +1999-07-08 Cristian Gafton - * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define - PTRACE_GETFPXREGS and PTRACE_SETFPXREGS. + * nis/yp_xdr.c (xdr_ypall): New function. -2000-06-23 Andreas Schwab +1999-07-09 Andreas Schwab - * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count - with signatures. + * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h. -2000-06-23 Andreas Jaeger + * dlfcn/Makefile (headers): Add bits/dlfcn.h. - * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion. +1999-07-09 Ulrich Drepper - * io/test-stat.c: Add copyright header, mention Maciej. + * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups. + * hesiod/hesiod-grp.c: Add initgroups support. + Patch by Nalin Dahyabhai . - * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root, - SYS_mincore, SYS_madvise): Added. +1999-07-08 Andreas Schwab - * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of - execve. + * libio/iofopncook.c (fopencookie): Set _fileno to -2. -2000-06-22 Ulrich Drepper + * libio/libioP.h (_IO_file_is_open): Only check for -1, not all + negative numbers. - * libio/Makefile (tests): Add tst-getwc and tst_putwc. - (CFLAGS-tst_putwc.c): New definition. - * libio/tst_getwc.c: New file. - * libio/tst_getwc.input: New file. - * libio/tst_putwc.c: New file. + * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not + EOF. + * libio/oldfileops.c (_IO_old_file_close_it): Likewise. - * include/string.h: Add prototype for __strdup. +1999-07-08 Andreas Schwab -2000-06-22 Greg McGary + * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode. - * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures. - * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname): - Fix signatures. +1999-07-08 Andreas Schwab -2000-06-23 Jes Sorensen + * libio/fileno.c: Return -1 instead of EOF and set errno if the + stream is not a real file stream. - * sysdeps/ia64/memcpy.S: Disable branch predict instruction. +1999-07-08 Andreas Schwab -2000-06-22 Jes Sorensen + * manual/charset.texi: Fix typos. - * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file. +1999-07-07 Ulrich Drepper -2000-06-22 Jes Sorensen + * sysdeps/gnu/Makefile (libdl-routines): Add eval. - * shlib-versions: Bump so versions to 6.1 for libc and libm on the - ia64 to allow 2.2+ libraries to coexist with 2.1 ones. +1999-07-06 Zack Weinberg -2000-06-22 Ulrich Drepper + * dlfcn: New directory. Move the following files from elf: + dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c, + dlopenold.c, dlsym.c, dlvsym.c. + * dlfcn/Makefile: New file. + * dlfcn/Versions: New file. + * dlfcn/dlsym.c: All ELF-specific code split out to new + function _dl_sym. + * dlfcn/dlvsym.c: All ELF-specific code split out to new + function _dl_vsym. + * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are + implemented here. - * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM. - * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM, - and __S_TYPEISSHM. - * sysdeps/mach/hurd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/bits/stat.h: Likewise. - * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/bits/stat.h: Likewise. - * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise. - * sysdeps/unix/sysv/aix/bits/stat.h: Likewise. - * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and - S_TYPEISSHM. + * dlfcn/dladdr.c: Remove all references to ELF data structures + or headers. + * dlfcn/dlclose.c: Likewise. + * dlfcn/dlerror.c: Likewise. + * dlfcn/dlopen.c: Likewise. + * dlfcn/dlopenold.c: Likewise. -2000-06-22 Andreas Jaeger + * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is + yes, empty otherwise. + (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes, + depending on build-shared. + (subdirs): Add $(dlfcn). + (rpath-dirs): Add dlfcn. + * elf/Makefile: Remove all references to libdl or its + components, except the ones relating to the test cases. + (routines): Add dl-sym. + * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2. + (libdl): Delete. + + * elf/dl-close.c (_dl_close): Change argument to void *. + * elf/dl-open.c (_dl_open): Change return type to void *. + * elf/eval.c: Removed. + * elf/ldsodefs.h: Move prototypes of _dl_catch_error, + _dlerror_run, _dl_open, _dl_close, _dl_addr, and + _dl_mcount_wrapper_check to include/dlfcn.h. Delete + _CALL_DL_FCT macro. + * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here. + Include real header from dlfcn directory. + * include/ldsodefs.h: Removed. + + * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT. + * nss/getXXbyYY_r.c: Likewise. + * nss/getXXent_r.c: Likewise. + * iconv/gconv.c: Likewise. Don't include ldsodefs.h. + * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h. + * iconv/skeleton.c: Don't include ldsodefs.h. + * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count - with signatures. +1999-07-07 Ulrich Drepper - * elf/dl-reloc.c (_dl_relocate_object): Fix typos. + * sysdeps/generic/setenv.c: Describe problem. - * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry. + * malloc/malloc.c (request2size): Also set errno if failing. -2000-06-21 Ulrich Drepper + * malloc/malloc.c (request2size): Take care of overflow in + addition. - * iconv/gconv_trans.c: Move initialization of winbuf and winbufend - ahead. + * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd + (NULL, != 0) correctly. -2000-06-21 Greg McGary + * elf/dl-load.c: Use a few more __builtin_expect. - * Makerules (elide-routines.*, elide-bp-thunks): - Define unconditionally. + * sysdeps/posix/getcwd.c: When resizing buffer make sure new size + is large enough. -2000-06-21 Jes Sorensen +1999-07-07 Andreas Schwab - * sysdeps/unix/sysv/linux/ia64/Makefile: New file. + * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted. + (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions. + (_PATH_DEVPTMX): Use _PATH_DEV. -2000-06-21 Andreas Jaeger +1999-07-07 Andreas Jaeger - * io/Makefile (tests): Add test-stat. - (CFLAGS-test-stat.c): New. + * malloc/tst-malloc.c: New file. Tests some basic functionality. + * malloc/Makefile (tests): Add tst-malloc. - * io/test-stat.c: New file from Maciej W. Rozycki - . +1999-07-06 Ulrich Drepper -2000-06-21 Jes Sorensen + * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new + convention. - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements - in __rlimit_resource to make them match the kernel order. - rlim_t is always 64 bit, use __rlim64_t to declare it - unconditionally. + * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more + motherboards. + Patch by Jay Estabrook. -2000-05-04 Jes Sorensen + * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in + ldd for SPARC. + * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file. + Patch by Cristian Gafton. - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef - RLIM_INFINITY before defining it to avoid clash with kernel header +1999-07-02 Cristian Gafton -2000-05-03 Jes Sorensen + * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0" + instead of "return NULL" to make C++ happy. - * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file. +1999-07-04 Mark Kettenis -2000-06-21 Ulrich Drepper + * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not + allowed by the file access mode of the open file. - * sysdeps/unix/sysv/linux/ia64/Versions: New file. +1999-07-06 Ulrich Drepper -2000-06-21 Andreas Jaeger + * sysdeps/generic/setfpucw.c: Include math.h to get all needed + macros defined. - * stdio-common/temptest.c: Include . - * stdio-common/tst-fileno.c: Likewise. - * stdio-common/scanf4.c: Likewise. - * stdio-common/scanf5.c: Likewise. - * time/clocktest.c: Likewise. - * posix/test-vfork.c: Likewise. - * posix/globtest.c: Likewise. - * io/test-utime.c: Likewise. - * wctype/test_wcfuncs.c: Likewise. - * crypt/cert.c: Likewise. +1999-07-03 Jakub Jelinek - * stdio-common/tst-printfsz.c: Include . - * libio/tst_swscanf.c: Likewise. - * libio/tst_wscanf.c: Likewise. - * posix/runtests.c: Likewise. - * posix/tst-getaddrinfo.c: Likewise. - * posix/wordexp-test.c: Likewise. - * misc/tst-efgcvt.c: Likewise. + * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize. + * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize. + * sysdeps/sparc/sparc64/rshift.S: Likewise. + * sysdeps/sparc/sparc64/mul_1.S: Optimize. - * stdlib/tst-xpg-basename.c: Include and . - * nss/test-netdb.c: Likewise. +1999-07-04 Wolfram Gloger - * sysdeps/unix/sysv/linux/configure.in: Add check for minimal - supported kernel for MIPS. + * malloc/malloc.c (request2size): Check for overflow and return + NULL whenever it is encountered. - * elf/vismod2.c: Include for abort prototype. - * rt/aio_suspend.c: Likewise. +1999-07-04 Zack Weinberg -2000-06-20 Ulrich Drepper + * sysdeps/posix/tempname.c (__gen_tempname): Add + ability to create directories. Replace OPENIT and LARGEFILE + args with a single flags parameter. + * sysdeps/generic/tempname.c: Likewise. + * include/stdio.h: Adjust prototype of __gen_tempname to + match. Define symbolic constants for second argument. - * math/libm-test.inc: Include . + * misc/mkdtemp.c: New file, provides new function mkdtemp(). + * stdlib/stdlib.h: Prototype it. + * misc/Versions: Export it. + * misc/Makefile (routines): Add mktemp. + * manual/filesys.texi: Document it. -2000-06-20 Jes Sorensen + * misc/mktemp.c: Adjust call of __gen_tempname to match new + convention. + * misc/mkstemp.c: Likewise. + * stdio-common/tempnam.c: Likewise. + * stdio-common/tmpfile.c: Likewise. + * stdio-common/tmpfile64.c: Likewise. + * stdio-common/tmpnam.c: Likewise. + * stdio-common/tmpnam_r.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file. +1999-07-05 Jakub Jelinek -2000-06-20 Jes Sorensen + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support + R_SPARC_OLO10 relocations. + * elf/elf.h (R_SPARC_OLO10): Fix comment. - * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file. - * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file. +1999-07-02 Tim Waugh -2000-06-20 David Mosberger-Tang + * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It + doesn't belong in the tests, but in the wordexp implementation. - * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file. + * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't + split fields. -2000-06-20 Jes Sorensen +1999-07-01 Cristian Gafton - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo. + * time/strptime.c (strptime): Initialize the tm struct first to avoid + returning bogus results on incomplete data. + (strptime_internal): day_of_the_week() requres both tm_mon and + tm_mday to be initialized. + Compute them first if they are not given. + (strptime_internal): (have_mon, have_mday): New variables. -2000-06-20 Ulrich Drepper +1999-07-01 Andreas Jaeger - * locale/programs/ld-collate.c (insert_value): Now take string and - length instead of struct token* parameter. Adjust use of token. - (handle_ellipsis): Likewise. - (collate_read): Allow names and transform them into names - to be passed to insert_value and handle_ellipsis. + * inet/rcmd.c (__icheckhost): Fix typo in last patch. - * locale/programs/ld-ctype.c (uninames): New array with names of - digits in format. - (ctype_finish): Correct search for space character value. Likewise - for default outdigits values. +1999-07-01 Andreas Jaeger -2000-06-20 Greg McGary + * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon. + * wcsmbs/wcsrchr.c (wcsrchr): Likewise. - * Makerules (objects): Add BP thunks. +1999-07-01 Andreas Jaeger -2000-06-20 Ulrich Drepper + * posix/wordexp.c (parse_tilde): Handle failing call to + get.*_r functions correctly for non-existing entry. + * sysdeps/posix/cuserid.c (cuserid): Likewise. + * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise. - * locale/programs/charmap.c (parse_charmap): Handle UCS names also - in width definitions. +1999-06-30 Ulrich Drepper -2000-06-20 Andreas Jaeger + * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to + getxxbyYY_r functions correctly for non-existing entry. + * sunrpc/getrpcport.c: Likewise. + * sunrpc/clnt_simp.c: Likewise. + * inet/rexec.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * inet/rcmd.c: Likewise. + * sysdeps/generic/glob.c: Likewise. - * sysdeps/mips/fpu/libm-test-ulps: New file. +1999-06-29 Andreas Jaeger - * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline - first. + * pwd/Makefile (tests): Add rules for tst-getpw. - * sysdeps/mips/fpu/feholdexcpt.c: New file. + * pwd/tst-getpw.c: New program to test getpw. - * sysdeps/mips/fpu/fraiseexcpt.c: New file. +1999-06-28 Andreas Jaeger -2000-06-19 Ulrich Drepper + * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result + correctly. - * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for - change in gconv_builtin.h. +1999-06-25 Andreas Jaeger - * malloc/Makefile: Change all references to memprof into memusage. - * malloc/memprof.c: Rename to... - * malloc/memusage.c: ...this. New file. - * malloc/memprof.sh: Rename to... - * malloc/memusage.sh: ...this. New file. - * malloc/memprofstat.c: Rename to... - * malloc/memusagestat.c: ...this. New file. - * sysdeps/alpha/memprof.h: Rename to.. - * sysdeps/alpha/memusage.h: ...this. New file. - * sysdeps/arm/memprof.h: Rename to.. - * sysdeps/arm/memusage.h: ...this. New file. - * sysdeps/generic/memprof.h: Rename to.. - * sysdeps/generic/memusage.h: ...this. New file. - * sysdeps/i386/memprof.h: Rename to.. - * sysdeps/i386/memusage.h: ...this. New file. - * sysdeps/ia64/memprof.h: Rename to.. - * sysdeps/ia64/memusage.h: ...this. New file. - * sysdeps/m68k/memprof.h: Rename to.. - * sysdeps/m68k/memusage.h: ...this. New file. - * sysdeps/mips/memprof.h: Rename to.. - * sysdeps/mips/memusage.h: ...this. New file. - * sysdeps/powerpc/memprof.h: Rename to.. - * sysdeps/powerpc/memusage.h: ...this. New file. - * sysdeps/sparc/memprof.h: Rename to.. - * sysdeps/sparc/memusage.h: ...this. New file. - * sysdeps/sh/memprof.h: Rename to.. - * sysdeps/sh/memusage.h: ...this. New file. + * manual/arith.texi (System V Number Conversion): Fix the + description which confused pointer and value to pointer. + Reported by Andries.Brouwer@cwi.nl. - * elf/sprof.c (print_version): Update year. +1999-06-28 Andreas Jaeger - * elf/sprof.c (load_shobj): Don't always add load address to dynamic - table entry values. Use D_PTR. - * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird - binaries without PLT. Patches by James Mathiesen . + * pwd/getpw.c (__getpw): Check for NULL result pointer. -2000-06-20 Jes Sorensen +1999-06-29 Andreas Jaeger - * sysdeps/unix/sysv/linux/ia64/Makefile: New file. - * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file. - * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file. - * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file. + * manual/users.texi (Lookup User): Document POSIX return + semantics for getpwuid_r and getgrgid_r. -2000-05-05 Jes Sorensen + * manual/socket.texi (Host Names): Document that the result + pointer is null in case of error or host not found and fix a + typo. Give a small example. - * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file. +1999-06-30 Ulrich Drepper -2000-06-16 Jes Sorensen + * pwd/getpw.c: Add warning since no buffer size is given and + therefore no overrun tests are possible. - * sysdeps/unix/sysv/linux/ia64/xstat.c: New file. - * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file. - * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file. +1999-06-30 Andreas Jaeger - * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted. + * pwd/pwd.h: Add getpw prototype declaration. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest - kernel change. +1999-06-30 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t, - __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data - structure. - Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel - implementation. + * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter. + * wcsmbs/wcschr.c: Likewise. -2000-06-15 Jes Sorensen +1999-06-28 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted. + * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN + returns. + * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise. + * sysdeps/libm-ieee754/e_gammal_r.c: Likewise. + Reported by John Reiser [PR libc/1185]. -2000-06-08 Jes Sorensen + * elf/dl-dst.h: Fix typo. + * elf/dl-open.c: Likewise. - * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file. +1999-06-26 Zack Weinberg -2000-06-19 Ulrich Drepper + * elf/dl-libc.c: New file, provides three functions: + __libc_dlopen, __libc_dlclose, __libc_dlsym. + * include/dlfcn.h: Prototype them. Prototype _dl_addr. + * elf/Makefile (routines): Add dl-libc.c. + * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of + argument to void *. + * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match. - * iconv/gconv_int.h (strict gconv_module): Remove all members - associated with regular expressions. Use a simple string as the - from name. - * iconv/gconv_db.c: Remove code handling regular expressions. - * iconv/gconv_conf.c: Likewise. - * iconv/iconv_prog.c: Likewise. - * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c. - - * iconv/gconv.h (__gconv_trans_fct): Add new parameter. - General namespace cleanup. - (struct __gconv_trans_data): Add next field. - (struct __gconv_step_data): Make __trans a pointer. - * iconv/gconv_conf.c: Split out code to find gconv directories from - __gconv_read_conf in new functions. - * iconv/gconv_int.h: Define new data structure and declare new - functions for handling of gconv directory list. - * iconv/gconv_open.c: Allow more than one error handling step being - used. Call function to load error handling module if it is none - of the builtin transformations. - * iconv/gconv_close.c: Add code to free transliteration data. - * iconv/gconv_trans.c: Add functions to load and unload modules - implementing transliteration etc. - * iconv/skeleton.c: Call all context functions now that more than - one module is allowed. - * iconv/loop.c (STANDARD_ERR_HANDLING): New macro. - * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places - where the full error handling using transliteration is needed. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - * libio/iofwide.c: Reset __trans member of __gconv_trans_data - structure correctly after last change. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - - * localedata/Makefile: Set -Wno-format for some files since gcc does - not know all the format specifiers. + * iconv/gconv.c: Include dlfcn.h. + * iconv/gconv_db.c: Likewise. + * malloc/mtrace.c: Likewise. Don't include ldsodefs.h. -2000-06-18 Ulrich Drepper + * iconv/gconv_int.h (struct __gconv_loaded_object): Change + `handle' to a void *. + (__gconv_find_func): Delete prototype. - * locale/loadlocale.c (_nl_unload_locale): Remove a bit of - unneeded code. - * locale/lc-time.c (_nl_init_era_entries): Likewise. + * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove + dlerror_run and related functions and structs. Use + __libc_dlopen, __libc_dlsym, __libc_dlclose. + * nss/nsswitch.c: Likewise. -2000-06-18 Andreas Jaeger +1999-06-28 Ulrich Drepper - * sysdeps/mips/dl-machine.h: Always use $25 as jump register. - Patch by Ralf Baechle . + * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r + function correctly. -2000-06-17 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use - LINUX_LINK_MAX. - * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. - - * locale/programs/ld-ctype.c (ctype_output): Really write out - mboutdigits information. - * localedata/tst-trans.c: Add code to test printf's I flag with locale. - * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment. - * localedata/tests/trans.def: Add outdigit information. - - * localedata/tst-mbswcs3.c: Remove comment. - - * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag. - * stdio-common/tiformat.c (sprint_ints): Add tests for I flag. - * libio/tst_wprintf.c (main): Add test for I flag. - - * iconv/gconv_trans.c: Implement handling if translit_ignore. - * locale/langinfo.h: Add entries for translit_ignore information. - * locale/categories.def: Add entries for new LC_CTYPE elements. - * locale/C-ctype.c: Add initializers for new fields. Use NULL - pointer instead of "" where possible. - * locale/programs/ld-ctype.c: Write out translit_ignore information. - * intl/Depend: Add localedata. - * intl/tst-gettext.c: Call setlocale for LC_CTYPE. - * intl/tst-gettext.sh: Set LOCPATH to localedata build dir. - -2000-06-16 Ulrich Drepper - - * locale/langinfo.h: Add entries for default_missing information. - * locale/C-ctype.c: Add initializers for new fields. - * iconv/gconv_trans.c: If nothing matched, try to use default_missing - information. - * locale/categories.h: Add entries for all LC_CTYPE values. - * locale/programs/ld-ctype.c (ctype_output): Write out default_missing - information. - - * localedata/tst-trans.c: Write out an error message if class is - not found. - - * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix. - * iconv/gconv_open.c: Remove error handling specification from `from' - character set name. - * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with - new parameter to always enable transliteration. - * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible - change. - (struct locale_data): Add new members use_translit and options. - * locale/findlocale.c (_nl_find_locale): Set use_translit flag is - character set name contained modifier TRANSLIT. - * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit - and options fields. - (_nl_unload_locale): Free options string if necessary. - * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if - the locale names suggested this. - * locale/C-address.c: Add two new initialilzers to adjust data - structure for new format. - * locale/C-collate.c: Likewise. - * locale/C-ctype.c: Likewise. - * locale/C-identification.c: Likewise. - * locale/C-measurement.c: Likewise. - * locale/C-messages.c: Likewise. - * locale/C-monetary.c: Likewise. - * locale/C-name.c: Likewise. - * locale/C-numeric.c: Likewise. - * locale/C-paper.c: Likewise. - * locale/C-telephone.c: Likewise. - * locale/C-time.c: Likewise. - - * locale/setlocale.c: Add some more __builtin_expect. - -2000-06-15 Ulrich Drepper - - * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to - unsigned char **. - (__gconv_init_fct): Remove two parameters. - * iconv/gconv_int.h (__gconv_transliterate): Renamed from - gconv_transliterate. Remove two parameters. - Change prototypes of builtin functions according to __gconv_fct change. - * iconv/skeleton.c: Change type of fifth parameter. make sure it is - != NULL only during error handling. Stop in this case after the - conversion. - * iconv/gconv_trans.c: Replace with real implementation for - __gconv_transliterate. - * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate. - * iconv/gconv.c: Change calls to downstream functions once again. - Use NULL for the fifth parameter instead of pointer to output buffer. - * libio/iofwide.c: Likewise. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. - * iconv/gconv_simple.c: Remove two parameters from error handling - function call. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. + * sunrpc/getrpcport.c: Test for gethostbyname_r function + correctly. -2000-06-15 Greg McGary + * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly. - * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs - of callnum assignment. Tolerate callnum expressions containing - parens. + * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r + functions correctly. -2000-06-14 Ulrich Drepper + * inet/rexec.c (rexec): Test for gethostbyname_r result correctly. - * login/Makefile (utmpd): Remove rule to build utmpd. + * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize + file reading a bit. - * csu/Versions: Move libgcc frame handling functions from here... - * sysdeps/unix/sysv/linux/alpha/Versions: ...to here... - * sysdeps/unix/sysv/linux/arm/Versions: ...to here... - * sysdeps/unix/sysv/linux/i386/Versions: ...to here... - * sysdeps/unix/sysv/linux/m68k/Versions: ...to here... - * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here... - * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here. - New file. - * sysdeps/mach/hurd/i386/Versions: ...and here. New file. + * sysdeps/generic/glob.c: Test for getpwnam_r result correctly. - * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment. +1999-06-28 Andreas Jaeger - * misc/syslog.c (vsyslog): Initialize msgoff in all cases. + * manual/string.texi (Copying and Concatenation): Mention that + strndup is a GNU extension. -2000-06-14 Kazumoto Kojima +1999-06-28 Andreas Jaeger - * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward - compatibility. - * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise. - * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise. + * pwd/getpw.c (__getpw): Fix check for error return. -2000-06-14 Jakub Jelinek +1999-06-25 Andreas Schwab - * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is - defined, terminate quotes and read them after the comment char. - * configure.in (HAVE_SECTION_QUOTES): Test whether - __attribute__((section ("x"))) puts quotes around x or not. - * config.h.in (HAVE_SECTION_QUOTES): Add. - * configure: Rebuilt. + * elf/dl-deps.c (_dl_map_object_deps): When looking for the next + occurence of the aux object start with the current list entry, not + the new one. Adjust tail pointer in the unique list. Explain how + the meaning of the variables changes [PR libc/1168]. -2000-06-14 Andreas Jaeger +1999-06-27 Andreas Schwab - * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir - depending on the configure option --sysconfdir. - Closes PR libc/1762. - Patch by Andreas Schwab . + * sysdeps/m68k/fpu/Dist: New file. - * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user - entry point. - Reported by Jim Pick . +1999-06-26 Andreas Schwab -2000-06-14 Ulrich Drepper + * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal + definitions... + * sysdeps/m68k/fpu/mathimpl.h: ... here. New file. + * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h". + * sysdeps/m68k/fpu/e_atan2.c: Likewise. + * sysdeps/m68k/fpu/e_fmod.c: Likewise. + * sysdeps/m68k/fpu/e_pow.c: Likewise. + * sysdeps/m68k/fpu/e_scalb.c: Likewise. + * sysdeps/m68k/fpu/s_ccos.c: Likewise. + * sysdeps/m68k/fpu/s_ccosh.c: Likewise. + * sysdeps/m68k/fpu/s_cexp.c: Likewise. + * sysdeps/m68k/fpu/s_csin.c: Likewise. + * sysdeps/m68k/fpu/s_csinh.c: Likewise. + * sysdeps/m68k/fpu/s_ilogb.c: Likewise. + * sysdeps/m68k/fpu/s_llrint.c: Likewise. + * sysdeps/m68k/fpu/s_llrintf.c: Likewise. + * sysdeps/m68k/fpu/s_llrintl.c: Likewise. + * sysdeps/m68k/fpu/s_modf.c: Likewise. - * misc/syslog.c (vsyslog): Allow open_memstream to fail without - crashing the application. Emit some simple error message. - Reported by mju@panasas.com [PR libc/1769]. +1999-06-25 Roland McGrath -2000-06-13 Ulrich Drepper + * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h, + hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of + _EXTERN_INLINE, use a macro specific to each file, + _HURD_FD_H_EXTERN_INLINE and the like. + * hurd/Makefile (inline-headers): New variable. + (routines): Remove hurdinline. Add $(inlines). + (inlines): New variable. + ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them. + (generated): Append those here. + * hurd/hurdinline.c: File removed. - * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c. + * sysdeps/generic/glob64.c: Include for NULL. - * crypt/Makefile (distribute): Add md5.h. + * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy. - * Makefile (distribute): Add include/shlib-compat.h. +1999-06-25 Andreas Jaeger - * Make-dist: Search for tests also in sysdeps hierachy. + * nscd/connections.c (nscd_run): Use correct type for optlen variable. - * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h, - ufc.c, speeds.c, README.ufc-crypt, and Banner. +1999-06-25 Ulrich Drepper - * sysdeps/sparc/Subdirs: New file. + * string/bits/string2.h (strnlen): Remove extra prototype. - * locale/Makefile (distribute): Add weightwc.h and - programs/localedef.h. +1999-06-25 Andreas Jaeger - * time/Makefile (distribute): Add datemsk. + * manual/filesys.texi (Working on Directory Trees): Fix typos. + Reported by Andries.Brouwer@cwi.nl. - * sysdeps/ia64/Dist: Add softpipe.h. +1999-06-24 Ulrich Drepper - * sysdeps/unix/sysv/aix/Dist: New file. + * nscd/connections.c (handle_request): Use correct type for optlen + variable. - * posix/setpgrp.c: Moved to... - * sysdeps/generic/setpgrp.c: ...here. New file. - * io/mknod.c: Moved to... - * sysdeps/generic/mknod.c: ...here. New file. + * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16. + * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r. - * sysdeps/unix/sysv/linux/ia64/Dist: New file. +1999-06-24 Thorsten Kukuk - * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h. + * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer. + * nscd/pwdcache.c: Likewise. + * nscd/hstcache.c: Likewise. - * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c. +1999-06-23 Ulrich Drepper - * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S, - gprsave0.S, gprrest1.S, and gprrest0.S. + * sysdeps/generic/fpu_control.c: Include math.h for __P definition. - * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h. + * posix/getopt.h: Include stdio.h. - * posix/Makefile (routines): Add spawnattr_getsigmask, - spawnattr_getschedpolicy, spawnattr_getschedparam, - spawnattr_setsigmask, spawnattr_setschedpolicy, and - spawnattr_setschedparam. - * posix/Versions: Add posix_spawnattr_getschedpolicy, - posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and - posix_spawnattr_setschedparam. + * manual/arith.texi: Document restriction of ndigit parameter of + ecvt and friends. + * misc/efgcvt.c: Define NDIGIT_MAX. + (gcvt): Limit precision in sprintf call to NDIGIT_MAX. + Do not dynamically allocate the static buffers. They are small enough. + * misc/efgcvt_r.c: Define NDIGIT_MAX. + (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX. + * misc/qefgcvt.c: Define NDIGIT_MAX. + * misc/qefgcvt_r.c: Likewise. + * misc/tst-efgcvt.c (special): Add test for large ndigit parameter. - * posix/spawnattr_setschedparam.c: Fix typo. +1999-06-23 Zack Weinberg - * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask): - Correct typo. + * libio/stdio.h: Define stdin, stdout, stderr as macros. + * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}. + These are *pragmas* not macros. + * wcsmbs/wchar.h: Fix comment. - * login/programs/utmpd.c: Removed. - * login/programs/utmpd.h: Removed. - * login/programs/utmpd-private.h: Removed. + * grp/grp.h: Use __foo_t_defined convention to typedef things + only once. + * io/sys/stat.h: Likewise. + * libio/stdio.h: Likewise. + * posix/unistd.h: Likewise. + * posix/sys/types.h: Likewise. + * posix/sys/wait.h: Likewise. + * pwd/pwd.h: Likewise. + * signal/signal.h: Likewise. + * sysdeps/generic/stdint.h: Likewise. + * sysdeps/gnu/utmpx.h: Likewise. + * termios/termios.h: Likewise. - * Makefile (distribute): Add include/db_185.h and include/db.h. +1999-06-23 Ulrich Drepper - * iconvdata/Makefile (distribute): Add iso-ir-165.c and - iso-ir-165.h. + * stdio/fputc.c: Don't define alias if fputc is defined as a + macro. + * stdio/putc.c: Define weak alias here since it is not done + anymore in fputc.c. - * elf/Makefile (distribute): Add missing files. +1999-06-23 Andreas Schwab - * dlfcn/Makefile: Add back rules to include eval in libdl.so. - * elf/eval.c: Moved to... - * dlfcn/eval.c: ...here. New file. + * assert/assert.h: Don't produce `defined' as part of macro + expansion. - * Makefile (distribute): Also distribute ChangeLog.1?. +1999-06-23 Roland McGrath - * Make-dist (+tsrcs): Remove .args handling here as well. + * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with + OFFSET argument of (off_t) -1. + * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with + OFFSET argument of (off_t) -1. - * rt/Makefile (tests): Add tst-timer. - * sysdeps/generic/tst-timer.c: New file. + * sysdeps/mach/hurd/pwrite.c: New file. + * sysdeps/mach/hurd/pread.c: New file. - * Makerules (sources): Don't add BP sources here. + * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and + pass it in the RPC instead of always -1. + * hurd/fd-write.c (_hurd_fd_write): Likewise. + * hurd/hurd/fd.h: Update decls. - * login/Makefile (distribute): Remove xtmp.h. +1999-06-22 Andreas Jaeger - * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid - is true. Reported by Bruno Haible . + * libio/wscanf.c: Include for prototype. -2000-06-13 Andreas Jaeger +1999-06-22 Ulrich Drepper - * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines. - Patch by Ralf Baechle . + * manual/io.texi. Fix typos. + * manual/stdio.texi: Likewise. + Patches by Brian Youmans <3diff@gnu.org>. -2000-06-13 Ulrich Drepper +1999-06-22 Geoff Keating - * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information - for mincore syscall. + * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high + bits of two words differ. - * misc/sys/cdefs.h: Define __bounded and __unbounded if - __BOUNDED_POINTERS__ is not defined. +1999-06-21 Andreas Schwab -2000-06-07 Greg McGary + * libio/Makefile (routines): Add putwchar and putwchar_u. - * sysdeps/generic/bp-sym.h: New file. - * sysdeps/generic/bp-start.h: New file. - * sysdeps/i386/elf/start.S: Designate BP symbols. - * sysdeps/generic/libc-start.c: Wrap bounds around - argv & envp and each of their string members. + * libio/putwchar.c: Include instead of "stdio.h". + * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of + stdout. Fix parameter name. -2000-06-07 Greg McGary + * libio/getchar.c: Consistently use _IO_stdin instead of stdin. + * libio/getchar_u.c: Likewise. - * sysdeps/unix/make-syscalls.sh: Add comments to - output that aid debugging & comprehension. - Map simple syscall signatures to number of args. - Generate BP syscall thunk definitions. - * sysdeps/generic/bp-thunks.h: New file. - * sysdeps/unix/syscalls.list: Replace arg-count with - simple return+arg signature. - * sysdeps/unix/common/syscalls.list: Likewise. - * sysdeps/unix/inet/syscalls.list: Likewise. - * sysdeps/unix/mman/syscalls.list: Likewise. - * sysdeps/unix/sysv/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. + * libio/putchar_u.c: Use _IO_stdout instead of stdout. -2000-06-07 Greg McGary +1999-06-21 Andreas Schwab - * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers - for all files *.[cS]. - (CFLAGS-.ob): Don't optimize sibling calls. - (bppfx): New variable. - * Makerules (elide-bp-thunks): New variable. - (elide-routines.*): Elide BP-* files for all but *.ob. - (sources): Include bp-thunks. + * include/features.h (__GNUC_PREREQ): Don't generate `defined' via + macro expansion---it's undefined. Properly parenthesize + substituted parameters. + (__GLIBC_PREREQ): Likewise. -2000-06-12 Ulrich Drepper +1999-06-21 Ulrich Drepper - * iconv/gconv_simple.c: Remove unnecessary prototype. + * Makeconfig (CPPFLAGS): Revert last change. It has too many + weird effects. - * iconv/gconv_trans.c: Pretty print. + * stdlib/longlong.h: Provide __P definition if not already + defined. - * elf/elf.h (R_SH_NUM): Got accidently dropped. + * include/wchar.h: Use __gnuc_va_list not va_list in prototype. - * sysdeps/unix/sysv/linux/configure.in: Improve handling of - minimal kernel versions. Add information about IA-64 kernel. +1999-06-18 Thorsten Kukuk - * sysdeps/unix/sysv/linux/configure.in: Allow architecture - specific minimal supported kernel versions to be specified. + * sysdeps/alpha/atomicity.h: Correct counting of subsections. - * libio/iofwide.c (_IO_fwide): Initialize transliteration part of - step data structure. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. +1999-06-17 Andreas Schwab - * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file. - * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed. + * stdlib/tst-strtoll.c: Avoid warning about huge constant. - * shlib-versions: Earliest backward compatible version for SH is 2.2. +1999-06-20 Andreas Schwab - * misc/sys/cdefs.h: Remove one more __P. + * stdio-common/vfprintf.c (group_member): Make parameters and + return types pointers to CHAR_T instead of UCHAR_T. + (vfprintf): Change type of work_buffer, workend and string to + CHAR_T pointer/array. + (process_arg, process_string_arg): Adjust/remove casts. Add + missing use of L_ macro. + (printf_unknown): Add missing uses of L_ macro. - * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C. - Reported by HJ Lu. +1999-06-20 Andreas Schwab - * sysdeps/sh/sh3/bits/setjmp.h: Removed. - * sysdeps/sh/sh4/bits/setjmp.h: Moved to... - * sysdeps/sh/bits/setjmp.h: ...here. New file. + * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid + warning. -2000-06-12 Kazumoto Kojima - Yutaka Niibe +1999-06-20 Andreas Schwab - * configure.in: Add machine sh3, sh4. - * elf/elf.h: Add SH specific declarations of relocations. - * shlib-versions: Add sh*-*-linux* cases. + * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call + _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode. + (__wunderflow): Likewise. + (_IO_switch_to_wget_mode): Likewise. + (_IO_init_wmarker): Likewise. -2000-06-12 Ulrich Drepper + * libio/wfileops.c (_IO_wfile_seekoff): Call + _IO_switch_to_wget_mode, not _IO_switch_to_get_mode. + (_IO_wfile_jumps): Fix pbackfail entry. - * sysdeps/sh/sh3/bsd-_setjmp.S: Move to... - * sysdeps/sh/bsd-_setjmp.S: ...here. New file. - * sysdeps/sh/sh4/bsd-_setjmp.S: Removed. - * sysdeps/sh/sh3/bsd-setjmp.S: Move to... - * sysdeps/sh/bsd-setjmp.S: ...here. New file. - * sysdeps/sh/sh4/bsd-setjmp.S: Removed. + * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf + function if the stream is currently unoriented. - * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro - instead of KERNEL_MATH_EMULATION. - * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not - KERNEL_MATH_EMULATION. +1999-06-19 Zack Weinberg - * sysdeps/sh/Dist: Removed. There is no ieee754.h file. - * sysdeps/sh/sh3/dl-machine.h: Moved to... - * sysdeps/sh/dl-machine.h: ...here. New file. - * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION - and include generic SH version. - * sysdeps/sh/sh3/bits/endian.h: Move to... - * sysdeps/sh/bits/endian.h: ...here. New file. - * sysdeps/sh/sh4/bits/endian.h: Removed. - * sysdeps/sh/sh3/bits/huge_val.h: Move to... - * sysdeps/sh/bits/huge_val.h: ...here. New file. - * sysdeps/sh/sh4/bits/huge_val.h: Removed. + * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h. + Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use + __gnuc_va_list in v*w(printf|scanf) prototypes. - * include/libc-symbols.h (link_warning): Work around a change in - GAS which warns about changing section attributes. - Proposed by Nick Clifton . +1999-06-20 Andreas Jaeger -2000-06-12 H.J. Lu + * libio/oldiopopen.c (_IO_old_proc_open): Apply change from + 1999-03-29 to iopopen also here. + Reported by Richard Braakman . - * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__. +1999-06-20 Andreas Jaeger -2000-06-11 H.J. Lu + * include/features.h: Use __GNUC_PREREQ. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * sysdeps/i386/fpu/Versions: New file. +1999-06-19 Andreas Schwab -2000-06-12 Ulrich Drepper + * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]: + Change EOF to WEOF and remove cast. + (UNGETC): Remove macro. + (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc. + * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]: + Change ISASCII to isascii and MBRLEN to mbrlen. + (parse_one_spec): Compare info.spec always against wchar_t + values. + * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN. + (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument. + (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_. - * iconv/gconv.h (__gconv_trans_context_fct): Remove two - parameters. - * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it - exists. - -2000-06-12 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file. - * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file. - * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file. - - * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file. - * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file. - * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file. - -2000-06-12 Kazumoto Kojima - Yutaka Niibe - - * sysdeps/sh/Dist: New file. - * sysdeps/sh/Implies: New file. - * sysdeps/sh/elf/initfini.c: New file. - * sysdeps/sh/gmp-mparam.h: New file. - * sysdeps/sh/init-first.c: New file. - * sysdeps/sh/machine-gmon.h: New file. - * sysdeps/sh/memcpy.S: New file. - * sysdeps/sh/memprof.h: New file. - * sysdeps/sh/memset.S: New file. - * sysdeps/sh/sh3/__longjmp.S: New file. - * sysdeps/sh/sh3/bits/endian.h: New file. - * sysdeps/sh/sh3/bits/huge_val.h: New file. - * sysdeps/sh/sh3/bits/setjmp.h: New file. - * sysdeps/sh/sh3/bsd-_setjmp.S: New file. - * sysdeps/sh/sh3/bsd-setjmp.S: New file. - * sysdeps/sh/sh3/dl-machine.h: New file. - * sysdeps/sh/sh3/setjmp.S: New file. - * sysdeps/sh/sh4/__longjmp.S: New file. - * sysdeps/sh/sh4/bits/endian.h: New file. - * sysdeps/sh/sh4/bits/huge_val.h: New file. - * sysdeps/sh/sh4/bits/setjmp.h: New file. - * sysdeps/sh/sh4/bsd-_setjmp.S: New file. - * sysdeps/sh/sh4/bsd-setjmp.S: New file. - * sysdeps/sh/sh4/dl-machine.h: New file. - * sysdeps/sh/sh4/fpu/bits/fenv.h: New file. - * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file. - * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file. - * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fegetenv.c: New file. - * sysdeps/sh/sh4/fpu/fegetround.c: New file. - * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fesetenv.c: New file. - * sysdeps/sh/sh4/fpu/fesetround.c: New file. - * sysdeps/sh/sh4/fpu/fpu_control.h: New file. - * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file. - * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file. - * sysdeps/sh/sh4/fpu/ftestexcept.c: New file. - * sysdeps/sh/sh4/fpu/libm-test-ulps: New file. - * sysdeps/sh/sh4/setjmp.S: New file. - * sysdeps/sh/elf/start.S: New file. - * sysdeps/sh/sys/ucontext.h: New file. - * sysdeps/sh/strlen.S: New file. - * sysdeps/sh/sysdep.h: New file. - * sysdeps/unix/sh/sysdep.S: New file. - * sysdeps/unix/sh/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sh/Dist: New file. - * sysdeps/unix/sysv/linux/sh/Makefile: New file. - * sysdeps/unix/sysv/linux/sh/Versions: New file. - * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file. - * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file. - * sysdeps/unix/sysv/linux/sh/brk.c: New file. - * sysdeps/unix/sysv/linux/sh/chown.c: New file. - * sysdeps/unix/sysv/linux/sh/clone.S: New file. - * sysdeps/unix/sysv/linux/sh/fchown.c: New file. - * sysdeps/unix/sysv/linux/sh/fxstat.c: New file. - * sysdeps/unix/sysv/linux/sh/getegid.c: New file. - * sysdeps/unix/sysv/linux/sh/geteuid.c: New file. - * sysdeps/unix/sysv/linux/sh/getgroups.c: New file. - * sysdeps/unix/sysv/linux/sh/getresgid.c: New file. - * sysdeps/unix/sysv/linux/sh/getresuid.c: New file. - * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file. - * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sh/getuid.c: New file. - * sysdeps/unix/sysv/linux/sh/lchown.c: New file. - * sysdeps/unix/sysv/linux/sh/lxstat.c: New file. - * sysdeps/unix/sysv/linux/sh/msgctl.c: New file. - * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file. - * sysdeps/unix/sysv/linux/sh/pipe.S: New file. - * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file. - * sysdeps/unix/sysv/linux/sh/semctl.c: New file. - * sysdeps/unix/sysv/linux/sh/setegid.c: New file. - * sysdeps/unix/sysv/linux/sh/seteuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setgroups.c: New file. - * sysdeps/unix/sysv/linux/sh/setregid.c: New file. - * sysdeps/unix/sysv/linux/sh/setresgid.c: New file. - * sysdeps/unix/sysv/linux/sh/setresuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setreuid.c: New file. - * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file. - * sysdeps/unix/sysv/linux/sh/setuid.c: New file. - * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file. - * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file. - * sysdeps/unix/sysv/linux/sh/shmctl.c: New file. - * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file. - * sysdeps/unix/sysv/linux/sh/socket.S: New file. - * sysdeps/unix/sysv/linux/sh/sys/io.h: New file. - * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file. - * sysdeps/unix/sysv/linux/sh/sys/user.h: New file. - * sysdeps/unix/sysv/linux/sh/syscalls.list: New file. - * sysdeps/unix/sysv/linux/sh/sysdep.S: New file. - * sysdeps/unix/sysv/linux/sh/sysdep.h: New file. - * sysdeps/unix/sysv/linux/sh/vfork.S: New file. - * sysdeps/unix/sysv/linux/sh/xstat.c: New file. - -2000-06-12 Ulrich Drepper - - * Rules (%.out): Define GCONV_PATH in the environment. - * assert/Depend: New file. - * iconvdata/Depend: New file. - * intl/Depend: New file. - * timezone/Makefile (build-testdata): Add GCONV_PATH to environment. - * intl/tst-gettext.sh: Likewise. - * iconv/Makefile (routines): Add gconv_trans. - * iconv/gconv_trans.c: New file. - * iconv/gconv.h (struct __gconv_trans_data): New type. - (__gconv_fct): New parameter with starting position in output buffer. - (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct, - __gconv_trans_init_fct, __gconv_trans_end_fct): New types. - (struct __gconv_step): Add new member __trans. - * iconv/gconv_int.h: Pretty print prototypes. - (gconv_transliterate): New prototype. - (__BUILTIN_TRANS): Update for new conversion function interface. - * iconv/gconv.c (__gconv): Pass new parameter to conversion function. - * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix - in names, find appropriate function, and install in the conversion - steps it can be used. - * iconv/skeleton.c: Add additional parameter for beginning of output - buffer. Change calls of downstream functions. - * iconv/loop.c: Change loop function interface completely. Pass in - step and step_data structure. Remove optimization for BODY with - NEED_LENGTH_TEST == 0. - * iconv/gconv_simple.c: Update interfaces of functions. Insert - appropriate error handling code to use transliteration steps. Remove - optimization for BODY with NEED_LENGTH_TEST == 0. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - * libio/iofwide.c: Adjust to new interface of gconv functions. Use - DL_CALL_FCT. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. +1999-06-19 Andreas Schwab -2000-04-11 Geoff Keating + * libio/Makefile (shared-only-routines): Add oldiofgetpos, + oldiofgetpos64, oldiofsetpos and oldiofsetpos64. + (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and + oldiofsetpos64 only if doing versioning. - * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the - other header files. Mention about 128-byte cache line sizes. - (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt. - * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update - for current calling sequence. - * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment. +1999-06-20 Ulrich Drepper - * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly. - * sysdeps/powerpc/fpu/s_rintf.c: Likewise. + * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x. - * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit - and setrlimit syscalls for backwards compatibility. +1999-06-20 Andreas Jaeger -2000-06-10 Ulrich Drepper + * libio/libio.h: Fix last patch. - * iconv/skeleton.c: Rename converted written to correcter name - irreversible. - * iconv/gconv.c: Rename converted variable to correcter name - irreversible. - * iconv/gconv_int.h: Likewise. - * iconv/gconv_simple.c: Likewise. - * iconv/iconv.c: Likewise. - * iconv/loop.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. +1999-06-20 Ulrich Drepper - * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark - __cmsg_data field with __extension__. + * libio/libio.h (_IO_putwc): Correct type of first argument. + * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked, + putwc_unlocked, putwchar_unlocked): Likewise. + * libio/fputwc.c: Likewise. + * libio/fputwc_unlocked.c: Likewise. + * libio/putwc.c: Likewise. + * libio/putwc_unlocked.c: Likewise. + * libio/putwchar.c: Likewise. + * libio/putwchar_unlocked.c: Likewise. -2000-06-10 David Mosberger +1999-06-19 Roland McGrath - * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works. + * sysdeps/gnu/siglist.h: File moved to ... + * sysdeps/generic/siglist.h: ... here. This file should be usable for + any platform, since it just associates the SIG* macros with text names + and descriptions. For any signal macros do not exist on every + platform, we can use #ifdef tests here and still use this single + common file for all platforms. + * sysdeps/generic/siglist.c: Rewrite using . This file + should be usable for all platforms after the binary compatibility + stuff in the current sysdeps/gnu version is no longer required. + * sysdeps/generic/Makefile: Remove rules for generating siglist.c. + * sysdeps/generic/make_siglist.c: File removed. + * sysdeps/mach/hurd/siglist.h: Use #include_next. + * sysdeps/unix/sysv/linux/siglist.h: Likewise. -2000-06-10 Ulrich Drepper +1999-06-16 Roland McGrath - * iconv/gconv_simple.c: Fix various small bugs in several - functions. + * sysdeps/unix/sysv/linux/siglist.c: Moved to ... + * sysdeps/gnu/siglist.c: ... here. + Use instead of "siglist.h", to ensure sysdeps-search. + Use instead of to determine PTR_SIZE_STR. + * sysdeps/gnu/siglist.h: New file, contents from linux version. + Add entry for SIGLOST protected by #ifdef. + * sysdeps/unix/sysv/linux/siglist.h: Just #include that file, + and define OLD_SIGLIST_SIZE_STR. + * sysdeps/mach/hurd/siglist.h: New file, likewise. + +1999-06-18 Zack Weinberg + + * include/features.h: Define new macros __GNUC_PREREQ and + __GLIBC_PREREQ which can be used to test the version of gcc + and glibc respectively. - * iconv/loop.c: Fix comment. - -2000-06-10 Jakub Jelinek - - * elf/link.h: Remove libc internal declarations. - * include/link.h: Move them here. - -2000-06-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file. - Patch by Dan Pop . - - Rewrite error message handling. - * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to - _dl_catch_error. - * elf/dl-error (struct catch): Add objname member. - (_dl_signal_error): Take new parameter with object name. When - passing message on simply store object name and duplicate error - message. - (_dl_catch_error): Take new parameter. Store object name in the - place pointed to. - * include/dlfcn.h: Adjust _dl_catch_error prototype. - * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype. - * dlfcn/dlerror.c (struct dl_action_result): Add objname member. - (dlerror): Add objname to asprintf() parameters. - (_dl_error_run): Pass new parameter to _dl_catch_error. - * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error. - * elf/dl-open.c (_dl_open): Likewise. - * elf/rtld.c (dl_main): Likewise. - * elf/dl-close.c: Mark error messages with N_(). - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-load.c: Likewise. + * assert/assert.h: Use __GNUC_PREREQ. + * intl/libintl.h: Likewise. + * math/complex.h: Likewise. + * math/tgmath.h: Likewise. + * misc/sys/cdefs.h: Likewise. + * posix/sys/types.h: Likewise. + * socket/sys/socket.h: Likewise. + * string/bits/string2.h: Likewise. + * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. + * sysdeps/i386/fpu/bits/mathinline.h: Likewise. + +1999-06-18 Zack Weinberg + + * include/libintl.h: Declare _libc_intl_domainname here. + Define _ and N_ here. + * include/libc-symbols.h: Don't include . Don't + define _ and N_. Don't declare _libc_intl_domainname. + * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h. + + * db2/config.h: Don't include sys/stat.h or define + HAVE_ST_BLKSIZE here... + * db2/compat.h: ...do it here. + + * linuxthreads/internals.h: Include bits/libc-tsd.h after all + other headers. + * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P. + * iconv/iconv.c: Include stddef.h for NULL. + * malloc/malloc.h: Include features.h. + * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t. + + * sysdeps/unix/make_errlist.c: Write an "#include " + into the generated file. + * sysdeps/gnu/errlist.awk: Likewise. + * sysdeps/gnu/errlist.c: Rebuilt. + + * assert/assert-perr.c: Include libintl.h. + * assert/assert.c: Likewise. * elf/dl-open.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-sym.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/dl-lookup.c: Add comments about problems with error message - translations. - * elf/dl-reloc.c: Likewise. - * elf/dl-version.c: Likewise. - -2000-06-09 H.J. Lu - - * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL - after freeing it. - - * dlfcn/Makefile (distribute): Add failtestmod.c. - (tests): Add failtest. - Add rules to build and run failtest. - * dlfcn/failtest.c: New file. - * dlfcn/failtestmod.c: New file. - -2000-06-09 David Mosberger-Tang - - * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file - * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file - -2000-06-09 Jes Sorensen - - * sysdeps/unix/sysv/linux/ia64/brk.S: New file. - * sysdeps/unix/sysv/linux/ia64/pipe.S: New file. - -2000-06-09 Jes Sorensen - Ulrich Drepper - - * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file. - * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file. - -2000-06-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder - to find correct mount point despite wrong information from the - kernel. - -2000-06-09 Jes Sorensen - - * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain - the address of a symbol so function pointers are handled properly. - -2000-06-08 Ulrich Drepper - - * sysdeps/i386/Dist: Add bp-asm.h. - - * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use - defaultdir variable instead of "/var/shm" everywhere. - (defaultdir): Change to /dev/shm/. - -2000-06-08 Greg McGary - - * sysdeps/i386/bp-asm.h: New file. - * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack - offsets. Add ENTER/LEAVE macros for optionally maintaining - frame-pointer chain when debugging. - * sysdeps/i386/add_n.S: Likewise. - * sysdeps/i386/addmul_1.S: Likewise. - * sysdeps/i386/lshift.S: Likewise. - * sysdeps/i386/memchr.S: Likewise. - * sysdeps/i386/memcmp.S: Likewise. - * sysdeps/i386/mul_1.S: Likewise. - * sysdeps/i386/rawmemchr.S: Likewise. - * sysdeps/i386/rshift.S: Likewise. - * sysdeps/i386/stpcpy.S: Likewise. - * sysdeps/i386/stpncpy.S: Likewise. - * sysdeps/i386/strchr.S: Likewise. - * sysdeps/i386/strchrnul.S: Likewise. - * sysdeps/i386/strcspn.S: Likewise. - * sysdeps/i386/strpbrk.S: Likewise. - * sysdeps/i386/strrchr.S: Likewise. - * sysdeps/i386/strspn.S: Likewise. - * sysdeps/i386/strtok.S: Likewise. - * sysdeps/i386/sub_n.S: Likewise. - * sysdeps/i386/submul_1.S: Likewise. - * sysdeps/i386/elf/setjmp.S: Likewise. - * sysdeps/i386/i486/strcat.S: Likewise. - * sysdeps/i386/i486/strlen.S: Likewise. - * sysdeps/i386/i586/add_n.S: Likewise. - * sysdeps/i386/i586/lshift.S: Likewise. - * sysdeps/i386/i586/memcpy.S: Likewise. - * sysdeps/i386/i586/memset.S: Likewise. - * sysdeps/i386/i586/rshift.S: Likewise. - * sysdeps/i386/i586/strchr.S: Likewise. - * sysdeps/i386/i586/strcpy.S: Likewise. - * sysdeps/i386/i586/strlen.S: Likewise. - * sysdeps/i386/i586/sub_n.S: Likewise. - * sysdeps/i386/i686/add_n.S: Likewise. - * sysdeps/i386/i686/memcpy.S: Likewise. - * sysdeps/i386/i686/mempcpy.S: Likewise. - * sysdeps/i386/i686/memset.S: Likewise. - * sysdeps/i386/i686/strcmp.S: Likewise. - -2000-06-08 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getdtsz.c: New file. - - * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as - 256 and don't use OPEN_MAX. - - * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and - use it instead of LINK_MAX. - * sysdeps/unix/sysv/linux/fpathconf.c: Likewise. - -2000-06-08 Andreas Jaeger - - * libio/genops.c (_IO_list_lock): Only compile body if we're - thread safe. - (_IO_list_unlock): Likewise. - (_IO_list_resetlock): Likewise. - -2000-06-07 Ulrich Drepper - - * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX - unless user defined it. - - * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX - if not defined by the user. - - * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment. - * libio/iofwrite.c (_IO_fwrite): Likewise. - - * time/time.h: Add missing __THROW for clock_getcpuclockid - prototype. - - * elf/Makefile (distribute): Add dl-dtprocnum.h. - * include/elf.h: Include also . - * elf/dl-deps.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/do-rel.h: Likewise. - * elf/dynamic-link.h: Likewise. - * elf/link.h: Likewise. - * elf/rtld.c: Likewise. - * sysdeps/generic/dl-dtprocnum.h: New file. - * sysdeps/ia64/dl-dtprocnum.h: New file. - * sysdeps/mips/dl-dtprocnum.h: New file. - * sysdeps/sparc/dl-dtprocnum.h: New file. - - * sysdeps/i386/dl-machine.h: Add more __builtin_expect. + * elf/dlsym.c: Likewise. + * elf/dlvsym.c: Likewise. + * iconv/iconv_prog.c: Likewise. + * inet/rcmd.c: Likewise. + * inet/ruserpass.c: Likewise. + * locale/programs/charset.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/locfile.c: Likewise. + * locale/programs/repertoire.c: Likewise. + * login/programs/database.c: Likewise. + * login/programs/request.c: Likewise. + * malloc/mcheck.c: Likewise. + * misc/error.c: Likewise. + * nis/nis_call.c: Likewise. + * nis/nis_callback.c: Likewise. + * nis/nis_error.c: Likewise. + * nis/nis_local_names.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_print_group_entry.c: Likewise. + * nis/ypclnt.c: Likewise. + * nis/nss_nisplus/nisplus-publickey.c: Likewise. + * nscd/cache.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/grpcache.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/nscd_conf.c: Likewise. + * nscd/nscd_stat.c: Likewise. + * nscd/pwdcache.c: Likewise. + * posix/id.c: Likewise. + * resolv/herror.c: Likewise. + * stdio-common/psignal.c: Likewise. + * string/strsignal.c: Likewise. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/clnt_perr.c: Likewise. + * sunrpc/clnt_raw.c: Likewise. + * sunrpc/clnt_tcp.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/clnt_unix.c: Likewise. + * sunrpc/get_myaddr.c: Likewise. + * sunrpc/pm_getmaps.c: Likewise. + * sunrpc/pmap_clnt.c: Likewise. + * sunrpc/pmap_rmt.c: Likewise. + * sunrpc/rpc_main.c: Likewise. + * sunrpc/rpc_scan.c: Likewise. + * sunrpc/svc_run.c: Likewise. + * sunrpc/svc_simple.c: Likewise. + * sunrpc/svc_tcp.c: Likewise. + * sunrpc/svc_udp.c: Likewise. + * sunrpc/svc_unix.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_ref.c: Likewise. + * sysdeps/mach/hurd/mips/dl-machine.c: Likewise. + * sysdeps/posix/gai_strerror.c: Likewise. + * sysdeps/unix/siglist.c: Likewise. + * sysdeps/unix/sysv/linux/siglist.c: Likewise. + * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. + * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise. + * timezone/zic.c: Likewise. - * elf/do-lookup.h: Add some __builtin_expect. +1999-06-18 H.J. Lu - * dlfcn/dlfcn.h: Pretty print dladdr declaraction. + * localedata/Makefile (charmaps): Exclude SCCS. + (locales): Likewise. + (repertoiremaps): Likewise. - * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK. - (_dl_dynamic_weak): New variable. - * elf/dl-support.c: Likewise. - * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak. - * elf/do-lookup.h: If we find a weak definition treat it like a - normal symbol unless _dl_dynamic_weak is nonzero. In the latter - case treat it like before. +1999-06-18 Ulrich Drepper - * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol - is in main program. - * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv. + * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h. + * sysdeps/generic/bsd-setjmp.c: Likewise. - * elf/dl-addr.c (_dl_addr): Do exact testing of address range - using l_map_start and l_map_end. + * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments. - * elf/dl-version.c: Add __builtin_expect in many places. + * iconv/gconv_open.c: Include string.h for memset prototype. - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): - Update. + * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro + definitions. -2000-06-04 Kaz Kylheku + * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc + assignment to avoid warning on 64bit platforms. - Lock for stdio stream list becomes global, for use in LinuxThreads. +1999-06-17 Ulrich Drepper - * libio/genops.c (_IO_iter_begin, _IO_iter_end, - _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock, - _IO_list_resetlock): New interface for iterating global list of - streams without accessing the _IO_list_all global variable, - and for manipulating the lock which protects this list. - * libio/libioP.h: Likewise. - * libio/Version: Add entries for the new functions. + * libio/libio.h (_IO_codecvt): Change __P ot __PMT. - * libio/libioP.h (_IO_ITER): New typedef, just an alias for - pointer to _IO_FILE. + * nss/getXXbyYY_r.c: Return error code not -1. + * nss/getXXent_r.c: Likewise. + * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too + small. + * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and + value > 0 for error. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. -2000-06-07 Ulrich Drepper +1999-06-17 Andreas Jaeger - * locale/programs/ld-ctype.c (set_class_defaults): Several uses of - BIT() must actually be BITw(). + * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line + disciplines. - * locale/programs/ld-ctype.c: Handle SP and space consistently. +1999-06-14 Andreas Jaeger - * locale/programs/charmap.c: Allow string arguments for - code_set_name and repertoiremap. + * nscd/nscd_nischeck.c: Fix typos. -2000-06-07 Andreas Jaeger +1999-06-17 Ulrich Drepper - * elf/Makefile: Build ldconfig only when building shared libraries. + * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail + always when oact is NULL. + Patch by Christian Meder . -2000-06-07 Jakub Jelinek +1999-06-17 Andreas Jaeger - * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if - __USE_ISOC99. - (fdimf, __fdim, fdim): Likewise. + * math/libm-test.c (jn_test): Adjust delta. -2000-06-07 Ulrich Drepper +1999-06-17 Andreas Jaeger - * locale/findlocale.c: Add __builtin_expect in many places. - * locale/loadlocale.c: Likewise. + * libio/vwprintf.c: Include for prototypes. + * libio/wprintf.c: Likewise. -2000-06-06 Greg McGary +1999-06-17 Andreas Jaeger - * sysdeps/mips/elf/start.S: Trim redundant code. + * elf/dl-load.c (_dl_init_paths): Add one more element to aelem + to not write beyond allocated memory. + Reported by John Reiser , closes PR libc/1167. - * sysdeps/powerpc/memset.S: Define & use symbolic register names. - Use C comments throughout. Line up operands column with tabs. - * sysdeps/powerpc/strchr.S: Likewise. - * sysdeps/powerpc/strcmp.S: Likewise. - * sysdeps/powerpc/strcpy.S: Likewise. - * sysdeps/powerpc/strlen.S: Likewise. +1999-06-17 Ulrich Drepper - * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: - Get low part of &__curbrk with @l. + * malloc/mtrace.c: Keep lock while printing output lines. + Patch by carsten.zimmermann@mediaways.net [PR libc/1166]. -2000-06-06 Ulrich Drepper +1999-06-16 Ulrich Drepper - * iconvdata/utf-16.c: Add __builtin_expect in many places. - * iconvdata/unicode.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso8859-1.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-cn.c: Likewise. + * configure.in: Add warnings about broken code. -2000-06-05 Ulrich Drepper + * Versions.def: Add GLIBC_2.2 for libc. - * iconvdata/big5hkscs.c: Add __builtin_expect in many places. - * iconvdata/big5.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/8bit-gap.c: Likewise. - * iconv/loop.c: Likewise. + * iconv/gconv.h: Make header suitable for inclusion in public header + by protecting all names with __. + * iconv/gconv.c: Adapt for symbol name changes. + * iconv/gconv.h: Likewise. + * iconv/gconv_builtin.c: Likewise. + * iconv/gconv_close.c: Likewise. * iconv/gconv_db.c: Likewise. * iconv/gconv_dl.c: Likewise. + * iconv/gconv_int.h: Likewise. + * iconv/gconv_open.c: Likewise. * iconv/gconv_simple.c: Likewise. + * iconv/iconv.c: Likewise. + * iconv/iconv_close.c: Likewise. + * iconv/iconv_open.c: Likewise. + * iconv/loop.c: Likewise. * iconv/skeleton.c: Likewise. - - * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define. - (struct __gconv_step_data): Rename __is_last to __flags. - * iconv/gconv_close.c: Change all uses of __is_last. - * iconv/skeleton.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconv/gconv_open.c: Likewise. Avoid unneeded initializations. - Recognize IGNORE error handling, set flag, and remove from name. - * iconv/loop.c (ignore_errors_p): Define. - Add flags parameter to both functions. - * iconv/skeleton.c: Pass flags to all conversion functions. - * iconv/gconv_simple.c: Add flags parameter to all functions. - Don't return error for invald error if ignore flag is set. - (ucs4_internal_loop_single): Add missing pointer increment. - (internal_ucs4le_loop_single): Likewise. - * iconv/iconv_prog.c: Implement handling of -c parameter. - * iconvdata/8bit-gap.c: Don't return error for invald error if - ignore flag is set. + * iconvdata/8bit-gap.c: Likewise. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. - * iconvdata/big5hkscs.c: Likewise. + * iconvdata/cns11643.h: Likewise. + * iconvdata/cns11643l1.h: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. - * iconvdata/gbgbk.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. + * iconvdata/euc-tw.c: Likewise. + * iconvdata/gb2312.h: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso8859-1.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. + * iconvdata/jis0201.h: Likewise. + * iconvdata/jis0208.h: Likewise. + * iconvdata/jis0212.h: Likewise. * iconvdata/johab.c: Likewise. + * iconvdata/ksc5601.h: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. - * libio/fileops.c: Likewise. - * libio/iofwide.c: Likewise. + * stdlib/mblen.c: Likewise. + * stdlib/mbtowc.c: Likewise. + * stdlib/wctomb.c: Likewise. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wchar.h: Likewise. * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsmbsload.c: Likewise. + * wcsmbs/wcsmbsload.h: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise. - * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of - an error. - -2000-06-04 Ulrich Drepper - - * iconv/gconv_dl.c (do_release_shlib): Don't reset reference - counter for the object we are releasing, just decrement it. - Patch by Akira Higuchi . - -2000-06-04 Jakub Jelinek - - * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh - if -ffast-math. - -2000-06-04 Ulrich Drepper - - * iconvdata/big5hkscs.c: New file. - Modified from big5.c by Roger So . - - * iconvdata/gconv-modules: Add entry for new module. - * iconvdata/Makefile (modules): Add BIG5HKSCS. - (distribute): Add big5hkscs.c. - -2000-06-01 Jakub Jelinek - - * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all - inlines to match prototypes in mathcalls.h. - * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. - * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise. - -2000-06-03 Ulrich Drepper - - * elf/elf.h (SHT_SUNW_move): Define. - - * elf/elf.h: Add more Solaris compatiblity definitions. - -2000-06-03 Andreas Jaeger - - * sysdeps/powerpc/dl-start.S: Close open comment. - -2000-06-03 Jakub Jelinek - - * inet/Versions: Fix typo in rresvport_af export. - -2000-06-02 Ulrich Drepper - - * math/tgmath.h: Pretty print. - -2000-06-02 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo. - Reported by Maciej W. Rozycki . - -2000-06-02 Ulrich Drepper - - * elf/rtld.c (process_envvars): Test for = after variable name. - -2000-06-01 Ulrich Drepper - - * sysdeps/generic/initfini.c (_init): One less relocation. Don't - have extra call to __gmon_start__, use the pointer we already have. - - * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before - shifting. - - * sysdeps/i386/elf/setjmp.S: Work around change is recent - binutils. gas now emits a jump through the PLT instead of a - relative jump if the jump target is an exported symbol. - -2000-05-31 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD. - -2000-05-31 Andreas Jaeger - - * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for - gregset_t. - - * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache. - Patches by Maciej W. Rozycki . - - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of - syscall. - * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. + * include/limits.h (MB_LEN_MAX): Increase to 16. + + * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define + _G_iconv_t. + * sysdeps/unix/sysv/linux/_G_config.h: Likewise. + * include/wchar.h: Change mbstate_t to __mbstate_t. + + * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos, + oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u, + getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u, + iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u, + putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf, + vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops, + and iofwide. + (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf. + * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos, + _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws, + fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked, + fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked, + getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar, + putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf, + vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to + GLIBC_2.2 for libc. + * libio/libio.h: Define codecvt struct. Define _IO_wide_data. + Extend _IO_file contain pointer to codecvt, widedata and mode. + (_IO_getwc_unlocked): New macro. + (_IO_putwc_unlocked): New macro. + (_IO_fwide): New macro. + * libio/libioP.h: Add new prototypes and adjust existing declarations. + * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata + buffers based on mode. + (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide + oriented. + (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING + flag to be enough to signal unallocated buffer. For wide oriented + stream don't make it linebuffered. Don't use _IO_do_flush, use + _IO_new_do_write directly. + (_IO_new_file_seekoff): Change return value type to _IO_off64_t. + (_IO_file_seek): Likewise. + * libio/genops.c (_IO_least_marker): Make global. + (__underflow): Orient stream if not already done. + (__uflow): Likewise. + (_IO_default_seekpos): Change to type _IO_off64_t. + (_IO_default_seekoff): Likewise. + (_IO_default_seek): Likewise. + (_IO_no_init): New function. Similar to _IO_init but allows to orient + in initialization. + * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD + to use _IO_off64_t. + * libio/ftello.c: Use _IO_off_t. For now abort when use with wide + char stream. + * libio/ftello64.c: Likewise. + * libio/ioftell.c: Likewise. + * libio/iofopncook.c: Likewise. + * libio/ioseekoff.c: Likewise. + * libio/ioseekpos.c: Likewise. + * libio/oldfileops.c: Likewise. + * libio/iofgetpos.c: Store state of conversion if necessary. + * libio/iofgetpos64.c: Likewise. + * libio/iofsetpos.c: Restore conversion state if necessary. + * libio/iofsetpos64.c: Likewise. + * libio/iofdopen.c: Initialize so that stream can be wide oriented. + * libio/iofopen.c: Likewise. + * libio/iofopen64.c: Likewise. + * libio/iopopen.c: Likewise. + * libio/iovdprintf.c: Likewise. + * libio/iovsprintf.c: Likewise. + * libio/iovsscanf.c: Likewise. + * libio/memstream.c: Likewise. + * libio/obprintf.c: Likewise. + * libio/iofputs.c: Orient stream if not already happened. + * libio/iofputs_u.c: Likewise. + * libio/iofwrite.c: Likewise. + * libio/iofwrite_u.c: Likewise. + * libio/ioputs.c: Likewise. + * libio/iosetbuffer.c: Handle not yet oriented stream. + * libio/iosetvbuf.c: Likewise. + * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call. + * libio/stdfiles.c: Likewise. + * libio/strops.c (_IO_str_overflow): Correctly free buffer after + failed allocation. + (_IO_str_seekoff): Use _IO_off64_t. + * libio/vasprintf.c: Pre-orient stream. + * libio/vsnprintf.c: Likewise. + * libio/fputwc.c: New file. + * libio/fputwc_u.c: New file. + * libio/fwprintf.c: New file. + * libio/fwscanf.c: New file. + * libio/getwc.c: New file. + * libio/getwc_u.c: New file. + * libio/getwchar.c: New file. + * libio/getwchar_u.c: New file. + * libio/iofgetws.c: New file. + * libio/iofgetws_u.c: New file. + * libio/iofputws.c: New file. + * libio/iofputws_u.c: New file. + * libio/iofwide.c: New file. + * libio/iogetwline.c: New file. + * libio/ioungetwc.c: New file. + * libio/iovswscanf.c: New file. + * libio/iowpadn.c: New file. + * libio/oldiofgetpos.c: New file. + * libio/oldiofgetpos64.c: New file. + * libio/oldiofsetpos.c: New file. + * libio/oldiofsetpos64.c: New file. + * libio/putwc.c: New file. + * libio/putwc_u.c: New file. + * libio/putwchar.c: New file. + * libio/putwchar_u.c: New file. + * libio/swprintf.c: New file. + * libio/swscanf.c: New file. + * libio/tst_swprintf.c: New file. + * libio/tst_swscanf.c: New file. + * libio/tst_wprintf.c: New file. + * libio/tst_wscanf.c: New file. + * libio/tst_wscanf.input: New file. + * libio/vswprintf.c: New file. + * libio/vwprintf.c: New file. + * libio/vwscanf.c: New file. + * libio/wfiledoalloc.c: New file. + * libio/wfileops.c: New file. + * libio/wgenops.c: New file. + * libio/wprintf.c: New file. + * libio/wscanf.c: New file. + * libio/wstrops.c: New file. + * stdio-common/Makefile (routines): Add _itowa, itowa-digits, + vfwprintf, and vfwscanf. + * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and + make global. + * stdio-common/_itowa.c: New file. + * stdio-common/_itowa.h: New file. + * stdio-common/itoa-digits.c: Minimal optimization. + * stdio-common/itowa-digits.c: New file. + * stdio-common/printf-parse.h: Allow use in wide character context. + * stdio-common/printf-prs.c: Define ISASCII and MBRLEN. + * stdio-common/printf.h (printf_info): Add wide bit. + * stdio-common/printf_fp.c: Determine from wide bit whether stream + is wide oriented or not. + * stdio-common/printf_size.c: Likewise. + * sysdeps/generic/printf_fphex.c: Likewise. + * stdlib/strfmon.c: Call __printf_fp with wide bit cleared. + * stdio-common/vfprintf.c: Rewrite to allow use in wide character + context. + * stdio-common/vfscand.c: Likewise. + * stdio-common/vfwprintf.c: New file. + * stdio-common/vfwscanf.c: New file. + + * time/Makefile (routines): Add wcsftime. + (tests): Add tst_wcsftime. + * time/Versions: Add wcsftime to GLIBC_2.2 for libc. + * time/strftime.c: Make usable as wcsftime. + * time/wcsftime.c: New file. + * time/tst_wcsftime.c: New file. + + * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul. + * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc. + * wcsmbs/wcschrnul.c: New file. + * wcsmbs/wmemcpy.c: New file. + * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias. + * wcsmbs/wmemmove.c: Likewise for wmemmove. + + * manual/stdio.texi: Document is_char and wide element if printf_info. + + * manual/time.texi: Document wcsftime. + + * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy, + __wmemmove, __wcschrnul, and __vfwscanf. + + * locale/langinfo.h: Add new LC_TIME entries for wchar_t data. + * locale/C-time.c: Adapt for above change. + * locale/categories.def: Likewise. + * locale/localeinfo.h: Likewise. + * localedata/Makefile: Don't run tests for now. + + * manual/errno.texi: Fix typos. + * manual/memory.texi: Likewise. + * manual/ctype.texi: Likewise. + Patches by Brian Youmans <3diff@gnu.org>. -2000-05-30 Ulrich Drepper +1999-06-16 Andreas Jaeger - * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P. + * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added. - * locale/Versions [libc] (GLIBC_2.2): Add localeconv. - * locale/localeconv.c: Make function versioned (with same definition). +1999-06-14 Andreas Schwab - * elf/Makefile (modules-names): Strip before using it. + * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct + word order. + * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file. -2000-05-30 Andreas Jaeger +1999-06-15 Andreas Schwab - * sysdeps/unix/sysv/linux/mips/truncate64.c: New file. - * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file. - * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pread.c: Readded file. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file. + * db2/db/db.c: Restore __nss_db_open alias. + * db2/db_int.h: Use instead of "db.h" to find header in + include. + * db2/os/os_rw.c (__os_write): Maintain const correctness. + * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'. -2000-05-29 Ulrich Drepper +1999-06-15 Ulrich Drepper - * Makefile: Add GNU make magic. + * stdio-common/printf-parse.h (parse_one_spec): Don't set + is_longlong if not necessary. - * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): - Removed. - * inet/rcmd.c: Remove __P. Remove unused variables. - (iruserfopen): Make first parameter const. - (ruserok_sa): Return result of ruserok2_sa. - (__checkhost_sa): Correctly iterate through results of getaddrinfo. - * inet/rexec.c: Remove unused variables. Other small cleanups. - * inet/ruserpass.c: Remove __P. Remove unused variables. - (ruserpass): Check results of memory allocation. - * include/netdb.h: Add prototype for ruserpass. +1999-06-15 H.J. Lu -2000-05-29 Andreas Jaeger + * Make-dist (sysdep_dirs): Exclude SCCS. + * MakeTAGS (sysdep_dirs): Likewise. - * elf/readlib.c (interpreters): Use LD_SO since this is supported - for all platforms. +1999-06-15 Ulrich Drepper -2000-05-29 Jakub Jelinek + * posix/regex.c (re_error_msgid): Remove extra commas. - * inet/rcmd.c (rresvport_af): Use correct port number. +1999-06-14 Geoff Keating -2000-05-26 Andreas Schwab + * stdlib/tst-strtoll.c: New file. + * stdlib/Makefile (tests): Add tst-strtoll.c + * stdlib/strtol.c: It is not generally true that if + (unsigned)a*(unsigned)b overflows, then the result is + less than 'a'. - * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to - entries in all-sonames. - ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol, - preserving the old name if different for compatibility. +1999-06-14 Thorsten Kukuk -2000-05-29 Ulrich Drepper + * nscd/connections.c (handle_request): Only root is allowed to + send GETSTAT request in non secure mode. + * nscd/nscd.c: Print error message if other then root try to + use getstat. - * posix/Makefile (tests): Add tst-spawn. - (tst-spawn-ARGS): New variable. - * posix/tst-spawn.c: New file. +1999-06-15 Andreas Jaeger - * posix/spawn_faction_addclose.c: Correctly account for new entry. - * posix/spawn_faction_adddup2.c: Likewise. - * posix/spawn_faction_addopen.c: Likewise. - * posix/spawni.c: Correctly test for success of dup2 calls. + * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl. - * posix/tst-preadwrite.c: Check success of malloc call. +1999-06-15 Andreas Jaeger -2000-05-28 Ulrich Drepper + * manual/time.texi (Limits on Resources): Describe RLIMIT_AS. + Closes PR libc/1164, reported by sascha@schumann.2ns.de. - * posix/Makefile (tests): Add tst-exec. - (tst-exec-ARGS): New variable. - * posix/tst-exec.c: New file. +1999-06-13 Andreas Schwab - * sysdeps/arm/atomicity.h (compare_and_swap): Return result. + * sysdeps/generic/strchr.c: Include and use reg_char + for character to search, to help the compiler. + * sysdeps/generic/strchrnul.c: Likewise. + * sysdeps/generic/memchr.c: Likewise. + * sysdeps/generic/memccpy.c: Likewise. + * sysdeps/generic/rawmemchr.c: Likewise. Fix comment. -2000-05-04 Andreas Jaeger +1999-06-13 Andreas Schwab - * string/string.h: Remove __strdup prototype, it's not needed in - this file anymore. + * sysdeps/m68k/memchr.S: New file. + * sysdeps/m68k/rawmemchr.S: New file. + * sysdeps/m68k/strchr.S: New file. + * sysdeps/m68k/strchrnul.S: New file. -2000-05-28 Ulrich Drepper +1999-06-13 Geoff Keating - * posix/Makefile (tests): Add tst-fork. - * posix/tst-fork.c: New file. + * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile'; + add `memory' clobber; optimise for constant `val'. + (atomic_add): Likewise. + (test_and_set): Remove `volatile'; add `memory' clobber; be more + like the original `test_and_set'. + (compare_and_swap): Remove `volatile'; add `memory' clobber; + optimise for constant `oldval'. + (always_swap): Remove `volatile'; add `memory' clobber. - * resolv/inet_pton.c: Loose __P. +1999-06-13 Andreas Jaeger -2000-05-21 Jakub Jelinek + * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline + functions for gcc <= 2.7.x. - * libio/libioP.h (_IO_CHECK_WIDE): Define. - * libio/iosetbuffer.c (_IO_setbuffer): Use it. - * libio/iosetvbuf.c (_IO_setvbuf): Likewise. - * libio/fileops.c (_IO_new_file_fopen): Return NULL if - _IO_CHECK_WIDE fails. +1999-06-13 Roland McGrath -2000-05-28 Ulrich Drepper + * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last + change. - * po/da.po: New file. +1999-06-13 Ulrich Drepper - * manual/arith.texi (Rounding Functions): Fix documentation of trunc. - Patch by Steven G. Johnson . + * db2/Makefile (distribute): Remove files which do not exist + anymore. - * manual/charset.texi (Extended Char Intro): Fix typo (and -> as). - (Other iconv Implementations): Fix typo. - Patch by Martin Pool . + * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit + definitions to calm down gcc. + + * db2/db.h: Update from db 2.7.5. + * db2/db_185.h: Likewise. + * db2/db_int.h: Likewise. + * db2/btree/bt_compare.c: Likewise. + * db2/btree/bt_conv.c: Likewise. + * db2/btree/bt_curadj.c: Likewise. + * db2/btree/bt_cursor.c: Likewise. + * db2/btree/bt_delete.c: Likewise. + * db2/btree/bt_open.c: Likewise. + * db2/btree/bt_page.c: Likewise. + * db2/btree/bt_put.c: Likewise. + * db2/btree/bt_rec.c: Likewise. + * db2/btree/bt_recno.c: Likewise. + * db2/btree/bt_rsearch.c: Likewise. + * db2/btree/bt_search.c: Likewise. + * db2/btree/bt_split.c: Likewise. + * db2/btree/bt_stat.c: Likewise. + * db2/btree/btree_auto.c: Likewise. + * db2/common/db_appinit.c: Likewise. + * db2/common/db_apprec.c: Likewise. + * db2/common/db_err.c: Likewise. + * db2/common/db_region.c: Likewise. + * db2/common/db_salloc.c: Likewise. + * db2/db/db.c: Likewise. + * db2/db/db.src: Likewise. + * db2/db/db_am.c: Likewise. + * db2/db/db_auto.c: Likewise. + * db2/db/db_dispatch.c: Likewise. + * db2/db/db_dup.c: Likewise. + * db2/db/db_iface.c: Likewise. + * db2/db/db_join.c: Likewise. + * db2/db/db_overflow.c: Likewise. + * db2/db/db_pr.c: Likewise. + * db2/db/db_rec.c: Likewise. + * db2/db/db_ret.c: Likewise. + * db2/db185/db185.c: Likewise. + * db2/dbm/dbm.c: Likewise. + * db2/hash/hash.c: Likewise. + * db2/hash/hash_auto.c: Likewise. + * db2/hash/hash_dup.c: Likewise. + * db2/hash/hash_page.c: Likewise. + * db2/hash/hash_rec.c: Likewise. + * db2/hash/hash_stat.c: Likewise. + * db2/include/btree.h: Likewise. + * db2/include/btree_ext.h: Likewise. + * db2/include/clib_ext.h: Likewise. + * db2/include/common_ext.h: Likewise. + * db2/include/db_am.h: Likewise. + * db2/include/db_auto.h: Likewise. + * db2/include/db_cxx.h: Likewise. + * db2/include/db_ext.h: Likewise. + * db2/include/db_join.h: Likewise. + * db2/include/db_page.h: Likewise. + * db2/include/hash.h: Likewise. + * db2/include/hash_ext.h: Likewise. + * db2/include/lock.h: Likewise. + * db2/include/lock_ext.h: Likewise. + * db2/include/log.h: Likewise. + * db2/include/log_ext.h: Likewise. + * db2/include/mp.h: Likewise. + * db2/include/mp_ext.h: Likewise. + * db2/include/os.h: Likewise. + * db2/include/os_ext.h: Likewise. + * db2/include/os_func.h: Likewise. + * db2/include/txn.h: Likewise. + * db2/include/txn_auto.h: Likewise. + * db2/include/txn_ext.h: Likewise. + * db2/include/xa.h: Likewise. + * db2/include/xa_ext.h: Likewise. + * db2/lock/lock.c: Likewise. + * db2/lock/lock_conflict.c: Likewise. + * db2/lock/lock_deadlock.c: Likewise. + * db2/lock/lock_region.c: Likewise. + * db2/lock/lock_util.c: Likewise. + * db2/log/log.c: Likewise. + * db2/log/log_archive.c: Likewise. + * db2/log/log_auto.c: Likewise. + * db2/log/log_findckp.c: Likewise. + * db2/log/log_get.c: Likewise. + * db2/log/log_put.c: Likewise. + * db2/log/log_rec.c: Likewise. + * db2/log/log_register.c: Likewise. + * db2/mp/mp_bh.c: Likewise. + * db2/mp/mp_fget.c: Likewise. + * db2/mp/mp_fopen.c: Likewise. + * db2/mp/mp_fput.c: Likewise. + * db2/mp/mp_fset.c: Likewise. + * db2/mp/mp_open.c: Likewise. + * db2/mp/mp_pr.c: Likewise. + * db2/mp/mp_region.c: Likewise. + * db2/mp/mp_sync.c: Likewise. + * db2/mutex/mutex.c: Likewise. + * db2/mutex/uts4_cc.s: Likewise. + * db2/os/os_abs.c: Likewise. + * db2/os/os_alloc.c: Likewise. + * db2/os/os_config.c: Likewise. + * db2/os/os_dir.c: Likewise. + * db2/os/os_fid.c: Likewise. + * db2/os/os_fsync.c: Likewise. + * db2/os/os_map.c: Likewise. + * db2/os/os_oflags.c: Likewise. + * db2/os/os_open.c: Likewise. + * db2/os/os_rw.c: Likewise. + * db2/os/os_seek.c: Likewise. + * db2/os/os_sleep.c: Likewise. + * db2/os/os_spin.c: Likewise. + * db2/os/os_stat.c: Likewise. + * db2/os/os_tmpdir.c: Likewise. + * db2/os/os_unlink.c: Likewise. + * db2/progs/db_archive/db_archive.c: Likewise. + * db2/progs/db_checkpoint/db_checkpoint.c: Likewise. + * db2/progs/db_deadlock/db_deadlock.c: Likewise. + * db2/progs/db_dump/db_dump.c: Likewise. + * db2/progs/db_load/db_load.c: Likewise. + * db2/progs/db_printlog/README: Likewise. + * db2/progs/db_printlog/commit.awk: Likewise. + * db2/progs/db_printlog/count.awk: Likewise. + * db2/progs/db_printlog/db_printlog.c: Likewise. + * db2/progs/db_printlog/pgno.awk: Likewise. + * db2/progs/db_printlog/range.awk: Likewise. + * db2/progs/db_printlog/status.awk: Likewise. + * db2/progs/db_printlog/txn.awk: Likewise. + * db2/progs/db_recover/db_recover.c: Likewise. + * db2/progs/db_stat/db_stat.c: Likewise. + * db2/txn/txn.c: Likewise. + * db2/txn/txn.src: Likewise. + * db2/txn/txn_auto.c: Likewise. + * db2/txn/txn_rec.c: Likewise. + * db2/xa/xa.c: Likewise. + * db2/xa/xa_db.c: Likewise. + * db2/xa/xa_map.c: Likewise. + + * db2/btree/bt_close.c: Removed. + * db2/db/db_thread.c: Likewise. + * db2/hash/hash_debug.c: Likewise. + * db2/include/db.h.src: Likewise. + * db2/include/db_int.h.src: Likewise. + * db2/include/os_jump.h: Likewise. + * db2/mutex/alpha.dec: Likewise. + * db2/mutex/alpha.gcc: Likewise. + * db2/mutex/parisc.hp: Likewise. + * db2/mutex/uts4.cc.s: Likewise. + + * db2/Makefile: Add new routines, remove old for 2.7.5. + * db2/Versions: Add internal function names for the helper programs. + * db2/makedb.c: Update for new cursor callback. + * Versions.def: Define versions for libdb. + +1999-06-13 Thorsten Kukuk + + * nscd/connections.c (nscd_run): Get user ID for all non-db services. + * nscd/Makefile (others, install-sbin): Add nscd_nischeck. + * nscd/nscd_nischeck.c: New file. + * nscd/nscd.init: Enable use of nscd_nischeck and secure tables. + +1999-06-13 Andreas Jaeger + + * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing + MSG_* flags from Linux 2.2.9. + +1999-06-12 Mark Kettenis + + * Makeconfig (static-start-installed-name): Set to + $(start-installed-name) if not defined. + (+link-static): Use $(static-start-installed-name) instead of + $(start-installed-name). + * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name): + Set to crt0.o. + +1999-06-12 Mark Kettenis + + * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when + inserting a send right into the child instead of unconditionally + copying the send right. + +1999-06-12 Ulrich Drepper + + * locale/lc-time.c: Add free_mem function to free if necessary + statically allocated memory. + +1999-06-10 Jakub Jelinek + + * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent + bias from the raw exponent. + +1999-06-11 Ulrich Drepper + + * inet/arpa/tftp.h: Move attribute declaration in right position. + +1999-06-11 Thorsten Kukuk + + * nscd/nscd.c: Add -S options for separate caching of data for + every user. So one user couldn't see the data another user + has gotten with his credentials. + * nscd/nscd.h: Add new prototypes. + * nscd/cache.c: Compare owner of cache entry if in secure mode. + * nscd/connections.c: Check on shutdown if caller really was root. + In secure mode get uid of caller. + * nscd/grpcache.c: Add support for new secure group mode. + * nscd/hstcache.c: Add support for new secure hosts mode. + * nscd/pwdcache.c: Add support for new secure passwd mode. + +1999-06-11 Ulrich Drepper + + * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage + of user-provided buffer. + +1999-06-11 Mark Kettenis + + * hurd/hurdsock.c (max_domain): Initialize to `-1'. + (_hurd_socket_server): Fix off-by-one error in setting `max_domain'. + +1999-06-10 Ulrich Drepper + + * stdio-common/printf-parse.h (parse_one_spec): Add support for a + and A format. + + * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for + returning after last entry. + * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise. -2000-05-27 Andreas Jaeger +1999-06-09 Ulrich Drepper - * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the - normal version now. - * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pread.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. + * misc/sysexits.h: Remove advertising clause of copyright. + * resolv/getnetnamadr.c: Likewise. + * sysdeps/vax/bcopy.s: Likewise. + * sysdeps/vax/bzero.s: Likewise. + * sysdeps/vax/ffs.s: Likewise. + * sysdeps/vax/memchr.s: Likewise. + * sysdeps/vax/memcmp.s: Likewise. + * sysdeps/vax/memmove.s: Likewise. + * sysdeps/vax/memset.s: Likewise. + * sysdeps/vax/strcat.s: Likewise. + * sysdeps/vax/strchr.s: Likewise. + * sysdeps/vax/strcmp.s: Likewise. + * sysdeps/vax/strcpy.s: Likewise. + * sysdeps/vax/strcspn.s: Likewise. + * sysdeps/vax/strlen.s: Likewise. + * sysdeps/vax/strncat.s: Likewise. + * sysdeps/vax/strncmp.s: Likewise. + * sysdeps/vax/strncpy.s: Likewise. + * sysdeps/vax/strpbrk.s: Likewise. + * sysdeps/vax/strrchr.s: Likewise. + * sysdeps/vax/strsep.s: Likewise. + * sysdeps/vax/strspn.s: Likewise. + * sysdeps/vax/strstr.s: Likewise. + + * libio/iofopncook.c: Adjust for renaming of structure elements. + * libio/libio.h: Define cookie functions with all the names. + + * pwd/fgetpwent_r.c: Set errno in the correct way. + * shadow/fgetspent_r.c: Likewise. + * pwd/fgetpwent.c: Handle long lines correctly. Little + optimizations. Free static buffer when debugging memory handling. + * shadow/fgetspent.c: Likewise. + + * grp/fgetgrent.c: Little optimization in loop. + +1999-06-09 Andreas Jaeger + + * grp/tst_fgetgrent.c (write_group): Fix generation of long line + in a different way. + +1999-06-09 Jakub Jelinek + + * stdlib/longlong.h: gas changed sethi handling when without + %hi(). Fix assembly. + * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow + port specific cache id checks. + * sysdeps/generic/dl-cache.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file. + +1999-06-08 Ulrich Drepper + + * gmon/gmon.c: Remove advertising clause of copyright. + * gmon/mcount.c: Likewise. + * gmon/sys/gmon.h: Likewise. + * inet/arpa/ftp.h: Likewise. + * inet/arpa/telnet.h: Likewise. + * inet/arpa/tftp.h: Likewise. + * inet/inet_lnaof.c: Likewise. + * inet/inet_mkadr.c: Likewise. + * inet/inet_net.c: Likewise. + * inet/inet_netof.c: Likewise. + * inet/protocols/routed.h: Likewise. + * inet/protocols/rwhod.h: Likewise. + * inet/protocols/talkd.h: Likewise. + * inet/protocols/timed.h: Likewise. + * inet/rcmd.c: Likewise. + * inet/rexec.c: Likewise. + * inet/ruserpass.c: Likewise. + * io/fts.c: Likewise. + * io/fts.h: Likewise. + * login/login_tty.c: Likewise. + * misc/fstab.h: Likewise. + * misc/getttyent.c: Likewise. + * misc/getusershell.c: Likewise. + * misc/sys/queue.h: Likewise. + * misc/sys/syslog.h: Likewise. + * misc/syslog.c: Likewise. + * misc/ttyent.h: Likewise. + * misc/ttyslot.c: Likewise. + * resolv/arpa/nameser.h: Likewise. + * resolv/gethnamaddr.c: Likewise. + * resolv/herror.c: Likewise. + * resolv/inet_addr.c: Likewise. + * resolv/mapv4v6addr.h: Likewise. + * resolv/mapv4v6hostent.h: Likewise. + * resolv/nss_dns/dns-host.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_comp.c: Likewise. + * resolv/res_data.c: Likewise. + * resolv/res_debug.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/res_query.c: Likewise. + * resolv/res_send.c: Likewise. + * resolv/resolv.h: Likewise. + * sysdeps/generic/div.c: Likewise. + * sysdeps/generic/netinet/ip.h: Likewise. + * sysdeps/generic/netinet/tcp.h: Likewise. + * sysdeps/generic/paths.h: Likewise. + * sysdeps/generic/prof-freq.c: Likewise. + * sysdeps/generic/sys/ttydefaults.h: Likewise. + * sysdeps/gnu/netinet/ip_icmp.h: Likewise. + * sysdeps/gnu/netinet/tcp.h: Likewise. + * sysdeps/ieee754/support.c: Likewise. + * sysdeps/mach/hurd/sys/param.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. + * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise. + * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise. + * sysdeps/unix/bsd/sys/reboot.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise. + * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise. + * sysdeps/unix/sysv/linux/paths.h: Likewise. + * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. + * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise. + * sysdeps/vax/DEFS.h: Likewise. + * termios/sys/ttychars.h: Likewise. + * misc/daemon.c: Likewise. Call fork. - * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check - endianness to decide how to pass arguments. - * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. + * grp/fgetgrent.c (buffer): Make file local variable. + (free_mem): New function. Call for malloc debugging. - * elf/vismain.c: Use test-skeleton interface. - (TEST_FUNCTION): New macro. - (do_test): Renamed from main. + * grp/tst_fgetgrent.c (write_users): Correctly generate long line. -2000-05-27 Ulrich Drepper +1999-06-08 Andreas Jaeger - * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family == - AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses. + * grp/Makefile: Add rules for tst_fgetgrent. - * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct - handling of AI_V4MAPPED flag. + * grp/tst_fgetgrent.c: Rewritten to read only one file. - * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup - of IPv6 address failed and RES_USE_INET6 bit in _res.options is set, - perform lookup for T_A type and tell getanswer_r to convert the - result with new argument. - (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r. - Don't convert addresses from IPv4 to IPv6 here. - (getanswer_r): Take new parameter indicating if mapping from IPv4 to - IPv6 is wanted. Allow qtype and type from reply to disagree if - IPv4 mapping has to be done. Perform mappings if required by the - caller and not if RES_USE_INET6 bit in _res.options is set. - Add several __builtin_expect. + * grp/tst_fgetgrent.sh: New file. -2000-05-26 Ulrich Drepper +1999-06-08 Ulrich Drepper - * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect. + * grp/Makefile (tests): Add tst_fgetgrent. + * grp/tst_fgetgrent.c: New file. + Patches by Andreas Jaeger . - * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader == - NULL. +1999-06-07 Roland McGrath - * posix/tst-preadwrite.c: Allow parallel execution of - tst-preadwrite and tst-preadwrite64. + * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to + be POSIX compliant. Prior definition was broken for Hurd. + Reported by Mark Kettenis . - * posix/Makefile (tests): Add tst-truncate and tst-truncate64. - * posix/tst-truncate.c: New file. - * posix/tst-truncate64.c: New file. +1999-06-08 Ulrich Drepper - * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code - was switched. + * ctype/ctype.h: Protect __tobody code by __extension__. - * posix/Makefile (tests): Add tst-preadwrite64. - * posix/tst-preadwrite.c: Alloc file being used also for testing - pread64 and pwrite64. - * posix/tst-preadwrite64.c: New file. +1999-06-07 Ulrich Drepper -2000-05-26 Andreas Jaeger + * grp/fgetgrent.c (fgetgrent): Remember position of stream before + reading and reset in case the buffer was too small. - * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order - of arguments dependend on endianness. - * sysdeps/unix/sysv/linux/truncate64.c: Likewise. + * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case + of EOF. - * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the - normal version now. - * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. +1999-06-07 Andreas Jaeger - * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check - endianness to check how to pass argument. - * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix + another SIOGIFNAME typo. - * elf/ldconfig.h: Update parameter list for process_elf_file. +1999-06-07 Ulrich Drepper - * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file): - Add parameter file_length and pass it ot process_elf*file. + * elf/dl-lookup.c: Remove duplicated assert.h inclusion. - * sysdeps/generic/readelflib.c (check_ptr): New. - (process_elf_file): Use check_ptr to check all accesses to the - mmapped file. Add parameter file_length. + * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little + bit. - * elf/readlib.c (known_libs): Use to specify - library names. +1999-06-05 Andreas Schwab - * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion. - Closes PR libc/1573, reported by Bradley White - . + * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore + the precision if the mantissa is zero. -2000-05-25 Ulrich Drepper +1999-06-05 Andreas Schwab - * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if - __FAST_MATH__ is defined. + * manual/lang.texi (Floating Point Parameters): GCC already + supports long double for a long time. -2000-05-22 Andreas Jaeger +1999-06-05 Andreas Schwab - * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, - CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. + * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test, + yn_test): Increase some epsilons. - * manual/math.texi (FP Function Optimizations): Document gcc - -ffast-math behaviour with mathinlines. +1999-06-07 Ulrich Drepper - * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline - functions unless -ffast-math is given to gcc. + * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed + parameters. -2000-05-23 Jakub Jelinek +1999-06-06 Ulrich Drepper - * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, - __sincosl): Guard with __USE_GNU. + * sysdeps/unix/sysv/linux/kernel-features.h: Define + __ASSUME_SIOCGIFNAME for kernel >= 2.1.50. + * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME -> + SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME. -2000-05-24 Ulrich Drepper + * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions. + * sysdeps/libm-ieee754/w_j0f.c: Likewise. + * sysdeps/libm-ieee754/w_j0l.c: Likewise. + * sysdeps/libm-ieee754/w_j1.c: Likewise. + * sysdeps/libm-ieee754/w_j1f.c: Likewise. + * sysdeps/libm-ieee754/w_j1l.c: Likewise. + * sysdeps/libm-ieee754/w_jn.c: Likewise. + * sysdeps/libm-ieee754/w_jnf.c: Likewise. + * sysdeps/libm-ieee754/w_jnl.c: Likewise. - * csu/Makefile (routines): Add check_fds. - * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID - binaries. Add various __builtin_expect. - * sysdeps/generic/libc-start.c: Move check_fds and helper functions... - * sysdeps/generic/check_fds.c: ...here. New file. + * stdio-common/vfprintf.c: Correct typos. - * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID - binaries if file /etc/suid-debug is available. + * math/libm-test.c (jn_test): Adjust delta. + (y1_test): Likewise. + (yn_test): Likewise. - * locale/programs/ld-collate.c (struct element_t): Add mbseqorder - and wcseqorder members. - (struct locale_collate_t): Likewise. - (collate_finish): Assign collation sequence value to each character. - Create tables for output. - (collate_output): Write out tables with collation sequence information. - * locale/C-collate.c: Provide C locale data for collation sequence - table. - * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and - _NL_COLLATE_COLLSEQWC. - * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and - _NL_COLLATE_COLLSEQWC. - * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before - include fnmatch_loop.c. - * posix/fnmatch_loop.c: Don't use strcoll while determining whether - character is matched by range expression. Use collation sequence - table. Outside glibc fall back on simple character value comparison. - -2000-05-24 Andreas Jaeger - - * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double - words. - - * intl/Makefile: Run gettext-test only if msgfmt is available. - - * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS): - Define it for newer kernels. - -2000-05-23 Ulrich Drepper - - * elf/dl-sym.c: Minor cleanups. - - * configure.in: Add test for .protected. - * config.make.in: Add have-protected variable. - * elf/Makefile (tests): Add $(tests-vis-$(have-protected)). - (tests-vis-yes): Add vismain. - (modules-names): Add $(modules-vis-$(have-protected)). - (modules-vis-yes): Add vismod1, vismod2, and vismod3. - Add rules to generate and run vismain. - * elf/vismain.c: New file. - * elf/vismod1.c: New file. - * elf/vismod2.c: New file. - * elf/vismod3.c: New file. - -2000-05-23 Andreas Jaeger - - * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a. - - * manual/search.texi (Array Sort Function): Document that qsort is - not necessarily in-place. - - * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. - Closes PR libc/1731. - - * csu/munch-tmpl.c (__libc_init): Remove K&R support. - * dirent/scandir64.c: Likewise. - * pwd/getpw.c: Likewise. - * stdlib/bsearch.c (bsearch): Likewise. - * stdlib/tst-strtoll.c: Likewise. - * localedata/collate-test.c: Likewise. - * localedata/xfrm-test.c: Likewise. - * posix/bsd-getpgrp.c: Likewise. - * sysdeps/alpha/fpu/bits/fenv.h: Likewise. - * sysdeps/generic/bits/siginfo.h: Likewise. - * sysdeps/generic/bits/sockaddr.h: Likewise. - * sysdeps/generic/sys/swap.h: Likewise. - * sysdeps/generic/sys/sysinfo.h: Likewise. - * sysdeps/generic/vfork.c: Likewise. - * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. - * sysdeps/mach/hurd/fdopen.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise. - * sysdeps/unix/sysv/linux/poll.c: Likewise. - * sysdeps/unix/sysv/linux/readv.c: Likewise. - * sysdeps/unix/sysv/linux/writev.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. + * elf/do-lookup.h: It should never happen that if we expect a versioned + symbol from a file the file has no version table. This should have + been checked in dl-version.c. + * elf/dl-lookup.c: Include assert.h. - * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes. - * shadow/lckpwdf.c: Likewise. - * stdlib/tst-strtol.c: Likewise. - * sysdeps/generic/tcsetattr.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname.c: Likewise. - * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer + function handling. -2000-05-22 Jakub Jelinek + * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define. - * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements, - free it and set to (void *) -1. +1999-06-06 Andi Kleen -2000-05-22 Jakub Jelinek + * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set + SA_RESTORER flag. - * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is - not the second character in the range. - * stdio-common/tstscanf.c (main): Add testcase for the above. - Reported by jik@kamens.brookline.ma.us. +1999-06-04 Andreas Jaeger -2000-05-21 H.J. Lu + * math/libm-test.c (yn_test): Change one delta. + (jn_test): Likewise. + (j1_test): Likewise. + (y0_test): Likewise. - * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter - with noexec and noplt parameter. - (do_lookup): Likewise. +1999-06-06 Ulrich Drepper - * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of - do_lookup. Support STV_PROTECTED. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. + * malloc/malloc.c: Introduce local variable __libc_getpagesize to + avoid multiple calls to getpagesize() which might be a syscall. - * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY. +1999-06-06 Philip Blundell - * elf/dl-runtime.c (profile_fixup): Fix a typo in comment. + * stdio-common/tstscanf.c (main): Test the half-word format "%hd". -2000-05-21 Jakub Jelinek +1999-06-06 Andreas Jaeger - * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95. - * sysdeps/i386/bits/huge_val.h: Likewise. - * sysdeps/ieee754/bits/huge_val.h: Likewise. - * sysdeps/m68k/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise. - * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise. - -2000-05-22 Andreas Jaeger - - * iconv/tst-iconv1.c (main): Remove const from inbuf to follow - change in iconv.h. - -2000-05-19 Andreas Jaeger - - * sysdeps/unix/sysv/linux/i386/i686/sysdep.h - (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which - breaks compilation without linuxthreads. - -2000-05-21 Ulrich Drepper - - * sysdeps/ia64/memccpy.S: New file. - * sysdeps/ia64/memchr.S: New file. - * sysdeps/ia64/memcmp.S: New file. - * sysdeps/ia64/memcpy.S: New file. - * sysdeps/ia64/memmove.S: New file. - * sysdeps/ia64/memset.S: New file. - * sysdeps/ia64/strcat.S: New file. - * sysdeps/ia64/strchr.S: New file. - * sysdeps/ia64/strcmp.S: New file. - * sysdeps/ia64/strcpy.S: New file. - * sysdeps/ia64/strlen.S: New file. - * sysdeps/ia64/strncmp.S: New file. - * sysdeps/ia64/strncpy.S: New file. - * sysdeps/ia64/softpipe.h: New file. - Patches by Dan Pop . - - * manual/memory.texi: Document memory handling functions (mlock, - munlock, mlockall, munlockall, brk, and sbrk) - * manual/time.texi: Document timespec and friends. - * manual/conf.texi: Fix references. - * manual/ctype.texi: Likewise. - * manual/errno.texi: Likewise. - * manual/intro.texi: Likewise. - * manual/locale.texi: Likewise. - * manual/sysinfo.texi: Likewise. - Patches by Bryan Henderson . + * manual/install.texi (Running make install): Correct typo in + dynamic linker invocation. -2000-05-09 Jes Sorensen +1999-06-05 Philip Blundell - * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to... - * sysdeps/ia64/dl-lookupcfg.h: ...here. + * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix + problems with GOT addressing. -2000-05-21 Jakub Jelinek +1999-06-05 Wolfram Gloger - * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate - dxfer_direction. + * malloc/malloc.c (check_action): Change into bitmap so that both + diagnostic and abort can be requested by setting it to 3. + (mALLOC_SET_STATe): Disable malloc checking if necessary. -2000-05-21 Ulrich Drepper +1999-06-03 Ulrich Drepper - * locale/locale.h (struct lconv): Add new elements from ISO C99. - * locale/localeconv.c: Initialize new elements from ISO C99. - * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for - new standard elements. - * locale/categories.def: Adjust accordingly. + * configure.in: Few changes for HPUX. - * iconv/iconv.h (iconv): Remove const from inbuf parameter. - * iconv/iconv.c: Likewise. - * conform/data/iconv.h-data: Likewise. - * iconv/iconv_prog.c (process_block): Remove const from second - parameter. - (main): Remove const from addr definition. - * manual/charset.texi (Generic Conversion Interface): Remove from - inbuf parameter of iconv. + * scripts/config.guess: Update from latest version. + * scripts/config.sub: Likewise. - * intl/dcigettext.c: Fix typo in comment. +1999-06-03 Andreas Jaeger -2000-05-20 2000 H.J. Lu + * Makerules: Set LC_ALL explicitly to archieve correct sorting of + map files. Closes PR libc/1147. - * resolv/res_libc.c (_res): Initialize _sock to -1. +1999-06-03 Andreas Jaeger -2000-05-18 Jakub Jelinek + * math/libm-test.c (main): Add new test functions. + (jn_test): New tests. + (j1_test): Add some more tests. + (j0_test): Add some more tests. + (y0_test): Add some more tests. + (y1_test): Add some more tests. - * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. - (fopencookie@@GLIBC_2.2): New. - (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. - (fopencookie@GLIBC_2.0): New. - * libio/Versions: Add fopencookie to GLIBC_2.2. +1999-06-02 Andreas Jaeger -2000-05-18 Andreas Jaeger + * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices. + Patch by mhagger@dera.gov.uk [PR libc/1145]. - * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. - Closes PR libc/1731. + * math/libm-test.c (y1_test): New tests. + (y0_test): Likewise. + (j1_test): Likewise. + (j0_test): Likewise. + (main): Added new tests. - * manual/arith.texi (Parsing of Integers): Fix typo. - Closes PR libc/1744, reported by blp@gnu.org. +1999-06-02 Jakub Jelinek -2000-05-17 Jakub Jelinek + * stdlib/longlong.h: Define UDIV_TIME on sparc64. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file. - * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add - __extension__ to hexadecimal floating constant notation. - * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): - Likewise. - * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise. - * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): - Likewise. - * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF, - HUGE_VALL): Likewise. - * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF, - HUGE_VALL): Likewise. - (HUGE_VALL): Set to HUGE_VAL on sparc32. +1999-06-02 David S. Miller -2000-05-17 Andreas Jaeger + * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list + pointers properly. - * string/envz.h: Add pure attributes if possible. +1999-06-02 Ulrich Drepper - * string/argz.h: argz_count is a pure function. + * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h + and elide compatibility code if possible. - * string/strings.h: Add pure and const attributes if possible. +1999-06-01 Ulrich Drepper - * sysdeps/generic/memmem.c (memmem): Check arguments to avoid - possibly searching through the whole memory. - Closes PR libc/1730, reported by Greg Hudson . + * manual/llio.texi: Remove menu entry for removed section. -2000-05-17 Jakub Jelinek +1999-05-29 Andreas Schwab - * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if - not yet defined. - (_dl_cache_check_flags): Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next - dl-cache.h. + * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused + variables. -2000-05-17 Andreas Jaeger +1999-06-01 Andreas Jaeger - * manual/creature.texi (Feature Test Macros): Remove paragraph - since the description is wrong. - Closes PR libc/1691, reported by Geoff Clare . + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it + (from Linux 2.3.4). - * scripts/config.sub: New version. - * scripts/config.guess: Likewise. - * manual/texinfo.tex: Likewise. +1999-05-30 Ulrich Drepper - * time/test_time.args: Removed. - * time/Makefile (test_time-ARGS): Added contents here instead. + * inet/netinet/in.h: Mark ntoh* and hton* as constant functions. - * posix/tstgetopt.args: Removed. - * posix/Makefile (tstgetopt-ARGS): Added contents here instead. +1999-05-30 Andreas Jaeger - * Rules: Allow arguments for test files to be specified in - Makefile with testname-ARGS; remove rules with .args in it. + * manual/stdio.texi: Fix some typos. - * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1, - remove old bogus rule for opendir-tst1.args. +1999-05-27 Andreas Schwab - * stdlib/test-canon.c: Rewrite to use test-skeleton.c. + * malloc/malloc.h: Properly handle future GCC versions. - * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir - into objdir. This allows a readonly sourcetree. - Reported by lrgallardo@yahoo.com, closes PR libc/1421. +1999-05-27 Andreas Schwab -2000-05-16 Andreas Jaeger , - David Huggins-Daines + * sysdeps/unix/sysv/linux/configure.in: Change version checks to + use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix + text of error message. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set - cache_data in case of only new cache format correctly. + * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'. - * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct - cache_file_new. +1999-05-29 Ulrich Drepper - * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align - struct cache_file_new. + * manual/filesys.texi: Extend (f)truncate documentation. + * manual/llio.texi: Remove duplicate (f)truncate definition. - * elf/cache.c (save_cache): Fix str_offset if only new cache is - present. +1999-05-29 Andreas Jaeger - * elf/cache.c (save_cache): Align struct new_file_cache. - (print_cache): Likewise. + * manual/stdio.texi (Formatted Output Functions): Mention + semantics of snprintf in glibc 2.0. + Reported by Ben Pfaff . -2000-05-13 Jakub Jelinek +1999-05-29 Ulrich Drepper - * elf/soinit.c (__libc_global_ctors): Move - __pthread_initialize_minimal call out of HAVE_DWARF2_* defines. - * resolv/resolv.h (__res_state): Added __attribute__((const)). - (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as - variable, don't define it to __res_state call. + * include/features.h (__GLIBC_MINOR__): Bump to 2. -2000-05-13 Andreas Jaeger +1999-05-27 Ulrich Drepper - * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from - Linux 2.3.99pre7. - (AF_PPPOX): Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise. - (AF_PPPOX): Likewise. + * math/libm-test.c: Adjust a few more deltas for the poor ARM + FPU emulator. -2000-05-12 Andreas Jaeger +1999-05-27 Andreas Jaeger - * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices. - Reported by tmoestl@gmx.net, closes PR libc/1732. + * configure.in: Fix typo. -2000-05-11 Jan Hubicka +1999-05-27 Andreas Jaeger - * misc/sys/cdefs.h: Add support for pure attribute. + * manual/socket.texi (Host Names): Remove statement that h_errno + needs to be declared since this isn't true anymore. + Closes PR libc/1138. - * include/string.h: Add __attribute_pure__ to various functions. - * string/string.h: Likewise. +1999-05-26 Ulrich Drepper -2000-05-10 Jakub Jelinek + * config.h.in: Add __LINUX_KERNEL_VERSION. + * configure.in: Recognize --enable-kernel. + * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel + headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION + appropriately. + * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is + given perform runtime test. - * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt - argument. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle - R_SPARC_UA64. - * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file. + * sysdeps/unix/sysv/linux/kernel-features.h: New file. + * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if + minimal supported kernel is known to have the feature. + * sysdeps/unix/sysv/linux/poll.c: Likewise. + * sysdeps/unix/sysv/linux/pread.c: Likewise. + * sysdeps/unix/sysv/linux/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. + * sysdeps/unix/sysv/linux/seteuid.c: Likewise. + * sysdeps/unix/sysv/linux/sigaction.c: Likewise. + * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. + * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. + * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. + * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. + * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. -2000-05-10 Jakub Jelinek + * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias. + +1999-05-25 Ulrich Drepper + + * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks. + +1999-05-26 Jakub Jelinek + + * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm): + Optimized sparc64 routines. + +1999-05-25 Ulrich Drepper + + * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if + they are the same as ints. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. + + * version.h (VERSION): Bump to 2.1.90. + (RELEASE): Mark as development. + + * stdio-common/vfprintf.c (vfprintf): Don't implement special + handling for long long if it is the same as long. + * stdio-common/vfscanf.c (_IO_vfscanf): Likewise. + + * stdlib/strtol.c: Moved to ... + * sysdeps/generic/strtol.c: ...here. + * stdlib/strtoul.c: Moved to ... + * sysdeps/generic/strtoul.c: ...here. + * stdlib/strtoll.c: Moved to ... + * sysdeps/generic/strtoll.c: ...here. + * stdlib/strtoull.c: Moved to ... + * sysdeps/generic/strtoull.c: ...here. + * stdlib/strtol_l.c: Moved to ... + * sysdeps/generic/strtol_l.c: ...here. + * stdlib/strtoul_l.c: Moved to ... + * sysdeps/generic/strtoul_l.c: ...here. + * stdlib/strtoll_l.c: Moved to ... + * sysdeps/generic/strtoll_l.c: ...here. + * stdlib/strtoull_l.c: Moved to ... + * sysdeps/generic/strtoull_l.c: ...here. + + * sysdeps/wordsize-64/strtol.c: New file. + * sysdeps/wordsize-64/strtoul.c: New file. + * sysdeps/wordsize-64/strtoll.c: New file. + * sysdeps/wordsize-64/strtoull.c: New file. + * sysdeps/wordsize-64/strtol_l.c: New file. + * sysdeps/wordsize-64/strtoul_l.c: New file. + * sysdeps/wordsize-64/strtoll_l.c: New file. + * sysdeps/wordsize-64/strtoull_l.c: New file. + + * wcsmbs/wcstol.c: Moved to ... + * sysdeps/generic/wcstol.c: ...here. + * wcsmbs/wcstoul.c: Moved to ... + * sysdeps/generic/wcstoul.c: ...here. + * wcsmbs/wcstoll.c: Moved to ... + * sysdeps/generic/wcstoll.c: ...here. + * wcsmbs/wcstoull.c: Moved to ... + * sysdeps/generic/wcstoull.c: ...here. + * wcsmbs/wcstol_l.c: Moved to ... + * sysdeps/generic/wcstol_l.c: ...here. + * wcsmbs/wcstoul_l.c: Moved to ... + * sysdeps/generic/wcstoul_l.c: ...here. + * wcsmbs/wcstoll_l.c: Moved to ... + * sysdeps/generic/wcstoll_l.c: ...here. + * wcsmbs/wcstoull_l.c: Moved to ... + * sysdeps/generic/wcstoull_l.c: ...here. + + * sysdeps/wordsize-64/wcstol.c: New file. + * sysdeps/wordsize-64/wcstoul.c: New file. + * sysdeps/wordsize-64/wcstoll.c: New file. + * sysdeps/wordsize-64/wcstoull.c: New file. + * sysdeps/wordsize-64/wcstol_l.c: New file. + * sysdeps/wordsize-64/wcstoul_l.c: New file. + * sysdeps/wordsize-64/wcstoll_l.c: New file. + * sysdeps/wordsize-64/wcstoull_l.c: New file. + +1999-05-24 Jakub Jelinek + + * sysdeps/sparc/bits/wordsize.h: New file. + * sysdeps/sparc/fpu/bits/fenv.h: New file. + * sysdeps/sparc/fpu/fpu_control.h: New file. + * sysdeps/sparc/gmp-mparam.h: New file. + + * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove. + * sysdeps/sparc/sparc64/bits/wordsize.h: Remove. + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove. + * sysdeps/sparc/sparc64/gmp-mparam.h: Remove. + + * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file. + * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file. + * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove. + +1999-05-24 Ulrich Drepper + + * login/openpty.c (openpty): Make sure pty does not because + controlling TTY. + + * ctype/ctype.h: Don't optimize toupper/tolower for C++. + +1999-05-23 Roland McGrath + + * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600. + Do proper error return. + +1999-05-23 Andreas Jaeger + + * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage + of __P in the rest of glibc; define __MALLOC_PMT and use it. + Reported by Stephan Kulow . + +1999-05-23 Ulrich Drepper + + * sysdeps/alpha/fpu/bits/fenv.h: Pretty print. + + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if. + +1999-05-22 Andreas Schwab + + * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member + names to protect from user's macro namespace. + * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise. + * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise. + * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise. + * sysdeps/mips/bits/fenv.h (fenv_t): Likewise. + * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c: + Adapted. + * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c, + sysdeps/arm/fpu/fesetenv.c: Likewise. + * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c, + sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c, + sysdeps/i386/fpu/fsetexcptflg.c: Likewise. + * sysdeps/mips/fesetenv.c: Likewise. + +1999-05-22 Roland McGrath - * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message - at proper place. Compute the high nibble correctly. + * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma. -2000-05-09 Jakub Jelinek +1999-05-20 Ulrich Drepper - * elf/ldconfig.c: Include elf.h. + * configure.in: Recognize and allow gcc 2.95. - * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero. - (_dl_vsym): Likewise. - Reported by Owen Taylor . +1999-05-19 Jakub Jelinek - * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini - always. + * sysdeps/generic/bits/elfclass.h: Version common to + wordsize-32 and wordsize-64. + * sysdeps/generic/bits/environments.h: Ditto. + * sysdeps/generic/stdint.h: Ditto. + * sysdeps/generic/inttypes.h: Ditto. -2000-05-08 Andreas Jaeger + * sysdeps/generic/bits/wordsize.h: New file. + * stdlib/Makefile: Add bits/wordsize.h to headers. - * include/libintl.h: Add prototype for __bind_textdomain_codeset. + * sysdeps/sparc/sparc64/bits/wordsize.h: New file. - * intl/bindtextdom.c (set_binding_values): Add prototype. + * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported + headers to be used for 32bit and 64bit ABI compilations. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto. + * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto. -2000-05-08 Jakub Jelinek + * sysdeps/wordsize-64/bits/elfclass.h: Remove. + * sysdeps/wordsize-64/bits/environments.h: Remove. + * sysdeps/wordsize-64/stdint.h: Remove. + * sysdeps/wordsize-64/inttypes.h: Remove. + * sysdeps/wordsize-64/bits/wordsize.h: New file. - * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in - call to elf_machine_fixup_plt. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/wordsize-32/bits/elfclass.h: Remove. + * sysdeps/wordsize-32/bits/environments.h: Remove. + * sysdeps/wordsize-32/stdint.h: Remove. + * sysdeps/wordsize-32/inttypes.h: Remove. + * sysdeps/wordsize-32/bits/wordsize.h: New file. -2000-05-08 Jakub Jelinek +1999-05-19 Jakub Jelinek - * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that - they are not dlclose'd from underneath us. + * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8, + __align_cpy_16): New functions. + (__align_cpy_2, __align_cpy_1): New aliases to memcpy. -2000-05-08 Andreas Schwab + * sysdeps/sparc/sparc32/Versions: New file. + * sysdeps/sparc/sparc64/Versions: New file. + * sysdeps/sparc/Versions: Remove. - * posix/execle.c: Fix size parameter of memcpy. +1999-05-19 Jakub Jelinek -2000-05-08 Andreas Schwab + * sysdeps/unix/sysv/linux/configure.in: + On sparc64-*-linux*, set slibdir to /lib64 if prefix + is /usr, plus set libdir to ${exec_prefix}/lib64. + * sysdeps/unix/sysv/linux/configure: Regenerated. + * config.make.in: Propagate libdir settings from configure + to the Makefiles. + * shlib-versions: sparc64-*-linux* dynamic linker is + /lib64/ld-linux.so.2. - * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use - getpagesize syscall if available. +1999-05-18 Thorsten Kukuk -2000-05-08 Andreas Jaeger + * nis/nis_lookup.c (nis_lookup): If we run out of memory, close + RPC connection. - * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and - set errno. +1999-05-18 Jakub Jelinek -2000-05-08 Jakub Jelinek - - * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in - sizeof(struct link_map *) chunks, not in bytes. - -2000-05-07 Ulrich Drepper - - * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's - only needed for locale. - * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS. - It's only needed for catgets. - Patches by Greg McGary . - -2000-05-07 Mark Kettenis - - * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print. - Remove duplicate include. Remove inclusion of - and "nsswitch.h". - (set_cloexec_flag): New function, broken out of dbopen. - (dbopen): Changed return type to `enum - nss_status'. Mostly rewritten to make sure that we do not report - NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts. - (internal_setent): Change return type to nss_status. - Document, and make sure that the function - behaves accordingly. Make dynamically loading the database - library really thread-safe and return NSS_STATUS_UNAVAIL if it - failed. - (db_cursor): Return ENOMEM is memory allocation failed. Remove - unecessary casts. - * nss/nss_db/dummy-db.h: Add copyright notice. Improve - documentation. - (struct dbc24, struct dbc27): Use DBT type in parameter lists for - c_get function member. - * nss/nss_db/nss_db.h: Add and tweak some comments. - (DBT): Move typedef before NSS_DBC typedef. - (NSS_DBC, NSS_DB): Use DBT in function member parameter lists. - -2000-05-07 H.J. Lu - - * csu/initfini.c: Moved to .... - * sysdeps/generic/initfini.c: ...here. - - * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs). - -2000-05-07 Ulrich Drepper - - * manual/resource.texi: Document POSIX scheduling functions. - Patch by Bryan Henderson . - - * inet/rcmd.c (rcmd_af): errno is not set if read returns without - reading anything. Reported by Andries.Brouwer@cwi.nl. - - * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type - for x since promotion in comparison might leads to unexpected - results. Reported by Dan Pop . - - * iconv/Makefile (tests): Add tst-iconv1. - * iconv/tst-iconv1.c: New file. - * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting - empty input buffer over full output buffer. - (ucs4_internal_loop): Likewise. - (ucs4_internal_loop_unaligned): Likewise. - (internal_ucs4le_loop): Likewise. - (internal_ucs4le_loop_unaligned): Likewise. - (ucs4le_internal_loop): Likewise. - (ucs4le_internal_loop_unaligned): Likewise. - Reported by yaoz@nih.gov. - -2000-05-06 Bruno Haible - - * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform - returned != __GCONV_OK, there is nothing to clean up. - -2000-05-06 Bruno Haible - - * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and - OUTPUT_CHARSET environment variables. - -2000-05-06 Andreas Jaeger - - * sysdeps/generic/dl-cache.h (struct file_entry_new): New. - (struct cache_file_new): New. - (struct file_entry): New (moved from cache.c). - (struct cache_file): New (moved from cache.c). - - * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out - from _dl_load_cache_lookup. - (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle - the different cache formats. - New variable cache_new for new format. - - * elf/ldconfig.h: Change according to changes in cache.c and - ldconfig.c; remove cache_libcmp; add opt_format. - - * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove - stuff that's defined in those headers. - Add hwcap to struct lib_entry. - (opt_format): New variable to select cache format. - (options): Add format parameter. - (is_hwcap): New function. - (path_hwcap): New function. - (parse_opt): Handle new format parameter. - (search_dir): Handle hwcap, search also subdirectories with hwcap. - - * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since - ldconfig is part of glibc. - Include dl-cache.h and remove stuff that's defined there. - (struct cache_entry): Add new member hwcap. - (print_entry): Print hwcap, cleanup a bit. - (print_cache): Print new and old formats. - (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap. - (save_cache): Save new and old formats. - (add_to_cache): Handle hwcap. - - * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here... - * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here. - * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here... - * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here. - * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here... - * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here. - -2000-05-05 Bruno Haible - - * intl/dcigettext.c (alignof): New macro. - (_nl_find_msg): Use it instead of __alignof__. Pass correct output - buffer length to __gconv/iconv. If malloc (freemem_size) fails, set - freemem_size to 0. - -2000-05-05 Bruno Haible - - * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch - return value. + * sysdeps/sparc/sparc64/rawmemchr.S: New file. + * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file. -2000-05-06 Ulrich Drepper + * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument + contains garbage in bits 8-63. + * sysdeps/sparc/sparc64/memset.S: Ditto. + * sysdeps/sparc/sparc64/strchr.S: Ditto. - * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'. - (mempcpy): Correct typo is parameter list. +1999-05-18 Ulrich Drepper -2000-05-06 Andreas Jaeger + * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ). - * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline - functions unless -ffast-math is given to gcc. +1999-05-17 David S. Miller -2000-05-06 Ulrich Drepper + * sysdeps/sparc/sparc32/atomicity.h: New file. + * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file. + * sysdeps/sparc/sparc64/atomicity.h: New file. + * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to + sysdep-CFLAGS. - * po/ko.po: Update from translation team. +1999-05-18 Richard Henderson -2000-05-05 Ulrich Drepper + * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule. - * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here. - * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here. - * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to... - * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here. +1999-05-04 Zack Weinberg - * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed. - * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed - * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed. + * argp/argp.h, assert/assert.h, misc/sys/cdefs.h, + posix/sys/types.h: Handle the case of __GNUC__=3, + __GNUC_MINOR__=(anything). - * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file. +1999-05-18 Andreas Jaeger - * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file. - * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file. + * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary + if _FORCE_INLINES. -2000-05-05 Jes Sorensen +1999-05-17 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file. - * sysdeps/unix/sysv/linux/ia64/syscall.S: New file. + * elf/Makefile (distribute): Remove dl-origin.h. + Add dl-dst.h and gen-trusted-dirs.awk. - * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file. - * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file. +1999-05-17 Andreas Jaeger - * sysdeps/ia64/Implies: New file. - * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address. - * sysdeps/ia64/Makefile: New file. - * sysdeps/ia64/gmp-mparam.h: New file, + * sysdeps/i386/i486/Versions: New file with inline functions from + sysdeps/i386/i486/bits/string.h for now. - * sysdeps/ia64/elf/start.S: New file. + * sysdeps/i386/Versions: Add inline functions from + sysdeps/i386/bits/string.h. - * sysdeps/ia64/bits/fenv.h: New file. + * string/Versions: Add inline functions from . -2000-05-05 David Mosberger-Tang + * string/Makefile (routines): Add string-inlines. + * string/string-inlines.c: New file, used for implementation of + extern inline functions. - * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file. + * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate + non inlined versions of functions. + * string/bits/string2.h: Likewise. + * sysdeps/i386/bits/string.h: Likewise. -2000-04-26 Jes Sorensen +1999-05-17 Ulrich Drepper - * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The - ia64 has 64 bit .hash entries just as the Alpha. + * inet/arpa/tftp.h: Add second packed attribute. -2000-04-25 Jes Sorensen +1999-05-16 Wolfram Gloger - * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro. + * malloc/malloc.c: Cleanup to bring in line with released + stand-alone version `ptmalloc'. Update some comments. + (internal_function): Move fallback definition so that the source + compiles outside of libc, and use it in more places. + (malloc_atfork): Fix when malloc_check is in use. -2000-04-17 Jes Sorensen +1999-05-16 Andreas Schwab - * sysdeps/ia64/fpu/fclrexcpt.c: New file. - * sysdeps/ia64/fpu/fedisblxcpt.c: New file. - * sysdeps/ia64/fpu/feenablxcpt.c: New file. - * sysdeps/ia64/fpu/fegetenv.c: New file. - * sysdeps/ia64/fpu/fegetexcept.c: New file. - * sysdeps/ia64/fpu/fegetround.c: New file. - * sysdeps/ia64/fpu/feholdexcpt.c: New file. - * sysdeps/ia64/fpu/fesetenv.c: New file. - * sysdeps/ia64/fpu/fesetround.c: New file. - * sysdeps/ia64/fpu/feupdateenv.c: New file. - * sysdeps/ia64/fpu/fgetexcptflg.c: New file. - * sysdeps/ia64/fpu/fraiseexcpt.c: New file. - * sysdeps/ia64/fpu/fsetexcptflg.c: New file. - * sysdeps/ia64/fpu/ftestexcept.c: New file. + * stdlib/tst-strtod.c: Fix typo. -2000-05-05 Andreas Jaeger +1999-05-16 Andreas Schwab - * misc/tst-tsearch.c (main): Correct type for initstate argument. + * elf/dl-close.c (_dl_close): Add cast to avoid warning about + const incorrectness. - * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New. - (_dl_string_hwcap): New, does nothing. +1999-05-16 Roland McGrath - * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. - * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h - (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. - * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h - (_DL_HWCAP_COUNT): New. - (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant. - (_dl_string_hwcap): New function, converts from string to hwcap - encoding. + * sysdeps/generic/bits/termios.h (CRTSCTS): New macro. -2000-05-05 Ulrich Drepper +1999-05-16 Thorsten Kukuk - * elf/Makefile (distribute): Add dl-lookupcfg.h. - * sysdeps/ia64/Dist: New file. + * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs. + * sunrpc/key_call.c: Fix memory leak, close file handle. + * nis/nis_creategroup.c: Use malloc instead of calloc, + set ctime and mtime. + * nis/nis_subr.c: Check for realloc result. + * nis/nis_file.c: Fix memory leak. + * nis/nis_table.c: Pretty print. + * nis/nis_getservlist.c: Likewise. + * nis/nis_ismember.c: Likewise. + * nis/nis_lookup.c: Likewise. + * nis/nis_ping.c: Likewise. + * nis/nis_removemember.c: Likewise. + * nis/nis_util.c: Likewise, check calloc result. - * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of - parameter to mprotect and for variable assignments. +1999-05-16 Roland McGrath -2000-05-03 Jes Sorensen + * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ... + * sysdeps/generic/sys/socketvar.h: ... here. + * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ... + * sysdeps/generic/netinet/in_systm.h: ... here. + * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h, + sys/socketvar.h. + * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise. + * inet/Makefile (headers): Add netinet/in_systm.h here. + * socket/Makefile (headers): Add sys/socketvar.h here. - * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the - validity of map before dereferencing it. +1999-05-15 Ulrich Drepper - * elf/dl-reloc.c (RESOLVE_MAP): Define. + * stdlib/strtol.c: Optimize inner loop of long long versions. -2000-05-02 Jes Sorensen + * sysdeps/gnu/utmpx.h: Add needed type definitions according to + Unix98. Add forward declaration of struct utmp. - * elf/dl-runtime.c (fixup): Add the value returned in the symbol - lookup to the arguments to elf_machine_fixup_plt(). +1999-05-14 Ulrich Drepper - * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map - of the symbol being resolved to input argument list and make the - function return the pointer to the reloc. + * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of + calloc. - * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change - return valuie to lookup_t and return the value. - * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise. + * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks. + * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test + memory allocation results. - * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise. - Make it an inline function returning value after calling - __elf_machine_fixup_plt(). +1999-05-14 Mark Kettenis - * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the - symbol address. + * sysdeps/generic/getutmp.c: Include + (getutmp): Rewrite to only copy those members that are really + present in `struct utmp'. + * sysdeps/generic/getutmpx.c: Likewise. - * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to - obtain the symbol address. +1999-05-14 Ulrich Drepper - * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro - depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL. + * nss/getXXbyYY.c: Add free_mem function which disposes all + statically allocated memory when debugging. + * nss/getXXent.c: Likewise. + * nss/nsswitch.c: Likewise. - * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling - _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an - inline on non ia64. +1999-05-13 Ulrich Drepper -2000-04-28 Jes Sorensen + * sysdeps/gnu/getutmpx.c: New file. + * sysdeps/gnu/getutmp.c: New file. - * elf/dl-runtime.c (fixup): Use the portable macros to get the - symbol address of an object. +1999-05-13 H.J. Lu - * elf/dl-runtime.c (fixup-profile): Use the portable macros to get - the symbol address of an object. + * login/Versions (getutmpx): Added to GLIBC_2.1.1. + (getutmp): Likewise. - * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t. - * elf/dl-lookup.c (_dl_lookup_symbol): Likewise. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. + * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and + getutmpx for login. -2000-04-27 Jes Sorensen + * sysdeps/gnu/utmpx.h (getutmp): Added. + (getutmpx): Likewise. - * elf/rtld.c (_dl_start): Get the function pointer return address - via _dl_start_address for architectures that need a function - pointer descriptor rather than just a pointer (ia64). + * sysdeps/generic/getutmp.c: New file. - * sysdeps/generic/dl-lookupcfg.h: New file. - * sysdeps/ia64/dl-lookupcfg.h: New file. - * sysdeps/ia64/dl-machine.h: New file. - * sysdeps/ia64/dl-symaddr.c: New file. - * sysdeps/ia64/dl-fptr.c: New file. + * sysdeps/generic/getutmpx.c: New file. - * elf/elf.h: Add IA-64 specific definitions. +1999-05-13 Andreas Jaeger -2000-05-04 Jakub Jelinek + * glibcbug.in (BUGGLIBC): Change address to + libc-alpha@sourceware.cygnus.com. - * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the - end of enum. +1999-05-12 Andreas Jaeger -2000-05-04 Jakub Jelinek + * resolv/arpa/nameser.h: Add C++ protectors. - * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic - happy. +1999-05-08 Andreas Jaeger -2000-04-11 Geoff Keating + * iconvdata/gconv-modules: Fix alias for CP1255. Reported by + Elad Tsur . - * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user - symbol. Call _dl_init rather than the old way. +1999-05-11 Ulrich Drepper -2000-05-04 Ulrich Drepper + * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy. + * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects + lazily if LD_BIND_NOW is not set. + * elf/dl-support.c (_dl_lazy): New variable. + (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar. + * elf/rtld.c (_dl_lazy): new global variable. + ( dl_main): Remove lazy, replace it by _dl_lazy. - * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to - test for pointer in range of DSO address space. +1999-05-06 Andreas Schwab -2000-05-04 Andreas Jaeger + * locale/setlocale.c (new_composite_name): Check also whether the + first category name differs. - * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC. +1999-05-11 Andreas Schwab -2000-05-03 Ulrich Drepper + * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not + the generic one. - * locale/findlocale.c (_nl_find_locale): Add new parameter to - calls of _nl_make_l10nflist. +1999-05-11 Philip Blundell - * libio/stdio.h: Make fseeko and ftello prototypes available is - __USE_LARGEFILE. Patch by Paul Eggert . + * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New + structure; storage suitable for any socket address. + * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage): + Likewise. + * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct + sockaddr_storage): Likewise. - * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the - real unsetenv implementation from 1999-07-29 [PR libc/1714]. + * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit + platform. -2000-05-03 Bruno Haible +1999-05-10 Ulrich Drepper - * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname' - before calling tfind. + * hesiod/Versions: Change _nss_hesiod_getpwuid and + _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and + _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115. -2000-03-05 Jakub Jelinek +1999-05-09 Mark Kettenis - * resolv/resolv.h (res_querydomain): Remove redefinition to - __res_querydomain (reported by Owen Taylor ). + * hurd/get-host.c (_hurd_get_host_config): Return an empty value + if the file is empty. -2000-05-03 Ulrich Drepper +1999-05-07 Ulrich Drepper - * po/gl.po: Update from translation team. + * elf/do-lookup.h: Fix typo in comment. - * manual/intro.texi (Program Basics): Change section title. - * manual/process.texi: Fix reference. - (Executing a File): Add reference exec in other section. - * manual/signal.texi: Fix reference. - * manual/startup.texi: Document syscall function. - Patches by Bryan Henderson . + * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to + f_bsize to help some broken programs. -2000-04-29 Bruno Haible + * stdio-common/tst-printf.c: Add test case for last _itoa problem. - * intl/libintl.h (bind_textdomain_codeset): New declaration. - * intl/bindtextdom.c (set_binding_values): New function. - (bindtextdomain): Call it. - (bind_textdomain_codeset): New function. - * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain. - (free_mem): Free each binding's codeset. - * intl/gettextP.h (struct binding): Add codeset field. - (_nl_find_domain): Add domainbinding argument. - * intl/finddomain.c (_nl_find_domain): Add domainbinding argument. - Pass it to _nl_make_l10nflist. - * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field. - (_nl_make_l10nflist): Add domainbinding argument. - * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument. - * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's - codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call - locale_charset(). - * manual/message.texi: New node "Charset conversion in gettext". + * stdio-common/vfprintf.c: Fix typo. -2000-04-30 Bruno Haible +1999-05-06 Ulrich Drepper - * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where - appropriate. Handle possible __read error. + * elf/link.h (struct link_map): New field l_phdr_allocated. + * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having + the program header being part of any loaded segment. If it is not + allocate memory and set l_phdr_allocated flag. + * elf/dl-close.c (_dl_close): Free l_phdr if necessary. -2000-04-29 Bruno Haible + * nss/digits_dots.c: Correct return value interpretation of + inet_ntoa. Fix PR libc/1109. - * intl/gettextP.h (__builtin_expect): Define as empty if not a - compiler builtin. - * intl/loadinfo.h (__builtin_expect): Likewise. - * intl/dcigettext.c (dcigettext, _nl_find_msg): Use - __builtin_expect where appropriate. - * intl/loadmsgcat.c (_nl_load_domain): Likewise. - * intl/localealias.c (extend_alias_table): Return an error indicator. - (read_alias_file): Bail out if extend_alias_table fails. +1999-05-06 Zack Weinberg -2000-04-29 Bruno Haible + * sysdeps/sparc/sparc32/sparcv9/Dist: New file. - * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible. - * intl/localealias.c: Likewise. +1999-05-06 Thorsten Kukuk -2000-05-01 Bruno Haible + * stdlib/fpioconst.c (__tens): Export also for 64bit platforms. + * stdlib/fpioconst.c: Move #endif before end of struct. - * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab. - Initialize domain->plural and domain->nplurals even if there is no - nullentry. +1999-05-05 Ulrich Drepper -2000-05-01 Bruno Haible + * Versions.def (ld.so): Add GLIBC_2.1.1. + * elf/Makefile (routines): Add dl-origin. + (tests): Add origtest. Add dependencies for the program. + * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path, + _dl_platformlen, _dl_dst_count and _dl_dst_substitute. + * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename. + (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED, + DT_AUXILIARY, and DT_FILTER filenames. + * elf/dl-load.c (expand_dynamic_string_token): Explode into + two functions and three macros. + (_dl_dst_count, _dl_dst_substitute): New functions. + * elf/dl-dst.h: New file. + * elf/dl-open.c (_dl_open): Take extra parameter with address of + caller. Pass address in args structure. + (dl_open_worker): Recognize and expand DSTs in filename. + * elf/ldsodefs.h (_dl_open): Adapt prototype. + * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open. + (__dlopen_check): Pass caller address to dlopen_doit in args. + * elf/dlopendoit.c: Likewise. + * iconv/gconv_dl.c: Adapt call of _dl_open. + * nss/nsswitch.c: Likewise. + * elf/origtest.c: New file. + * sysdeps/generic/dl-origin.h: Moved to... + * sysdeps/generic/dl-origin.c: ...here. + * sysdeps/unix/sysv/linux/dl-origin.h: Moved to... + * sysdeps/unix/sysv/linux/dl-origin.c: ...here. - * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return - value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK. - In case of failure, goto converted. + * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case + with specific bases and only few bits set in second word. -2000-05-01 Bruno Haible + * timezone/Makefile (install-others): Create target directory + before creating tzfiles. - * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away. - * iconv/gconv_int.h (norm_add_slashes): Move to here. - * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to - __gconv_open. +1999-05-05 Thorsten Kukuk -2000-04-29 Bruno Haible + * nis/nis_file.c (readColdStartFile): Allocate memory only after + the file is opened successfully. - * intl/dcigettext.c (transcmp): Compare the domains as well. - (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL, - not before. - * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include - . + * nis/nis_table.c: Fix some memory leaks. -2000-05-03 Ulrich Drepper +1999-05-04 Ulrich Drepper - * string/bits/string2.h: Declare __strdup and __strndup if necessary. - Reported by Bruno Haible. + * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st + variable. -2000-04-29 Bruno Haible + * elf/dl-load.c (expand_dynamic_string_token): Recognize { } + around DST. Correctly ignore ORIGIN IN SUID binaries. - * manual/arith.texi: Remove @w from @itemize. +1999-05-03 Ulrich Drepper -2000-05-02 Andreas Jaeger + * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr. + * sysdeps/generic/strtok.c: Likewise. - * conform/data/tar.h-data: Add some checks for specific values. + * string/tester.c: Add test of rawmemchr. - * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS - and RAND_MAX. + * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output + specification. It's not necessary. - * conform/data/stdio.h-data: Add checks for value of TMP_MAX and - FOPEN_MAX. + * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk. + * elf/gen-trusted-dirs.awk: New file. + * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize + from SYSTEM_DIRS macro. + (system_dirs_len): New variable. Contains lengths of system_dirs + strings. + (fillin_rpath): Rewrite for systems_dirs being a simple string. + Improve string comparisons. Change parameter trusted to be a flag. + Change all callers. + (_dt_init_paths): Improve using new format for system_dirs. - * conform/data/netinet/in.h-data: Add exact checks for the values - fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN. + * elf/dl-load.c (expand_dynamic_string_token): Don't expand + $ORIGIN for SUID binaries. - * conform/data/float.h-data: Add some minimal values. + * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S. - * conform/conformtest.pl: Test for macros with string constants, - check for minimum and maximum values. - Add limits.h to headers. +1999-05-02 Andreas Schwab - * conform/data/cpio.h-data: Test for value of MAGIC. + * sunrpc/Makefile: Generate dependencies for all flavors of + librpcsvc objects. + (rpcgen-cmd): Pass -Y flag here and remove it from the macro + invocations. - * conform/data/limits.h-data: New file. +1999-05-02 Andreas Schwab -2000-04-30 Bruno Haible + * elf/dlopenold.c: Move #if down after includes to get + dependencies right. - * math/Makefile (headers): Add bits/fenvinline.h. +1999-05-01 Andreas Schwab -2000-05-01 Ulrich Drepper + * sysdeps/generic/bzero.c: Undefine __bzero. - * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file. - * sysdeps/unix/sysv/aix/linux/direntconv.c: New file. +1999-05-02 Ulrich Drepper - * posix/Versions: Change posix_spawnattr_getdefault and - posix_spawnattr_setdefault to posix_spawnattr_getsigdefault - and posix_spawnattr_setsigdefault respectively. - * posix/spawn.h: Likewise. - * posix/spawnattr_getdefault.h: Likewise. - * posix/spawnattr_setdefault.h: Likewise. - * conform/data/spawn.h-data: Likewise. + * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header. + * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise. + * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise. + Patch by Craig Small . -2000-05-01 Andreas Jaeger + * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth + parameter to struct gaih_servtuple *. Adapt appropriately. + (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls. + This fixes a memory leak. + Reported by Mikolaj J. Habryn . - * nscd/nscd.c: Include for setgroups prototype. + * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t, + and fpregset_t definition. They are defined in ucontext.h. -2000-04-30 Ulrich Drepper +1999-04-14 Scott Bambrough - * manual/sysinfo.texi: Document getdomainname, setdomainname - and sysctl. - * manual/string.texi: Fix typo. - * manual/terminal.texi: Document gtty and stty. - Patch by Bryan Henderson . - -2000-04-30 Andreas Jaeger - - * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in - accordance with Austin Draft. - -2000-04-30 Ulrich Drepper - - * catgets/gencat.c (read_input_file): Use isblank and not isspace - to recognize second character in comment line. - - * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to - ENOBUFS if we are out of memory. - - * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make - available if __USE_XOPEN2K. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/unix/common/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - -2000-04-29 Ulrich Drepper - - * iconv/iconv_prog.c (main): Handle input file name "-" correctly. - Recognize option -s, -c, and -l. - -2000-04-20 Thorsten Kukuk - - * nscd/nscd.c: Start new session for nscd, drop privilegs - to configured user if requested and no -S parameter are used. - * nscd/nscd.conf: Add new option "server-user". - * nscd/nscd_conf.c: Add support for new "server-user" option. - * nscd/nscd.h: Add declaration for server_user variable. - Based on patch by Chris Wing - -2000-04-29 Mark Kettenis - - * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining - that changing the __restore and __restore_rt signal return code - will break GDB. - -2000-04-29 Mark Kettenis - - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include - . - -2000-04-29 Mark Kettenis - - * conform/data/ucontext.h-data: Allow ss_* instead of SS_*. - -2000-04-29 Ulrich Drepper - - * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h, - sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and - arpa/inet.h. - * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN, - SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO, - S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR, - S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, - S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL, - POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED, - POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise, - posix_fallocate, and posix_madvise. - * conform/data/netdb.h-data: New file. - * conform/data/pthread.h-data: Add pthread_barrier_t, - pthread_barrierattr_t, pthread_barrier_destroy, - pthread_barrier_init, pthread_barrier_wait, - pthread_barrierattr_destroy, pthread_barrierattr_getpshared, - pthread_barrierattr_init, pthread_barrierattr_setpshared, - pthread_condattr_getclock, pthread_condattr_setclock, - pthread_getcpuclockid, pthread_mutex_timedlock, - pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock, - pthread_sigmask, pthread_spin_destroy, pthread_spin_init, - pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock. - * conform/data/sched.h-data: Add sched_ss_low_priority, - sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and - SCHED_SPORADIC. - * conform/data/semaphore.h-data: Add sem_timedwait. - * conform/data/signal.h-data: Add SIGIO. - * conform/data/spawn.h-data: New file. - * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv. - * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID, - CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep. - Fix typo in gmtime_r definition. - * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO, - _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK, - _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN, - _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME, - _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER, - _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS, - _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT, - _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK, - _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT, - _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, - _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO, - _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, - _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, - _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, - _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS, - _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP, - _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS, - _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, - _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, - _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix - typo in off_t definition. - * conform/data/net/if.h-data: New file. - * conform/data/netinet/in.h-data: New file. - * conform/data/netinet/tcp.h-data: New file. - * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL, - POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED, - POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE, - POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE, - posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info, - and posix_typed_mem_open. - * conform/data/sys/socket.h-data: New file. - * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype. - * conform/data/sys/types.h-data: Add pthread_barrier_t, - pthread_barrierattr_t, and pthread_spinlock_t. - * conform/data/sys/un.h-data: New file. - * conform/data/sys/utsname.h-data: New file. - - * include/netdb.h (__gethostbyaddr_r): Fix types of first and second - parameter. - * inet/gethstbyad.c (gethostbyname): Likewise. - * inet/gethstbyad_t.c (gethostbyname_r): Likewise. - * inet/getipnodebyad.c (getipnodebyad): Likewise. - * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. - * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): - Likewise. - * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise. - * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. - * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise. - * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise. - * resolv/gethnamaddr.c (gethostbyname): Likewise. - * resolv/netdb.h (struct hostent): Fix type of h_length member. - (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first - and second parameter. + * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr + and struct ether_header must be packed on the ARM. The default + alignment constraints add padding to the end of the structures. - * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s - == NULL. +1999-04-14 Scott Bambrough -2000-04-29 Andreas Jaeger + * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The + default alignment constraints add padding to the end of the + structure and between members. - * conform/data/arpa/inet.h-data: New file. +1999-05-02 Ulrich Drepper -2000-04-28 Geoff Clare + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use + _dl_cache_libcmp instead of strcmp. - * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the - path passed to ftw() or nftw() is an empty string. - Closes PR libc/1710. + * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir + fails on a file. + Reported by Sergei Ivanov [PR libc/1032]. -2000-04-27 Ulrich Drepper +1998-03-30 Joel Klecker - * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5. - (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies. - * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5. - * localedata/tst-mbswcs4.c: New file. - * localedata/tst-mbswcs5.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile + (sysdep-others,install-bin): Add lddlibc4. - * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s - == NULL. Little optimization. +1999-05-02 H.J. Lu - * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not - DT_PREINIT_ARRAYSZ). - Reported by Jes Sorensen . + * timezone/zic.c (dolink): Remove the symlink destination first. - * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle - overflows in conversion from ASCII. + * catgets/open_catalog.c (__open_catalog): Set catalog->status + to "nonexisting" if failed to open the file. -2000-04-26 Jakub Jelinek +1999-05-01 Ulrich Drepper - * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs. - * Makerules (full_config_sysdirs): Likewise. - * MakeTAGS (full_config_sysdirs): Likewise. + * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and + gcc3. -2000-04-26 Jakub Jelinek + * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg. + Prevent warnings from multiplication with 0x01010101 by another cast. - * .cvsignore: Remove linuxthreads. - * po/.cvsignore: Remove *.pot. - * posix/glob/.cvsignore: Removed. - * sysdeps/unix/bsd/osf/.cvsignore: Removed. +1999-04-30 Andreas Schwab -2000-04-25 Andreas Jaeger + * string/bits/string2.h (memset): Revert to previous version if + unaligned writes are not available. - * conform/Makefile (distribute): Also distribute contents of - subdirectories. +1999-04-30 Ulrich Drepper - * Makerules (no_deps): Remove abi-versions.h. + * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating + better code in presence of the asm. - * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype. +1999-04-30 Andreas Schwab -2000-04-25 Jakub Jelinek + * stdlib/fmtmsg.c (keywords): Increase array size for faster + indexing. - * sysdeps/sparc/sparc64/elf/Dist: Remove. - * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove. - * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove. - * sysdeps/sparc/sparc64/elf/crtend.S: Remove. - * sysdeps/sparc/sparc64/elf/crtendS.S: Remove. - * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend - objects. + * locale/localeinfo.h (_nl_category_names): Increase array element + size for faster indexing. + * locale/setlocale.c (_nl_category_names): Adjusted. -2000-04-25 Thorsten Kukuk +1999-04-30 Andreas Schwab - * nscd/grpcache.c: Fix gr_name pointer [PR/1702]. + * iconv/gconv_conf.c (add_alias): Remove wrong cast. -2000-04-23 Bruno Haible +1999-05-01 Andreas Schwab - * intl/dcigettext.c: Define _GNU_SOURCE as early as possible. - * intl/l10nflist.c: Likewise. + * sysdeps/m68k/stackinfo.h: New file. -2000-04-23 Bruno Haible +1999-04-30 Ulrich Drepper - * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define, - __libc_rwlock_wrlock, __libc_rwlock_unlock as empty. - * intl/textdomain.c [!_LIBC]: Likewise. - * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized, - __libc_rwlock_rdlock, __libc_rwlock_unlock as empty. - * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid - syntax error. + * string/tester.c (test_strchrnul): New function. + (test_memset): Test one more special case. -2000-04-23 Bruno Haible + * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in + 25% of all cases. - * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and - character set conversion also in the case the translation was found - after a hash collision or through binary search. Store the maximum - index together with the converted message. Use iconv() when available. - In case of out of memory during conversion, return the unconverted - translated string, not NULL. + * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with + base types. -2000-04-25 Jes Sorensen + * string/bits/string2.h: Fix bugs I introduced in last change. - * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1 - to avoid name clashes with the ia32 linker. + * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial + register stall. + Extend memset optimization. + Correct i686 version of memchr. -2000-04-25 Jakub Jelinek +1999-04-30 Roland McGrath - * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args - handling. + * sysdeps/i386/bzero.c: Add #undef __bzero. -2000-04-27 Ulrich Drepper + * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if + EXEC_SIGTRAP was set in the incoming exec flags--that indicates the + exec server simulated a SIGTRAP before we even started up, so gdb is + already happy. - * manual/string.texi: Document strcasestr, strchrnul, strtoimax, - strtoumax, strfry, and memfrob. - * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max. - Patch by Bryan Henderson . +1999-04-30 Ulrich Drepper - * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal - if this function is available. + * nss/digits_dots.c: Always initialize not_ok. - * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for - all values. +1999-04-30 09:02 -0400 Zack Weinberg -2000-04-27 Jakub Jelinek + * string/bits/string2.h (memset): Avoid arithmetic overflow at + compile time, which produces obnoxious warnings. If GCCv2 is + in use, map __bzero to __builtin_memset to enable that + optimization. - * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning. +1999-04-29 Ulrich Drepper -2000-04-27 Ulrich Drepper + * string/bits/string2.h: Add more memset optimizations. - * localedata/Makefile (test-srcs); Add tst-mbswcs3. - Add rule to build tst-mbswcs3 before running tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: Run tst-mbswcs3. - * localedata/tst-mbswcs3.c: New file. + * resolv/inet_addr.c (inet_aton): Optimize switch statement away. -2000-04-26 Ulrich Drepper + * resolv/inet_pton.c (inet_pton4): Little optimizations. + (inet_pton6): Likewise. - * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted - characters. Don't handle incomplete characters as errors. - * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors. - * localedata/Makefile (test-srcs): Add tst-mbswcs2. - Add rule to build tst-mbswcs2 before running tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: Run tst-mbswcs2. - * localedata/tst-mbswcs2.c: New file. + * nss/getXXbyYY_r.c: Include assert.h. + * nss/getXXbyYY.c: Likewise. - * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct - stored character in state in UNPACK_BYTES macro. - * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct - test for available characters, handle result of BODY code correctly. - * localedata/Makefile (test-srcs): Add tst-mbswcs1. - (distribute): Add tst-mbswcs.sh. - Add rule to run tst-mbswcs.sh. - * localedata/tst-mbswcs.sh: New file. - * localedata/tst-mbswcs1.c: New file. +1999-04-29 Andreas Jaeger -2000-04-26 Jakub Jelinek + * termios/tcgetsid.c (tcgetsid): Rename variable to + tiocgsid_does_not_work. - * nis/nis_callback.c (__nis_create_callback): Do failed memory - allocation fixups centrally, fix __builtin_expect call, return NULL - on failure, not NIS_NOMEMORY. +1999-04-29 Ulrich Drepper -2000-04-27 Bruno Haible + * inet/getnameinfo.c (nrl_domainname): Fix last patch. - * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. +1999-04-28 Andreas Jaeger - * intl/loadinfo.h (internal_function): Define if not already defined. + * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers. + This allows e.g. gethostbyname to accept "10.1234". + Reported by Alexander V. Lukyanov [PR libc/1096]. -2000-04-27 Andreas Jaeger + * nss/test-netdb.c (test_hosts): Add test for gethostbyname and + non quad IPv4 numbers. - * intl/libintl.h: Fix typo, reported by Bruno Haible - . +1999-04-29 Andreas Jaeger -2000-04-25 Ulrich Drepper + * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end. - * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not - setting the state to GMON_PROF_BUSY. +1999-04-28 Ulrich Drepper -2000-04-24 Ulrich Drepper + * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0. + * argp/argp-parse.c (_argp_hang): Likewise. + * argp/argp-pv.c (argp_program_version): Likewise. + * argp/argp-pvh.c (argp_program_version_hook): Likewise. + * inet/ether_hton.c (ether_hton, startp): Likewise. + * inet/ether_ntoh.c (ether_ntoh, startp): Likewise. + * inet/getnetgrent_r.c (setup, startp): Likewise. + * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise. + * intl/localealias.c (string_space, string_space_act, string_space_max, + nmap, maxmap): Likewise. + * libio/iopopen.c (proc_file_chain): Likewise. + * libio/oldiopopen.c (old_proc_file_chain): Likewise. + * locale/lc-collate.c (__collate_table, __collate_extra, + __collate_element_hash, __collate_element_strings, + __collate_element_values): Likewise. + * malloc/mcheck.c (mcheck_used): Likewise. + * malloc/mtrace.c (added_atexit_handler): Likewise. + * malloc/set-freeres.c (already_called): Likewise. + * misc/getpass.c (getpass) [buf, bufsize]: Likewise. + * misc/syslog.c (LogStat, LogTag): Likewise. + * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise. + * nss/getXXbyYY_r.c (startp): Likewise. + * posix/getopt.c (optarg, __getopt_initialized): Likewise. + * posix/regex.c (init_syntax_once) [done]: Likewise. + (debug): Likewise. + * string/strfry.c (init): Likewise. + * sunrpc/svc_run.c (svc_top): Likewise. + * posix/euidaccess.c (have_ids): Likewise. + * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise. + * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise. + * time/getdate.c (getdate_err): Likewise. + * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps): + Likewise. + * time/tzset.c (old_tz, is_initialized): Likewise. + + * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization + of static data with zero. + * signal/allocrtsig.c (init): Likewise. + + * string/Makefile (routines): Add strchrnul. + * string/Versions [GLIBC_2.1.1]: Add strchrnul. + * string/string.c: Add strchrnul prototype. + * include/string.h: Add __strchrnul prototype. + * sysdeps/generic/strchrnul.c: New file. + * sysdeps/i386/strchrnul.S: New file. + * sysdeps/i386/bits/string.c: Add strchrnul optimization. + * sysdeps/i386/i486/bits/string.c: Likewise. + * argp/argp-help.c (argp_args_usage): Use __strchrnul. + * inet/ether_line.c (ether_line): Likewise. + * nscd/nscd_conf.c (nscd_parse_file): Likewise. + * nss/nsswitch.c (nss_parse_file): Likewise. + * posix/execvp.c (execvp): Likewise. + * posix/fnmatch.c (internal_fnmatch): Likewise. + * resolv/res_hconf.c (_res_hconv_init): Likewise. + * resolv/res_init.c (res_init): Likewise. + * stdlib/fmtmsg.c (init): Likewise. + * stdlib/getsubopt.c (getsubopt): Likewise. + + * catgets/catgets.c (catopen): Only allocate one memory block. + (catclose): Only one free call necessary. + + * catgets/open_catalog.c (__open_catalog): Simplify handling of + file descriptor. + + * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead + of real functions. Simplify _tolower and _toupper. + + * grp/initgroups.c (compat_call): Remove unnecessary use of pointer + variable. - * elf/dl-profile.c (_dl_start_profile): define all variables which - do not have to be global as local variables. + * iconv/gconv.h (struct gconv_info): Change data element from pointer + to array of size 0. + * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly. + * iconv/gconv_close.c (__gconv_close): Don't free data. - * nis/nis_callback.c (__nis_create_callback): Partially undo last - patch. Keep needed tests for failed memory allocation. + * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to + insert new alias. - * elf/dl-reloc.c (_dl_relocate_object): Add one more - __builtin_expect saying that we don't normally expect to profile. + * iconv/gconv_db.c (add_derivation): More efficient copying. Check + for error while inserting in tree. - * sysdeps/i386/dl-machine.h (elf_machine_rel): Add - __builtin_expect where desirable. + * include/time.h: Pretty print. -2000-04-23 Ulrich Drepper + * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers + in table and lots of relocations. + * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid + string pointers in table and lots of relocations. - * manual/Makefile (chapters): Add syslog. - * manual/syslog.texi: New file. - * manual/math.texi: Fix references. - * manual/terminal.texi: Likewise. - Patch by Bryan Henderson . + * intl/finddomain.c: Remove definition of strchr macro. -2000-04-18 Jakub Jelinek + * io/ftw.c (nftw_arr, ftw_arr): Make const. - * posix/sys/wait.h: Define __WAIT_STATUS and the like either if - stdlib.h was not included or __USE_XOPEN not defined. + * locale/loadlocale.c (_nl_load_locale): Optimize string copying. -2000-04-23 Ulrich Drepper + * locale/localeinfo.h (_nl_category_names): Change into an array with + fixed width char string elements. + * locale/setlocale.c (_nl_category_names): Likewise. + (_nl_current): Make global. + * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now. - * nss/Makefile (libnss_db-dbs): Remove stray backslash. - Patch by Zack Weinberg . + * malloc/Makefile (distribute): Add stackinfo.h. + * sysdeps/generic/stackinfo.h: New file. + * sysdeps/i386/stackinfo.h: New file. + * posix/execl.c: Use stackinfo.h in optimizing alloca use. + * posix/execle.c: Likewise. + * posix/execlp.c: Likewise. -2000-04-22 Ulrich Drepper + * nis/nis_table.c (__create_ib_request): Always use realloc. - * manual/examples/subopt.c (mount_opts): Add missing terminating - entry. - Reported by Michael Deutschmann . + * posix/execvp.c (execute): Rename to script_execute and keep only + code to execute using shell. + (execvp): Call execv directly and only fall back on script_execute. - * assert/assert-perr.c: Include for abort prototype. - * libio/ftello.c: Likewise. - * libio/ftello64.c: Likewise. - * libio/ioftell.c: Likewise. - * sysdeps/generic/memrchr.c: Likewise. - * sysdeps/posix/libc_fatal.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * misc/fstab.c: Include for strcmp prototype. - * sysdeps/generic/ldsodefs.h: Likewise. - * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. - Patch by Kurt Roeckx . - - * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines. - Remove db-open. Change all uses. - (libnss_db-routines): Define as $(libnss_db-dbs) db-open. - -2000-04-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare. - * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare. - * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare. - * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28 - with .set noat/at to shut up warnings. - * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow - compilation if __NR_pciconfig_iobase is not defined. - * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64): - Add alias. - -2000-04-21 Ulrich Drepper - - * manual/sysinfo.texi: Fix typo. - * manual/time.texi: Document timelocal, timegm, adjtimex, and stime. - Replace "high precision time" with "high accuracy clock". - Fix language. - Patches by Bryan Henderson . - - * nis/nis_findserv.c (__nis_findfastest): Improve memory handling. - * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca - instead of malloc. - * nis/nis_subr.c: Use __builtin_expect. - * nis/ypclnt.c: Likewise. - * nis/nis_getservlist.c: Likewise. - * nis/nis_creategroup.c: Likewise. + * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define + and always use xdigits instead. - * nis/nis_callback.c (__nis_create_callback): Check result of - memory allocation. Fix memory leaks. Use __builtin_expect. - (__nis_destroy_callback): Fix memory leaks. + * resolv/res_init.c (res_init): Use rawmemchr instead of strchr + where appropriate. -2000-04-21 Andreas Jaeger + * stdlib/fpioconst.h (__tens): New declaration. + (struct mp_power): Remove array, add arrayoff element. + * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one + __tens array and add in _fpioconst_pow10 offsets into __tens. + * stdio-common/printf_fp.c: Rewrite to use new __tens array. + * stdlib/strtod.c: Likewise. - * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC. - * sysdeps/mips/mips64/add_n.S: Likewise. - * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. - * sysdeps/mips/mips64/lshift.S: Likewise. - * sysdeps/mips/mips64/mul_1.S: Likewise. - * sysdeps/mips/mips64/rshift.S: Likewise. - * sysdeps/mips/mips64/setjmp.S: Likewise. - * sysdeps/mips/mips64/sub_n.S: Likewise. - * sysdeps/mips/mips64/submul_1.S: Likewise - * sysdeps/unix/mips/sysdep.S: Likewise. + * stdlib/a64l.c (a64l_table): Avoid unnecessary elements. - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab - and update comment. The strtab from _dl_relocate_object can be - used. + * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end + of the list. + * stdlib/atexit.c (__exit_funcs): Don't initialize. -2000-04-21 Ulrich Drepper + * stdlib/fmtmsg.c (keywords): Make name element fixed width array. - * iconv/iconv.c (iconv): Add __builtin_expect where useful. - * iconv/iconv_close.c (iconv_close): Likewise. - * iconv/iconv_open.c (iconv_open): Likewise. + * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use + a single and an array with offsets. - * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add - __builtin_expect where useful. + * sunrpc/des_soft.c (partab): Make it const. - * grp/initgroups.c (initgroups): Test for result of memory - allocation and punt if it fails. + * sunrpc/key_call.c (trytimeout, tottimeout): Make const. + (__key_encryptsession_pk_LOCAL): Don't initialize with 0. + (__key_decryptsession_pk_LOCAL): Likewise. + (__key_gendes_LOCAL): Likewise. + (MESSENGER): Mark const. + (key_call_private_main): Don't initialize with 0. + (use_keyenvoy): Don't initialize with 0. + (key_call): Rewrite to reverse logic of use_doors variable. - * dirent/scandir.c (scandir): Add __builtin_expect where useful. - * grp/fgetgrent.c (fgetfrent): Likewise. - * grp/fgetgrent_r.c (__fgetgrent_r): Likewise. + * sunrpc/netname.c (OPSYS): Define as array, not pointer. + (startp): Don't initialize with zero. -2000-04-21 Jakub Jelinek + * sunrpc/openchild.c (_openchild): Make first argument const. - * libio/vasprintf.c: Include string.h to get memcpy prototype. + * sunrpc/pmap_rmt.c (timeout): Mark const. + * sunrpc/xcrypt.c (hex): Likewise. -2000-04-20 Ulrich Drepper + * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting + initialization of global variables. + * sysdeps/unix/sysv/linux/getpt.c: Likewise. + * sysdeps/unix/sysv/linux/if_index.c: Likewise. + * termios/tcgetsid.c: Likewise. - * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small - don't search for NUL byte to decrement counter. - Reported by Ulrich.Brink@sap.com. + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change + fxsr to osfxsr. - * iconv/gconv_simple.c: Define separate functions to convert from - UCS4/UCS4-LE to the internal encoding. - * iconv/gconv_builtin.h: Use separate functions to convert from - UCS4/UCS4-LE to the internal encoding. - * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and - __gconv_transform_ucs4le_internal. + * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory + block. Add function to free memory if wanted. + * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read. - * iconv/gconv_simple.c (internal_utf8_loop): Correct check for - output buffer overflow. Reported by Ulrich.Brink@sap.com. + * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers. - * iconv/skeleton.c: Add some more __builtin_expect. - * iconv/loop.c: Likewise. + * wcsmbs/wmemset.c: Little code optimization. -2000-03-08 H.J. Lu +1999-04-23 Paul Eggert - * posix/regex.c (regex_compile): Correctly handle "\{" when - the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set. + * stdlib/strtoull.c: Surround strong_alias and weak_alias with + ifdef _LIBC. -2000-04-20 Ulrich Drepper +1999-04-28 Roland McGrath - * manual/stdio.texi: Give advise about handling error when using - stream functions. - Patch by Michael Deutschmann . + * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove + implementation and just always fail with ENOSYS. This entry point is + obsolete. Add link warning to that effect. -2000-04-19 Jakub Jelinek +1999-04-27 Roland McGrath - * locale/programs/ld-ctype.c (ctype_output): Set size of the idx - field to nelems * sizeof (uint32_t). - * locale/programs/ld-address.c (address_output): Align word fields - properly. - * locale/programs/ld-monetary.c (monetary_output): Likewise. - Don't restart idx pointers to idx end at the duo_int_curr_symbol - field. - Avoid giving arbitrary garbage in the crncystr field. - Use sizeof(uint32_t) instead of 4 for len in uno_valid_from, - uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate - fields. - * locale/programs/ld-numeric.c (numeric_output): Likewise. - Don't restart idx pointers to idx end at the decimal_point_wc field. - * locale/programs/ld-time.c (time_output): week_1stday should be - word, not byte. Align it properly. - -2000-04-19 H.J. Lu - - * csu/gmon-start.c (_start): Declared as "extern void". - (etext): Likewise. - -2000-04-18 Andreas Jaeger - - * manual/install.texi (Running make install): Don't mention utmpd - anymore. + * hurd/get-host.c: Include . -2000-04-18 Andreas Jaeger +1999-04-28 Ulrich Drepper - * linuxthreads/Versions: Use ld instead of ld.so. + * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem + is != NULL. - * elf/Makefile (ld-map): Use ld.map. +1999-04-28 Andreas Jaeger - * Versions.def: Use ld instead of ld.so. - * elf/Versions: Likewise. - * sysdeps/mach/hurd/Versions: Likewise. + * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow + ISO C9x and Unix98. -2000-04-20 Andreas Jaeger +1999-04-28 Ulrich Drepper - * elf/rtld.c (print_statistics): Move ifndef further up. - (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings. - (dl_main): Likewise. + * libio/iofopncook.c (_IO_cookie_seek): Correct return value. + Patch by Peter Miller . -2000-04-18 Ulrich Drepper +1999-04-27 Thorsten Kukuk - * gmon/gmon.c: Add weak alias moncontrol for __moncontrol. - * gmon/Versions: Move moncontrol to GLIBC_2.2. + * sunrpc/pmap_clnt.c: Add own get_myaddress function, which + prefers loopback device. - * po/cs.po: Update from translation team. +1999-04-28 Ulrich Drepper - * sysdeps/generic/updwtmp.c: Remove daemon support. + * posix/fnmatch.c (internal_fnmatch): Finish incomplete + no_leading_period change. - * login/Makefile (routines): Remove utmp_daemon. + * posix/testfnm.c: More test cases. - * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument. - * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER. - * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE. - * sysdeps/unix/sysv/aix/geteuid.c: Likewise. +1999-04-27 Ulrich Drepper - * elf/rtld.c: Display statitics option also if hp timing is not - available. + * include/dirent.h: Remove __getdirentries declaration, add __getdents + and __getdents64. + * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries. + * sysdeps/unix/readdir_r.c: Likewise. + * sysdeps/unix/sysv/linux/readdir64.c: Likewise. + * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. + * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not + __getdirentries. Remove fourth argument. + * sysdeps/unix/sysv/linux/getdirentries.c: New file. + * sysdeps/unix/sysv/linux/getdirentries64.c: New file. + * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines): + Add getdirentries and getdirentries64. + * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64. - * login/programs/connection.c: Removed. - * login/programs/database.c Removed. - * login/programs/error.c: Removed. - * login/programs/request.c: Removed. - * login/programs/xtmp.c: Removed. - * login/programs/xtmp.h: Removed. - * login/Makefile: Remove rules for utmpd. - * login/README.utmpd: Removed. - * login/utmp_daemon.c: Removed. - * login/getutent_r.c: Remove references to daemon functions. - * login/utmp-private.h (__libc_utmp_daemon_functions): Remove - declaration. - -2000-04-18 Andreas Jaeger - - * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and - 2.2 for libnsl, libresolv, librt, libnss_*. - - * elf/rtld.c (process_dl_debug): Remove obsolete comment. - - * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation. - -2000-04-18 Ulrich Drepper - - * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include . - * sysdeps/unix/sysv/aix/getegid.c: Likewise. - * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64. - * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL. - * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS. - * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL. - * sysdeps/unix/sysv/aix/setregid.c: Likewise. - * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/setgid.c: Likewise. - * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE. - * sysdeps/unix/sysv/aix/setegid.c: Likewise. - * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type. - * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define - it here. - * sysdeps/unix/sysv/aix/msync.c: New file. - * sysdeps/unix/sysv/aix/msgsnd.c: New file. - * sysdeps/unix/sysv/aix/net/if.h: New file. - * sysdeps/unix/sysv/aix/pipe.c: New file. - * sysdeps/unix/sysv/aix/poll.c: New file. - * sysdeps/unix/sysv/aix/rename.c: New file. - * sysdeps/unix/sysv/aix/rmdir.c: New file. - * sysdeps/unix/sysv/aix/select.c: New file. - * sysdeps/unix/sysv/aix/semctl.c: New file. - * sysdeps/unix/sysv/aix/semget.c: New file. - * sysdeps/unix/sysv/aix/semop.c: New file. - * sysdeps/unix/sysv/aix/sendto.c: New file. - * sysdeps/unix/sysv/aix/setgroups.c: New file. - * sysdeps/unix/sysv/aix/setpgid.c: New file. - * sysdeps/unix/sysv/aix/setpgrp.c: New file. - * sysdeps/unix/sysv/aix/setpriority.c: New file. - * sysdeps/unix/sysv/aix/setrlimit.c: New file. - * sysdeps/unix/sysv/aix/setrlimit64.c: New file. - * sysdeps/unix/sysv/aix/setsid.c: New file. - * sysdeps/unix/sysv/aix/setsockopt.c: New file. - * sysdeps/unix/sysv/aix/shmat.c: New file. - * sysdeps/unix/sysv/aix/shmctl.c: New file. - * sysdeps/unix/sysv/aix/shmdt.c: New file. - * sysdeps/unix/sysv/aix/shmget.c: New file. - * sysdeps/unix/sysv/aix/sigaltstack.c: New file. - * sysdeps/unix/sysv/aix/sigstack.c: New file. - * sysdeps/unix/sysv/aix/socket.c: New file. - * sysdeps/unix/sysv/aix/socketpair.c: New file. - * sysdeps/unix/sysv/aix/speed.c: New file. - * sysdeps/unix/sysv/aix/symlink.c: New file. - * sysdeps/unix/sysv/aix/sync.c: New file. - * sysdeps/unix/sysv/aix/tcgetattr.c: New file. - * sysdeps/unix/sysv/aix/tcsetattr.c: New file. - * sysdeps/unix/sysv/aix/times.c: New file. - * sysdeps/unix/sysv/aix/ulimit.c: New file. - * sysdeps/unix/sysv/aix/umask.c: New file. - * sysdeps/unix/sysv/aix/unlink.c: New file. - * sysdeps/unix/sysv/aix/ustat.c: New file. - * sysdeps/unix/sysv/aix/utimes.c: New file. - -2000-04-18 Andreas Jaeger - - * manual/startup.texi (Environment Access): Fix putenv prototype - according to recent changes. - Reported by Andries Brouwer , closes - PR libc/1692. - - * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where - needed. - -2000-04-18 Ulrich Drepper - - * posix/Makefile (tests): Add tst-getaddrinfo. - * posix/tst-getaddrinfo.c: New file. - -2000-04-17 Ulrich Drepper - - * manual/sysinfo.texi: Document that umount2 is not widely available. - - * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to - signal timing is not really implemented. - -2000-04-17 Andreas Jaeger - - * elf/rtld.c (process_dl_debug): Mention statistics in help message. - -2000-04-17 Jakub Jelinek - - * Makefile (install): Use slibdir and libdir instead of inst_slibdir - and inst_libdir. - -2000-04-17 Ulrich Drepper - - * manual/intro.texi: Change reference from System Information to - System Management. - * manual/users.texi: Likewise. - * manual/conf.texi: Likewise. - * manual/sysinfo.texi: Document mount, umount, and umount2. - Patch by Bryan Henderson . + * posix/fnmatch.c (internal_fnmatch): Correctly reset string + pointer in case of an invalid [[: expression. -2000-04-17 Jakub Jelinek + * posix/testfnm.c: Add more test cases. - * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): - Create wnumstr as well as numstr to support wide character output - correctly. +1999-04-27 Roland McGrath -2000-04-15 Jakub Jelinek + * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced + set, pass EXEC_SIGTRAP flag in exec RPC. - * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS - modification and move it... - * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here. - Add -melf64_sparc switch to $(LD) on sparc64-linux. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc - switch to $(LD) on sparc-linux. +1999-04-26 Ulrich Drepper -2000-04-17 Thorsten Kukuk + * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take + extra parameter. Fix several more bugs involving wildcard and + ranges. + (fnmatch): New function. Call internal_fnmatch. - * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid - and setresuid from sysdep_routines. + * posix/testfnm.c: More test cases. -2000-04-17 Ulrich Drepper +1999-04-03 Andreas Jaeger - * manual/Makefile (chapters): Add resource. + * manual/install.texi (Configuring and compiling): Explain that + files are changed in the source directory. + Closes PR libc/981. + (Configuring and compiling): Explain situation with PARALLELMFLAGS + in the source directory. - * manual/time.texi: Move section on resources to... - * manual/resource.texi: ...here. New file. Document ulimit, vlimit, - and vtimes. - * manual/setjmp.texi: Adjust back reference. - Patch by Bryan Henderson . +1999-04-24 Andreas Schwab - * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64 - definition. - * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition. - * sysdeps/unix/sysv/aix/kill.c: Add copyright. - * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL. - * sysdeps/unix/sysv/aix/execve.c: Add copyright. - * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright. - * sysdeps/unix/sysv/aix/close.c: Add copyright. - * sysdeps/unix/sysv/aix/brk.c: Add copyright. - * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT. - * sysdeps/unix/sysv/aix/access.c: Add copyright. - * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions. - * sysdeps/unix/sysv/aix/Implies: New file. - * sysdeps/unix/sysv/aix/Versions: New file. - * sysdeps/unix/sysv/aix/bind.c: New file. - * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file. - * sysdeps/unix/sysv/aix/bits/ioctls.h: New file. - * sysdeps/unix/sysv/aix/bits/poll.h: New file. - * sysdeps/unix/sysv/aix/bits/termios.h: New file. - * sysdeps/unix/sysv/aix/chdir.c: New file. - * sysdeps/unix/sysv/aix/chmod.c: New file. - * sysdeps/unix/sysv/aix/chroot.c: New file. - * sysdeps/unix/sysv/aix/creat.c: New file. - * sysdeps/unix/sysv/aix/dl-close.c: New file. - * sysdeps/unix/sysv/aix/dl-open.c: New file. - * sysdeps/unix/sysv/aix/dl-sym.c: New file. - * sysdeps/unix/sysv/aix/fchdir.c: New file. - * sysdeps/unix/sysv/aix/fchmod.c: New file. - * sysdeps/unix/sysv/aix/getgroups.c: New file. - * sysdeps/unix/sysv/aix/gethostname.c: New file. - * sysdeps/unix/sysv/aix/getpriority.c: New file. - * sysdeps/unix/sysv/aix/getrlimit.c: New file. - * sysdeps/unix/sysv/aix/getrlimit64.c: New file. - * sysdeps/unix/sysv/aix/getrusage.c: New file. - * sysdeps/unix/sysv/aix/link.c: New file. - * sysdeps/unix/sysv/aix/madvise.c: New file. - * sysdeps/unix/sysv/aix/mkdir.c: New file. - * sysdeps/unix/sysv/aix/mknod.c: New file. - * sysdeps/unix/sysv/aix/mprotect.c: New file. - * sysdeps/unix/sysv/aix/msgctl.c: New file. - * sysdeps/unix/sysv/aix/msgget.c: New file. - * sysdeps/unix/sysv/aix/msgrcv.c: New file. - -2000-04-17 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit - as suggested by Ulrich Drepper. - (__dl_runtime_resolve): Remove unused variable, initialize sym - directly. - (RTLD_START): Document OFFSET_GP_GOT. - (OFFSET_GP_GOT): New magic value. - (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT. - (elf_machine_got_rel): Only declare strtab if needed. - (elf_machine_relplt): Removed, it's not needed. - (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc. - - * sysdeps/mips/add_n.S: Add newline at EOF. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/addmul_1.S: Likewise. - -2000-04-17 Ulrich Drepper - - * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing. - - * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect. - * elf/dl-lookup.c: Likewise. - * elf/dl-init.c (_dl_init): Likewise. - * elf/dl-fini.c (_dl_fini): Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-close.c (_dl_close): Likewise. - * elf/rtld.c (_dl_start_final): Likewise. - - * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use. - -2000-04-15 Ulrich Drepper - - * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and - only fall back on using Linux. - - * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode. - Before testing versions check that we actually loaded the object - and whether we are in trace mode. If not loaded during tracing don't - test versions in this object. - (_dl_check_all_versions): Take new parameter and pass to - _dl_check_map_versions. - * sysdeps/generic/ldsodefs.h: Update prototypes for - _dl_check_all_versions and _dl_check_map_versions. - * elf/rtld.c (struct version_check_args): Add dotrace. - (version_check_doit): Pass args->dotrace to _dl_check_all_versions. - (dl_main): Pass info about trace mode to version_check_doit. - * elf/dl-open.c (dl_open_worker): Pass zero as new argument to - _dl_check_all_versions. - - * manual/users.texi (XPG Functions): Document utmpxname, getutmp, - and getutmpx. - Patch by Bryan Henderson . - - * manual/argp.texi: Document index parameter of argp_parse. - Fix typo. - Reported by Andrew Schulman . - -2000-04-14 Andreas Jaeger - - * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for - SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC. - - * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added. - -2000-04-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in - compat_symbol call for old adjtime. - - * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init - function interface. Patch by Richard Henderson . - - * posix/Makefile (headers): Add spawn.h. - (distribute): Add spawn_int.h. - (routines): Add spawn_faction_init, spawn_faction_destroy, - spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2, - spawnattr_init, spawnattr_destroy, spawnattr_getdefault, - spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags, - spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni. - * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init, - posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose, - posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2, - posix_spawnattr_init, posix_spawnattr_destroy, - posix_spawnattr_getdefault, posix_spawnattr_setdefault, - posix_spawnattr_getflags, posix_spawnattr_setflags, - posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn, - and posix_spawnp. - * posix/spawn.c: New file. - * posix/spawn.h: New file. - * posix/spawn_faction_addclose.c: New file. - * posix/spawn_faction_adddup2.c: New file. - * posix/spawn_faction_addopen.c: New file. - * posix/spawn_faction_destroy.c: New file. - * posix/spawn_faction_init.c: New file. - * posix/spawn_int.h: New file. - * posix/spawnattr_destroy.c: New file. - * posix/spawnattr_getdefault.c: New file. - * posix/spawnattr_getflags.c: New file. - * posix/spawnattr_getpgroup.c: New file. - * posix/spawnattr_getschedparam.c: New file. - * posix/spawnattr_getschedpolicy.c: New file. - * posix/spawnattr_getsigmask.c: New file. - * posix/spawnattr_init.c: New file. - * posix/spawnattr_setdefault.c: New file. - * posix/spawnattr_setflags.c: New file. - * posix/spawnattr_setpgroup.c: New file. - * posix/spawnattr_setschedparam.c: New file. - * posix/spawnattr_setschedpolicy.c: New file. - * posix/spawnattr_setsigmask.c: New file. - * posix/spawni.c: New file. - * posix/spawnp.c: New file. - - * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - -2000-04-14 Ulrich Drepper - - * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign. - * malloc/malloc.c: Implement posix_memalign for glibc. - * include/stdlib.h: Add prototype for __posix_memalign. - * stdlib/stdlib.h: Add prototype for posix_memalign. - -2000-04-14 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize - symidx correctly. - (elf_machine_got_rel): Cast sym correctly. - - * sysdeps/mips/add_n.S: Use __PIC__, add end directive. - * sysdeps/mips/addmul_1.S: Likewise. - * sysdeps/mips/lshift.S: Likewise. - * sysdeps/mips/mul_1.S: Likewise. - * sysdeps/mips/rshift.S: Likewise. - * sysdeps/mips/sub_n.S: Likewise. - * sysdeps/mips/submul_1.S: Likewise. - - * stdlib/stdlib.h: Fix typo in comment. - - * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and - 2.2 for libdl, ld and libm. - - * sysdeps/generic/madvise.c: Fix typos. - - * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__. - - * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility. - - * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc - warnings. + * locale/programs/ld-ctype.c: Spelling fixes. + (ctype_finish): Fix argument of error message format. + * locale/programs/ld-messages.c: Spelling fixes. + * locale/programs/ld-monetary.c: Spelling fixes. + * locale/programs/ld-time.c (time_finish): Make sure that name and + format of era_entries are adjacent. + (time_output): Reduce the size of the io vector. -2000-04-14 Ulrich Drepper +1999-04-25 Andreas Schwab - * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64. - * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64. - Make old name weak alias. - * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. - * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64. - Make old name weak alias. - * sysdeps/unix/sysv/linux/statfs64.c: Likewise. + * manual/filesys.texi (Attribute Meanings): Move a misplaced + paragraph. - * io/Makefile (routines): Add posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * io/fcntl.h: Declare posix_fadvise, posix_fadvise64, - posix_fallocate, and posix_fallocate64. - * sysdeps/generic/fadvise.c: New file. - * sysdeps/generic/fadvise64.c: New file. - * sysdeps/generic/fallocate.c: New file. - * sysdeps/generic/fallocate64.c: New file. - * sysdeps/posix/fallocate.c: New file. - * sysdeps/posix/fallocate64.c: New file. - * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL, - POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED, - POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE. - * sysdeps/mach/hurd/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. - - * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. +1999-04-23 Andreas Schwab -2000-04-13 Ulrich Drepper + * locale/programs/ld-collate.c (collate_output): Convert + undefined_offset to an array index. Fix computation of other + endian extra table. - * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice. - * misc/sys/mman.h (posix_madvise): Add prototype. - * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make - old name and posix_madvise weak aliases. - * sysdeps/unix/sysv/linux/syscalls.list: Likewise. - * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. +1999-04-26 Roland McGrath -2000-04-13 Andreas Jaeger + * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file, + return success with empty value. - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol - versioning. - (elf_machine_got_rel): Only add runtime display if needed. - (elf_machine_got_rel): Handle symbol versioning. +1999-04-26 Ulrich Drepper -2000-04-13 Andreas Jaeger + * posix/fnmatch.c: Include string.h also for glibc. + (fnmatch, case '?'): Optimize if cascades a bit. + (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set. - * sysdeps/unix/sysv/linux/mips/clone.S: Fix function. + * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors. - * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is - default. +1999-04-24 Ulrich Drepper - * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems - with some applications. - Patches by Ralf Baechle . + * iconv/gconv_builtin.h: Add definitions for UTF16 builtins. + * iconv/gconv_int.h: Declare UTF16 functions. + * iconv/gconv_simple.c: Add UTF16 conversion functions. - * sysdeps/mips/bsd-setjmp.S: Use __PIC__. - * sysdeps/mips/bsd-_setjmp.S: Likewise. - * sysdeps/mips/setjmp.S: Likewise. +1999-04-20 Andreas Jaeger - * sysdeps/unix/sysv/linux/mips/pipe.S: New file. + * posix/wordexp.c (parse_param): Fix type of offset to allow it to + be used correctly as parameter for parse_dollars/parse_tilde. -2000-04-13 Ulrich Drepper +1999-04-19 Andreas Schwab - * posix/globtest.sh: Work around inconsistency with expanding ~/ - in shell (PR libc/1690). Reported by patsmith@pobox.com. + * manual/conf.texi (Utility Limits): Remove duplicate description + of BC_DIM_MAX. -2000-04-12 Ulrich Drepper +1999-04-19 Ulrich Drepper - * posix/getconf.c: Add support for many more POSIX options. - * sysdeps/posix/sysconf.c: Likewise. - * sysdeps/generic/bits/confname.h: Add many more POSIX options. - * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and - _POSIX_SHELL. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. - * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to - CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and - CLOCK_THREAD_CPUTIME_ID. - * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to - CLOCK_PROCESS_CPUTIME_ID. - * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of - __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle - CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same. - * sysdeps/unix/i386/i586/clock_gettime.c: Likewise. + * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize + outbufend for dst==NULL. - * malloc/Makefile (tests): Add tst-calloc. - * malloc/tst-calloc.c: New file. +1999-04-18 Ulrich Drepper - * sysdeps/arm/libm-test-ulps: New file. + * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend + for dst==NULL. + Fixes PR libc/1084. - * malloc/malloc.c: Undo all of today's changes. + * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR. + Fixes PR libc/1083. - * locale/programs/locale.c (show_info): Don't try to look into - data for LC_ALL (there is none). +1999-04-18 Thorsten Kukuk - * malloc/malloc.c (cALLOc): Clear only what the user asked for and - avoid writing over boundary. - Patch by Greg McGary . + * sunrpc/Makefile: Remove special handling of bootparam.x, + add rpcsvc/bootparam.h to headers. + * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility. + * sunrpc/rpcsvc/bootparam.x: Renamed to... + * sunrpc/rpcsvc/bootparam_prot.x: ...this. - * sysdeps/arm/memprof.h: New file. +1999-04-18 Ulrich Drepper -2000-04-12 Andreas Jaeger + * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to + detect and handle invalid descriptors. - * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo. +1999-04-17 Thorsten Kukuk - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include - for memmem declaration. + * timezone/zic.c (dolink): Append complete path not only filename + to ../ list. -2000-04-12 Ulrich Drepper +1999-04-17 Andreas Jaeger - * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval - to -1. - * sysdeps/posix/clock_getres.c (clock_getres): Likewise. + * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change. - * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the - mode is invalid. - * libio/oldiopopen.c (_IO_old_proc_open): Likewise. - Patch by Bart Veer . +1999-04-17 Ulrich Drepper - * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init - function interface. + * iconvdata/gconv-modules: Rename CP874 to IBM874. + * iconvdata/Makefile: Likewise. + * iconvdata/cp874.h: Removed. + * iconvdata/cp874.c: Renamed to... + * iconvdata/ibm874.c: ...this. -2000-04-11 Andreas Jaeger +1999-04-16 Ulrich Drepper - * sysdeps/mips/dl-machine.h: Update some comments. - (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed. + * sysdeps/unix/sysv/linux/bits/types.h: Correct + signed/unsigned-ness of blkcnt and fsblkcnt. + * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. + * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. -2000-04-11 Ulrich Drepper + * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM, + SOL_AAL, and SOL_IRDA. - * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add - _POSIX_SHARED_MEMORY_OBJECTS. +1999-04-15 Andreas Schwab - * rt/Makefile (tests): Add tst-shm. - Add rules to generate tst-shm. - * rt/tst-shm.c: New file. + * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't + include "linux_fsinfo.h". + Based on a patch by H.J. Lu . - * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC - for descriptor. +1999-04-16 Thorsten Kukuk - * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink. - * rt/Makefile (librt-routines): Add shm_open and shm_unlink. - * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink. - * sysdeps/generic/shm_open.c: New file. - * sysdeps/generic/shm_unlink.c: New file. - * sysdeps/unix/sysv/linux/shm_open.c: New file. - * sysdeps/unix/sysv/linux/shm_unlink.c: New file. - * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export - __endmntent, __getmntent_r, __setmntent, and __statfs. + * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long. - * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory - fragmentation by allocating new memory at the end instead of - reallocating. +1999-04-16 Ulrich Drepper - * posix/globtest.sh: Fix last change. + * nscd/cache.c (prune_cache): Only disable file checking for + future if the file does not exist. + Update file_mtime if cache was flushed. -2000-04-10 Philip Blundell +1999-04-15 David S. Miller - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP, - IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP, - IPV6_DROP_MEMBERSHIP. - * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): - Likewise. + * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. + * sysdeps/sparc/sparc32/strcpy.S: Likewise. -2000-04-11 Ulrich Drepper +1999-04-15 Scott Bambrough - * elf/readlib (process_file): Close streams in case of an error. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing + compilation of file. -2000-04-09 Andreas Jaeger +1999-04-15 Ulrich Drepper - * elf/readlib.c (process_file): Check if file is big enough to - contain aout and ELF headers. - Reported by Reinhard Moosauer . + * Versions.def: Add GLIBC_2.1.1 to libpthread. -2000-04-10 Jes Sorensen + * iconvdata/Makefile (modules): Add KOI8-U. + (distribute): Add koi8-u.c. + (gen-8bit-gap-modules): Add koi8-u. + * iconvdata/gconv-modules: Add KOI8-U entries. + * iconvdata/koi8-u.c: New file. - * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca(). +1999-04-13 Thorsten Kukuk -2000-04-11 Ulrich Drepper + * sunrpc/auth_des.c: 64bit fixes, security fixes. + * sunrpc/auth_none.c: Pretty print. + * sunrpc/auth_unix.c: Likewise. + * sunrpc/authdes_prot.c: Likewise. + * sunrpc/authuxprot.c: Likewise. + * sunrpc/bindrsvprt.c: Likewise. + * sunrpc/clnt_gen.c: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc/auth_des.h: Add rpc_timeval struct. + * sunrpc/rpc_cmsg.c: Don't use *long pointers. + * sunrpc/rtime.c: Use new rpc_timeval. + * sunrpc/svc_authux.c: Don't use *long pointers. + * sunrpc/svcauth_des.c: Likewise + security fixes. + * sunrpc/xdr_mem.c: Don't use *long pointers. + * sunrpc/xdr_rec.c: Likewise. + * sunrpc/xdr_sizeof.c: Likewise. + * sunrpc/xdr_stdio.c: Likewise. - * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout - stream unbuffered. - * rt/Makefile (tests): Add tst-clock. - Add rules to build tst-clock. - * rt/tst-clock.c: New file. - * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide - about initialization of nsec. - * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide - about initialization of freq. Set retval to zero if successful. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result. +1999-04-15 Ulrich Drepper -2000-04-10 Ulrich Drepper + * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup + so that it is redone for each sending. - * Versions.def (librt): Add GLIBC_2.2. - * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid, - clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, - timer_getoverr, timer_gettime, and timer_settime. - * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverrun, - timer_gettime, and timer_settime. - * sysdeps/generic/clock_getcpuclockid.c: New file. - * sysdeps/generic/get_clockfreq.c: New file. - * sysdeps/unix/i386/clock_getcpuclockid.c: New file. - * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file. - * sysdeps/mach/hurd/i386/bits/time.h: New file. - * sysdeps/unix/i386/i586/clock_getres.c: New file. - * sysdeps/unix/i386/i586/clock_gettime.c: New file. - * sysdeps/unix/i386/i686/Implies: New file. - * sysdpes/unix/sysv/linux/i386/bits/time.h: New file. - * time/Makefile (routines): Move clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverr, - timer_gettime, and timer_settime to rt/Makefile. - * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime, - clock_settime, timer_create, timer_delete, timer_getoverrun, - timer_gettime, and timer_settime. - * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid. - - * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__ - and not const as attribute name. - -2000-04-10 Thorsten Kukuk - - * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644. - -2000-04-10 Andreas Schwab - - * posix/globtest.sh: Skip tests that depend on unreadable - directories if run as root. - -2000-04-10 Ulrich Drepper - - * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value - for correct range. From code by Kaz Kylheku . - -2000-04-09 Ulrich Drepper - - * sysdeps/unix/clock_gettime.c: New file. - * sysdeps/unix/clock_settime.c: New file. - * sysdeps/posix/clock_getres.c: New file. - - * conform/data/ftw.h-data: Add allow-header sys/stat.h. - - * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial - lseek call be passing in a buffer which never allow a successful - first getdents syscall if not at leas the initial entry can be - stored in the user buffer. - - * localedata/Makefile: Add rules to clean up directories created by - new strfmon tests. - -2000-04-09 Geoff Clare - - * localedata/tst-fmon.data: Added new tests for strfmon() - using test locales with all combinations of cs_precedes, - sign_posn and sep_by_space. - * localedata/tst-fmon.sh: Updated to support the new tests. - * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing - the localedef source for the new strfmon() test locale. - * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise. - * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise. - * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise. - * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise. - * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise. - * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise. - * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise. - * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise. - * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise. - * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise. - * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise. - * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise. - * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise. - * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise. - - * stdlib/strfmon.c: Correct problems with missing or extra - spaces for unusual combinations of sign_posn and sep_by_space. - Improved left-precision alignment code. - -2000-04-07 Andreas Jaeger - - * posix/Makefile (CFLAGS-regex.c): Remove DEBUG. - -2000-04-10 Andreas Jaeger - - * intl/Makefile: Don't run do-gettext-test when cross-compiling. - -2000-04-09 Ulrich Drepper - - Implement handling of restartable conversion functions according to - ISO C. - * iconv/gconv.h (__gconv_fct): Add additional parameter. - * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise. - * iconv/gconv.c: Pass additional parameter to conversion function. - * iconv/gconv_simple.c (internal_ucs4_loop_single): New function. - (internal_ucs4le_loop_single): New function. - (__gconv_transform_ascii_internal): Define ONE_DIRECTION. - (__gconv_transform_internal_ascii): Likewise. - (__gconv_transform_internal_utf8): Likewise. - (__gconv_transform_utf8_internal): Likewise. - (__gconv_transform_ucs2_internal): Likewise. - (__gconv_transform_internal_ucs2): Likewise. - (__gconv_transform_ucs2reverse_internal): Likewise. - (__gconv_transform_internal_ucs2reverse): Likewise. - (internal_ucs4le_loop_unaligned): Before return - __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form - a valid character. Otherwise return __GCONV_ILLEGAL_INPUT. - (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES. - * iconv/loop.c: Fit in definition of function to convert one character - for processing of left-over bytes from the state object. - * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to - inend to match names in loop functions. - (RESET_INPUT_BUFFER): Change apprpriately. - (gconv): If needed, call function to process bytes from the state - object. Similar at the end: store left over bytes if input is - incomplete. - Take extra argument and add new argument to all calls of the - conversion function. - * iconvdata/iso-2022-cn.c: Adjust numeric values used to store - information in the state object to not conflict with length count. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/unicode.c: Adjust for change change in parameters of - skeleton function. - * iconvdata/utf-16.c: Likewise. - * libio/iofwide.c: Add new parameter to all calls of conversion - function. - * wcsmbs/btowc.c: Likewise. - * wcsmbs/mbrtowc.c: Likewise. - * wcsmbs/mbsnrtowcs.c: Likewise. - * wcsmbs/mbsrtowcs.c: Likewise. - * wcsmbs/wcrtomb.c: Likewise. - * wcsmbs/wcsnrtombs.c: Likewise. - * wcsmbs/wcsrtombs.c: Likewise. - * wcsmbs/wctob.c: Likewise. +1999-04-15 Andreas Jaeger - * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and - MAX_NEEDED_INPUT. + * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup. -2000-04-07 Andreas Jaeger +1999-04-15 Ulrich Drepper - * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for - newer kernels. + * iconv/gconv_db.c (__gconv_find_transform): If conversion is + known to not exist don't try to load shared objects. + Patch by Petr Vandrovec Ing. VTEI . -2000-04-07 Ulrich Drepper + * nscd/cache.c (prune_cache): The table might not be unused. In + this case do nothing. - * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value - element a union to allow byte access. - * iconvdata/iso-2022-cn.c: Adjust for change of element name in - mbstate_t. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * wcsmbs/mbsinit.c: Likewise. - * stdlib/mblen.c: Likewise. - * stdio-common/printf-parse.h: Likewise. - -2000-04-06 Ulrich Drepper - - * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux - kernel does not allow relative seeks on descriptors associated - with directories. Go back to get the position in the directory - every time we enter the function. Return -1 and set errno if one - entry could be read from the kernel but does not fit into the - buffer passed in by the user. - - * locale/programs/charmap.c (charmap_new_char): Add parameter step. - Support ..(2).. ellipsis. - (parse_charmap): Recognize ..(2).. etc and pass step down. - Correctly generate names for UCS4 characters. - - * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step. - (ctype_finish): We know the wide character value for , - don't search. - (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis. - (charclass_ucs4_ellipsis): Likewise. - (read_translit_ignore_entry): Store ellipsis step. - (ctype_read): Recognize ..(2).. etc and pass step down. + * catgets/gencat.c (read_input_file): Don't drop white spaces + between number/identifier and string. + Patch by Dima Barsky . + If no white space at all follows number/identifier remove existing + message with the number/identifier. - * locale/programs/linereader.c (lr_token): When seeing comment - character ignore only rest of line in sources but stop at escaped - newline. - Recognize ..(2).. and ....(2)..... +1999-04-14 H.J. Lu - * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2 - and tok_ellipsis4_2. + * sunrpc/clnt_udp.c (is_network_up): New function. + (clntudp_call): Call is_network_up () to check if any network + interface is up in case of timeout. -2000-04-06 Andreas Jaeger +1999-04-14 Andreas Jaeger - * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been - removed, remove it here also. - * sysdeps/unix/sysv/linux/arm/Dist: Likewise. - * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise. + * wctype/test_wcfuncs.c: New file, tests towlower and towupper. + * wctype/Makefile (tests): Add test_wcfuncs. -2000-04-06 Jakub Jelinek +1999-04-14 Jakub Jelinek - * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't - include bits/sigcontext.h. - * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. + * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-* + architectures. + * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS + instead of CFLAGS. + * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS + instead of CFLAGS. For gnulib and string directories use + -Wa,-Av9a gcc ASFLAGS. + * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file. + * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-* + the same way as sparc-*. -2000-04-06 Ulrich Drepper +1999-04-14 Ulrich Drepper - * locale/programs/ld-collate.c (collate_read): Handle ellipsis in - collation symbol definition. Value in quivalence definition must - be defined, don't check that it is not. + * locale/programs/locfile.c (locfile_read): Fix typo. + Patch by Kaoru Fukui . - * locale/programs/charmap.c (parse_charmap): Recognize - values as character names. +1999-04-14 Scott Bambrough - * locale/programs/ld-ctype.c (get_character): Handle missing - repertoire map correctly. + * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be + restarted after being interrupted by a signal. The parameters on + the stack were corrupted by the signal handler. -2000-04-05 Cristian Gafton + * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be + restarted after being interrupted by a signal. The parameters on + the stack were corrupted by the signal handler. - * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__ - because it is used in generic code. - * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower. - * wcsmbs/wcwidth.h: Declare __ctype32_b. - * intl/gettext.c: Include . - * intl/ngettext.c: Likewise. +1999-04-14 Andreas Jaeger -2000-04-05 Jakub Jelinek + * wctype/wcfuncs.c (towlower): Use __ctype_tolower. + Reported by Kalle Olavi Niemitalo - * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use - socklen_t type for size. - * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new - init function interface. - * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include - sys/ucontext.h. - (__jmp_buf): Declare the whole type structure here, don't use - ucontext. +1999-04-12 Tim Waugh -2000-04-05 Ulrich Drepper + * posix/wordexp-test.c: In field-splitting test cases where + subshells were involved, unset IFS first: some shells (ash) use + IFS even when no expansion is performed. - * iconv/skeleton.c (put16u): Fix typo. - Reported by Bruno Haible . +1999-04-13 Andreas Schwab - * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore. - * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise. + * libio/obprintf.c (_IO_obstack_overflow): Put the write end at + the real end of the chunk, not some random point inbetween. + (_IO_obstack_xsputn): Likewise. Actually copy the data into the + obstack when growing. Use fast version of obstack_blank when + shrinking. + (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly + allocating the vtable pointer. + (_IO_obstack_vprintf): Adjust for above change and avoid + unnecessary casts. Use fast version of obstack_blank when + shrinking. + Fixes PR libc/1075. - * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid. - * Makefile (distribute): Add abi-versions.awk and - firstversions.awk. - Patches by Torsten Duwe . +1999-04-12 Ulrich Drepper -2000-04-05 Andreas Schwab + * iconvdata/gconv-modules: Fix typo. Add UJIS alias. + Reported by GOTO Masanori . - * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o. +1999-04-11 Tim Waugh -2000-04-05 Andreas Schwab + * posix/wordexp.c (wordexp): Fix a leak when an invalid character + is seen, as well as fixing semantics. Don't reset the word count + to zero when an invalid character is seen, but leave it as it was + (this makes a difference with WRDE_APPEND). - * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user - entry point, used on Hurd. + * posix/wordexp-test.c: More test cases. -2000-04-04 Andreas Jaeger + * posix/wordexp.c (parse_param): In words like ${var#pattern}, + always expand pattern when it is needed. Also, handle quoting in + pattern properly. - * intl/Makefile: Only run the gettext test with shared libraries. +1999-04-12 Philip Blundell -2000-03-16 Mark Kettenis + * elf/elf.h: Update ARM definitions to match current gas2. - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): - Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. + * sysdeps/arm/bits/endian.h: Support big endian operation. -2000-04-05 Roland McGrath + * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl): + Don't bother range checking the port number. - * Makeconfig: Undo last change. - * configure.in: If --disable-shared was given, don't set VERSIONING, - don't define DO_VERSIONING, and don't give scare warning for no - versioning. - * configure: Regenerated. + * sysdeps/unix/sysv/linux/arm/vfork.S: New file. -2000-04-04 Roland McGrath + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include + the syscall name in assembler output for ease of debugging. - * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'. + * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined + compiler behaviour. + * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file. + * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal] + (sysdep_routines): Add sigrestorer. -2000-04-04 Andreas Jaeger + * string/tester.c (test_strcpy): Add new tests for unaligned + arguments. + * sysdeps/arm/bits/string.h: Delete inline implementations of + strcpy and stpcpy. - * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros. +1999-04-11 Ulrich Drepper -2000-04-04 Ulrich Drepper + * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG. - * elf/dl-runtime.c (fixup): Correct handling of symbols marked - STV_HIDDEN and STV_INTERNAL during lookup. - (profile_fixup): Likewise. - * elf/dl-reloc.c (RESOLVE): Likewise. +1999-04-10 Mark Kettenis - * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of - unaligned so that it compiles for system which need unaligned - access handling. + * sysdeps/mach/hurd/Dist: Add clk_tck.c. -2000-04-04 Andreas Schwab +1999-04-10 Ulrich Drepper - * elf/cache.c (print_entry): Only look at the type field when - printing the type. + * iconvdata/Makefile (modules): Add TIS-620. + (distribute): Add tis-620.c. + (gen-8bit-gap-modules): tis-620. + * iconvdata/tis-620.c: New file. + * iconvdata/gconv-modules: Add TIS-620 entries. -2000-04-04 Andreas Schwab + * iconvdata/asmo_449.c: Correct comment. - * iconvdata/big5.c (BODY): Fix typo. +1999-04-10 Andreas Jaeger -2000-04-04 Andreas Schwab + * manual/install.texi (Configuring and compiling): Comment out + description of --disable-static since this doesn't work currently + (see change by Ulrich Drepper on 1998-12-07 for configure.in). - * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init - function interface. Remove unused _dl_start_user entry point. +1999-04-10 Ulrich Drepper -2000-04-03 Andreas Jaeger + * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to + use binary search. + Based on a patch by Jakub Jelinek . - * include/arpa/inet.h (__inet_aton): Add protoype. +1999-04-08 Andreas Jaeger -2000-04-01 Andreas Jaeger + * scripts/test-installation.pl (installation_problem): Skip + libnss1_* libraries from glibc-compat add-on. - * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. +1999-04-07 H.J. Lu - * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. - * sysdeps/mach/mips/thread_state.h: Likewise. + * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for + libstdc++ 2.7.2. + * posix/Versions (__waitpid): Likewise. - * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. - * sysdeps/generic/fegetenv.c: Likewise. - * sysdeps/generic/fesetenv.c: Likewise. - * sysdeps/generic/feupdateenv.c: Likewise. - * sysdeps/generic/fraiseexcpt.c: Likewise. - * sysdeps/generic/fsetexcptflg.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. - * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. +1999-04-08 Andreas Jaeger -2000-04-02 H.J. Lu + * manual/install.texi (Reporting Bugs): Add section about reported + bugs and correct email address of glibcbug script. - * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined. +1999-04-01 Thorsten Kukuk -2000-04-03 Ulrich Drepper + * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1 + * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and + xdr_u_longlong_t. Based on patch from Dan Shechter + . + * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t + * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions. - * elf/dl-load.c (_dl_dst_substitute): Pretty print comment. - (add_name_to_object): Add cast in malloc call. - (fillin_rpath): Optimize loop to initialize ->status a bit. + * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code. - * sysdeps/i386/dl-machine.h: Undo last change. - * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT): - Restore %edx register after call here. +1999-04-07 Andreas Jaeger - * sysdeps/arm/atomicity.h: New file. - Contributed by Jesper Skov . + * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return + directly if getdents returns with error set. -2000-04-03 Roland McGrath +1999-04-05 Andreas Jaeger - * Makeconfig (preprocess-versions): Undo last change. - Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS). + * locale/langinfo.h (THOUSEP): Rename second occurence of + THOUSANDS_SEP to THOUSEP. + Reported by Roman Belenov . - * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ - here, before we might move the stack. - (posixland_init): Set __libc_argc, __libc_argc, and __environ here. - (init1): And not here. +1999-04-05 Roland McGrath - * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last - change, to restore argc value in call-clobbered register after - RTLD_START_SPECIAL_INIT, which will contain a call. + * hurd/STATUS: File removed. Moved items that are still relevant into + TODO list in hurd source. - * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for - allocating and initializing L->l_initfini. +1999-03-26 Mark Kettenis - * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed. + * sysdeps/mach/hurd/bits/time.h: New file. + * sysdeps/mach/hurd/getrusage.c: New file. + * sysdeps/mach/hurd/clk_tck.c: New file. + * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. + * sysdeps/mach/hurd/Makefile [$(subdir) = posix] + (sysdep_routines): Add clk_tck. + * sysdeps/mach/hurd/times.c: Removed, since getrusage is now + implemented. -2000-04-03 Ulrich Drepper +1999-04-02 Ulrich Drepper - * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing - RUNPATH, RPATH, and LD_LIBRARY_PATH. - (open_path): Change type of fourth parameter. Make pointer to array - of pointers. Create variable dirs with original type. - Track whether any directory for the object exists and if not, - change *DIRSP to (void*) -1 to signal there is no such search path. - (_dl_map_object): Change all calls of open_path. - Rewrite decompose_rpath calls. + * misc/syslog.c (closelog_internal): Do not reset LogTag here. + (closelog): But instead here. + Patch by Alan Curry [PR libc/1061]. -2000-03-31 Andreas Schwab +1999-04-02 Andreas Jaeger - * string/strfry.c: Declare STATE as array of char instead of int - and do not initialize it (done by initstate_r). Pass correct - size. + * elf/Makefile (CFLAGS-multiload.c): Change to allow building in + the source directory. Fixes PR libc/1059. -2000-04-03 Ulrich Drepper +1999-04-01 Andreas Jaeger - * sysdeps/generic/ldsodefs.h: Fix typo in comment. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string. + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise. - * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more - instruction out of the code. +1999-04-01 Ulrich Drepper -2000-04-02 Ulrich Drepper + * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15. + * iconvdata/testdata/ISO-8859-14: New file. + * iconvdata/testdata/ISO-8859-14..UTF8: New file. + * iconvdata/testdata/ISO-8859-15: New file. + * iconvdata/testdata/ISO-8859-15..UTF8: New file. - * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in - element at this position. +1999-03-31 Ulrich Drepper - * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock. - * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and - l_reldeps elements. - * elf/dl-lookup.c (add_dependency): New function. - (_dl_lookup_symbol): Use it whenever symbol was found in a global, - dynamically loaded object. - (_dl_lookup_symbol_skip): Likewise. - (_dl_lookup_versioned_symbol): Likewise. - (_dl_lookup_versioned_symbol_skip): Likewise. - * elf/dl-open.c: Don't define _dl_load_lock here... - * elf/rtld.c: ...but here... - * elf/dl-support.c: ...and here. - * elf/dl-close.c (_dl_close): Close also dependent objects introduce - through relocation. - * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through - relocations. - * dlfcn/Makefile (glrefmain.out): Test is not expected to fail - anymore. - * dlfcn/glrefmain.c: Add one more debug message. - - * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler - command line. - * Makerules (sysd-versions): Use ( ) instead of { }. - - * elf/dl-load.c: Use __builtin_expect to signal that compiler should - optimize for the non-debugging case. - * elf/dl-lookup.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - -2000-04-02 Roland McGrath - - * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED. - (init1): Don't initialize __environ here, since init already does it. - (first_init): New function, broken out of _init. - (_hurd_stack_setup): Use it. - [SHARED] (_dl_init_first): New function, renamed from old _init. - (init1) [SHARED]: Don't call posixland_init here. - (posixland_init): Take ENVP arg, so signature is usual for initializer. - [SHARED] (_init): Define as alias for posixland_init. - [! SHARED] (__libc_first_init): Define as alias for posixland_init. - * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro - RTLD_START_SPECIAL_INIT before calling initializers. - (RTLD_START_SPECIAL_INIT): Define to empty if undefined. - * sysdeps/mach/hurd/i386/dl-machine.h: New file. - * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function. - * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first. - - * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed, - since we define the function with the name `tmpfile'. - - * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h. - * hurd/Versions: Likewise. - -2000-04-02 Ulrich Drepper - - * elf/dl-runtime.c (fixup): Fix typo in comment. - - * resolv/netdb.h (getnameinfo): All length parameters are of type - socklen_t. - * inet/getnameinfo.c: Likewise. - -2000-04-01 Ulrich Drepper - - * posix/unistd.h (socklen_t): Define if it has not yet happened. - (gethostname): Change type of second parameter to socklen_t. - * include/unistd.h (__gethostname): Change type of second - parameter to socklen_t. - * sysdeps/generic/gethostname.c (__gethostname): Likewise. - * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise. - * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname): - Likewise. - * sysdeps/unix/sysv/linux/gethostname.c: Removed. - * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t. - Allow definition elsewhere. - * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise. - * sysdeps/generic/bits/types.h: Define __socklen_t. - * sysdeps/unix/sysv/aix/bits/types.h: Likewise. - * sysdeps/unix/sysv/hpux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. - * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. - * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. + * iconvdata/testdata/CP1258: New file. + * iconvdata/testdata/CP1258..UTF8: New file. + * iconvdata/TESTS: Add CP1258 entry. - * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t. - (inet_lnaof): Likewise. - (inet_netof): Likewise. - (inet_network): Likewise. - (inet_aton): Likewise. - (inet_makeaddr): Change parameter types to in_addr_t. - (inet_neta): Likewise. - (inet_ntop): Change type of last parameter to socklen_t. - (inet_aton): Only make available if __USE_MISC. - (inet_neta): Likewise. - (inet_net_ntop): Likewise. - (inet_net_pton): Likewise. - (inet_nsap_ntoa): Likewise. - - * inet/in.h: Define in_port_t type. - Define in_addr_t type. - (struct in_addr): Use in_addr_t in definition. - (IN_CLASSA): Use cast to in_addr_t. - (IN_CLASSB): Likewise. - (IN_CLASSC): Likewise. - (IN_CLASSD): Likewise. - (IN_EXPERIMENTAL): Likewise. - (IN_BADCLASS): Likewise. - (INADDR_ANY): Likewise. - (INADDR_BROADCAST): Likewise. - (INADDR_NONE): Likewise. - (INADDR_LOOPBACK): Likewise. - (INADDR_UNSPEC_GROUP): Likewise. - (INADDR_ALLHOSTS_GROUP): Likewise. - (INADDR_ALLRTRS_GROUP): Likewise. - (INADDR_MAX_LOCAL_GROUP): Likewise. - (struct sockaddr_in): Use in_port_t for sin_port element. - (struct sockaddr_in6): Use in_port_t for sin6_port element. - Use uint8_t instead of u_int8_t. - - * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t. - Call __inet_aton instead of inet_aton. - (__inet_aton): Renamed from inet_aton. Add weak alias under old name. - - * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC. - (innetgr): Likewise. - (struct addrinfo): Use socklen_t for ai_addrlen element. - - * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU, - IPV6_RECVERR): New defines. - - * include/netdb.h: Change type of first parameter of __getnetbyaddr_r. - * inet/getnetbyad.c: Likewise. - * inet/getnetbyad_r.c: Likewise. - * nis/nss_nis/nis-network.c: Likewise. - * nis/nssplus_nis/nisplus-network.c: Likewise. - * nss/nss_files/files-network.c: Likewise. - * resolv/netdb.h: Define uint32_t if not already happened. - Include bits/netdb.h. Remove definition of struct netent. - Change type of first parameter of getnetbyaddr_r and getnetbyaddr. - * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere. - * sysdeps/generic/bits/netdb.h: New file. - * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file. - - * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c. - (tests): Add glrefmain. - Add rules to build modules and run tests. Ignore result of glrefmain - for now since it fails. - * dlfcn/glrefmain.c: New file. - * dlfcn/glreflib1.c: New file. - * dlfcn/glreflib2.c: New file. - - * test-skeleton.c: Include for strsignal prototype. - - * locale/programs/ld-collate.c (check_duplicate): Allow repertoire - to be missing. - - * sysdeps/unix/sysv/linux/init-first.c (init): Add code from - former init-first.h. Initialize __libc_multiple_libcs. - -2000-03-31 Ulrich Drepper - - * iconv/skeleton.c: Define access macros with u suffix. Adjust - #if expression for use of unaligned function to the one used in - the definition of these functions. - * iconv/loop.c: Undefined `unaligned' before recursive inclusion. - * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function. - (internal_ucs4le_loop_unaligned): New function. - - * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c. - (tests): Add order. - (module-names): Add dep1, dep2, dep3, and dep4. - Add dependencies for dep* modules and order. - Define rule for order.out which checks the result. - * elf/dep1.c: New file. - * elf/dep2.c: New file. - * elf/dep3.c: New file. - * elf/dep4.c: New file. - * elf/order.c: New file. - - * elf/dl-init.c: Fix typo in comment. - -2000-03-31 Andreas Jaeger - - * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new - init function interface. - * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise. - -2000-03-31 Andreas Jaeger - - * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if. - * sysdeps/mips/fpu/fegetenv.c: Likewise. - * sysdeps/mips/fpu/feupdateenv.c: Likewise. - * sysdeps/mips/fpu/fclrexcpt.c: Likewise. - * sysdeps/mips/fpu/fesetenv.c: Likewise. + * iconvdata/cp874.h (to_ucs4): Add Euro sign. - * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated - anymore, update comment. + * timezone/africa: Update from tzdata1999d. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. +1999-03-31 Mark Kettenis + + * login/programs/pt_chown.c (main): Save effective user ID before + dropping priviliges and use this to check if the program is + properly installed. + +1999-03-31 Ulrich Drepper + + * iconvdata/testdata/CP1254: Update for charmap changes. + * iconvdata/testdata/CP1254..UTF8: Likewise. + * iconvdata/testdata/CP1255: Likewise. + * iconvdata/testdata/CP1255..UTF8: Likewise. + * iconvdata/testdata/CP1256: Likewise. + * iconvdata/testdata/CP1256..UTF8: Likewise. + * iconvdata/testdata/CP1257: Likewise. + * iconvdata/testdata/CP1257..UTF8: Likewise. + + * iconvdata/Makefile (distribute): Remove cp1258.h. + (gen-8bit-gap-modules): Add cp1258. + * iconvdata/cp1258.h: Removed. + +1999-03-30 Ulrich Drepper + + * timezone/tst-timezone.c (tests): Add more cases. + (check_tzvars): Mark errors clearer. + (main): Likewise. + +1999-03-30 20:59 -0500 Zack Weinberg + + * login/programs/pt_chown.c: Drop privileges if invoked with + arguments. Don't close the master pty. + +1999-03-30 Ulrich Drepper + + * time/tzfile.c (__tzfile_read): Process transitions from the rear. + Minor optimization. + +1999-03-29 Ulrich Drepper + + * elf/rtld.c (process_envvars): Do not automatically prevent lazy + relocation for SUID binaries. + +1999-03-29 Paul Eggert + + * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain + while in child process. + +1999-03-29 Jakub Jelinek + + * sysdeps/sparc/sparc32/sparcv8/Makefile: New file. + * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y. + * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise. + * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise. + + * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file. + * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file. + * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file. + * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file. + * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/memset.S: New file. + * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file. + * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file. + * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file. + * sysdeps/sparc/sparc32/sparcv9/rem.S: New file. + * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file. + * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file. + * sysdeps/sparc/sparc32/sparcv9/umul.S: New file. + * sysdeps/sparc/sparc32/sparcv9/urem.S: New file. + * sysdeps/sparc/sparc32/sparcv9/Makefile: New file. + * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file. + * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file. + + * sysdeps/sparc/sparc32/bcopy.c: New file. + * sysdeps/sparc/sparc32/bzero.c: New file. + * sysdeps/sparc/sparc32/memchr.S: New file. + * sysdeps/sparc/sparc32/memcpy.S: New file. + * sysdeps/sparc/sparc32/memmove.c: New file. + * sysdeps/sparc/sparc32/memset.S: New file. + * sysdeps/sparc/sparc32/stpcpy.S: New file. + * sysdeps/sparc/sparc32/strchr.S: New file. + * sysdeps/sparc/sparc32/strrchr.c: New file. + * sysdeps/sparc/sparc32/strcpy.S: New file. + * sysdeps/sparc/sparc32/strlen.S: New file. + * sysdeps/sparc/sparc32/strcat.S: New file. + * sysdeps/sparc/sparc32/strcmp.S: New file. + + * sysdeps/sparc/sparc64/bcopy.c: New file. + * sysdeps/sparc/sparc64/bzero.c: New file. + * sysdeps/sparc/sparc64/memchr.S: New file. + * sysdeps/sparc/sparc64/memcmp.S: New file. + * sysdeps/sparc/sparc64/memcpy.S: New file. + * sysdeps/sparc/sparc64/memset.S: New file. + * sysdeps/sparc/sparc64/stpcpy.S: New file. + * sysdeps/sparc/sparc64/strcat.S: New file. + * sysdeps/sparc/sparc64/strchr.S: New file. + * sysdeps/sparc/sparc64/strcmp.S: New file. + * sysdeps/sparc/sparc64/strcpy.S: New file. + * sysdeps/sparc/sparc64/strcspn.S: New file. + * sysdeps/sparc/sparc64/strlen.S: New file. + * sysdeps/sparc/sparc64/strncpy.S: New file. + * sysdeps/sparc/sparc64/strpbrk.S: New file. + * sysdeps/sparc/sparc64/strrchr.c: New file. + * sysdeps/sparc/sparc64/strspn.S: New file. + * sysdeps/sparc/sparc64/stpncpy.S: New file. + * sysdeps/sparc/sparc64/strncmp.S: New file. + + * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os): + Append -fPIC, don't replace. + + * configure.in: Recognize sparcv8plus / sparcv9. + +1999-03-27 Andreas Jaeger + + * malloc/obstack.h (obstack_free): Explicitly convert __obj to + char * to avoid C++ warning. + Patch by yasushi@cs.washington.edu [PR libc/1035]. + +1999-03-29 Andreas Jaeger + + * manual/filesys.texi (Temporary Files): mktemp and mkstemp are + declared in stdlib.h, correct return value of mkstemp. + Reported by Andries Brouwer . + + * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines + from Linux 2.2.5. + +1999-03-28 Andreas Jaeger + + * misc/regexp.h (compile): Cast some pointers to (char *) to avoid + C++ warning. + + * ctype/ctype.h (tolower, toupper): Add __THROW declaration to + inline functions. Closes PR libc/1049. + +1999-03-25 Andreas Jaeger + + * timezone/README: Update from tzdata1999c and tzcode1999c. + + * timezone/africa: Update from tzdata1999c. + * timezone/antarctica: Likewise. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. - * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove - SHLIB_COMPAT - the struct is always needed. + * timezone/zic.c: Update from tzcode1999c. -2000-03-31 Ulrich Drepper +1999-03-26 Andreas Schwab - * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686. - * elf/dl-support.c: Define _dl_starting_up. + * Makerules: Add $(common-objpfx)Versions.all to common-generated + outside of ifndef avoid-generated. -2000-03-30 Ulrich Drepper + * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes + in iofdopen.c. + * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in + iofopen.c. + * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes + in iofclose.c. + * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync, + _IO_old_file_seekoff): Bring over recent changes in fileops.c. - * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function. - * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up. +1999-03-26 Mark Kettenis - * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used. + * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script + if we build the profiled library. - * elf/Makefile (dl-routines): Remove preinit. - * elf/Versions: Remove _dl_preinit. - * elf/dl-preinit.c: Removed. Move content into... - * elf/dl-init.c: ...here. - * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit. +1999-03-26 Andreas Schwab - * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of - elements. + * math/Makefile (gmp-objs): Add inlines. Reported by Andreas + Jaeger -2000-03-29 Geoff Clare +1999-03-25 Roland McGrath - * stdlib/strfmon.c: Corrected problems with the code that - sets default values for [np]_sep_by_space and - [np]_sign_posn; also the new positive/negative alignment - code from the previous patch was not quite right for - [np]_sign_posn = 0. + * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] + (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START. + This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386. - * localedata/tst-fmon.data: Changes corresponding to the - two sets of fixes made to stdlib/strfmon.c. +1999-03-24 Roland McGrath -2000-03-29 Jes Sorensen + * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule + works properly in subdirs. - * malloc/malloc.c: Declare bit flags UL so that they will not - default to int size when being inverted. +1999-03-23 Roland McGrath -2000-03-29 Andreas Jaeger + * sysdeps/mach/hurd/Makefile: Undo last change. + [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so. + [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so. - * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. + * mach/Machrules (+preinit, +postinit, +interp, + LDFLAGS-$(interface.so)): Variables removed. Interface libraries get + linked just like other shared libraries. + (interface.so): Fix typo in defn, so it works. + ($(objpfx)$(interface.so)): Make it depend on libc.so. -2000-03-29 Andreas Jaeger , - Ralf Baechle +1999-03-21 Roland McGrath - * Makeconfig: Introduce new variable SHARED to mark code used in - the shared library. - * elf/dl-close.c: Use it instead of PIC. - * elf/dl-load.c: Likewise. - * elf/dl-open.c: Likewise. - * hurd/geteuids.c: Likewise. - * include/libc-symbols.h: Likewise. - * include/shlib-compat.h: Likewise. - * libio/freopen.c: Likewise. - * linuxthreads/cancel.c: Likewise. - * linuxthreads/pthread.c: Likewise. - * linuxthreads/wrapsyscall.c: Likewise. - * nss/nsswitch.c: Likewise. - * stdio-common/vfprintf.c: Likewise. - * sysdeps/arm/init-first.c: Likewise. - * sysdeps/i386/init-first.c: Likewise - * sysdeps/generic/init-first.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/mips/init-first.c: Likewise. - * sysdeps/powerpc/elf/libc-start.c: Likewise. - * sysdeps/unix/sysv/linux/init-first.c: Likewise. - * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. - * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. + * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on + $(link-rpcuserlibs). - * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check. +1999-03-22 Andreas Schwab -2000-03-29 Andreas Jaeger + * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name), + $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable + targets if not building shared libraries. - * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): - Use D_PTR to access relocated entries in l_info. - (elf_machine_rela): Likewise. +1999-03-22 Andreas Schwab - * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): - Likewise. - (elf_machine_rela): Likewise. + * configure.in: Also look in $PATH when searching for + install-info. Remove autoconf bug workaround and require autoconf + 2.13. - * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): - Likewise. - (__elf_machine_fixup_plt): Likewise. - (__process_machine_rela): Likewise. +1999-03-21 Andreas Jaeger - * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rela): Likewise. + * db/Makefile: Don't try to install shared library link if not + building with shared libs. - * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rel): Likewise. +1999-03-19 Andreas Jaeger - * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_fixup_plt): Likewise. - (elf_machine_rela): Likewise. + * rt/Makefile: Link against static library if no shared lib is + available. -2000-03-29 Andreas Jaeger + * localedata/Makefile: The shells scripts implementing the test + require the dynamic linker which is not available with + --disable-shared. Skip the test if --disable-shared is given. - * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros. - * sysdeps/unix/sysv/linux/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. - * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. + * linuxthreads/Makefile: Link test against static libpthread if no + shared lib is available. - * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat - macros, remove K&R prototypes. + * iconvdata/Makefile (tests): Run iconv-test only if we're + building shared libraries. + * elf/Makefile (tests): Likewise for elf tests. -2000-03-30 Ulrich Drepper + * posix/Makefile: The test frameworks globtest and wordexp-test + require the dynamic linker which is not available with + --disable-shared. Skip the test if --disable-shared is given. - * posix/getopt.c (_getopt_internal): Return -1 if argc < 1. - Reported by Andrew Wiseman - (PR libc/1677). + * grp/Makefile (otherlibs): For static nss build link against + necessary libs. -2000-03-30 Andreas Jaeger +1999-03-19 Andreas Jaeger - * misc/sys/cdefs.h: Remove K&R support. + * debug/Makefile (install-bin): Install and build catchsegv only + if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR + libc/965]. -2000-03-30 Ulrich Drepper +1999-03-20 Andreas Schwab - * iconv/skeleton.c: Avoid compiling unaligned versions in some - more cases. - * iconv/loop.c: Likewise. + * time/tzfile.c (__tzfile_read): Handle the case where there are + transitions but no DST. -2000-03-29 Bruno Haible +1999-03-20 Roland McGrath - * iconv/loop.c (put16): Remove __const. Fix access index. - (put32): Remove __const. Use uint32_t instead of uint16_t. - * iconv/skeleton.c: Likewise. + * mach/Machrules (extra-libs-others): Add $(interface-library) here + too, so it gets built in the others pass rather than the lib pass. + This is necessary since the RPC libraries need to be linked against + libc. -2000-03-30 Roland McGrath - - * mach/Versions (libc: GLIBC_2.0) - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize - __vm_allocate on this. - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize - mutex- and spinlock-related symbols on this. - [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): - New version set. Lock-related symbols go here instead in this case. - * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove - _cthread_exit_routine, _cthread_init_routine, cthread_keycreate, - cthread_getspecific, cthread_setspecific, __libc_getspecific. - * hurd/Versions - [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0): - Put them here instead. - [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): - New version set. Those cthreads symbols go here instead in this case. - * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version. - -2000-03-30 Ulrich Drepper - - * elf/dl-init.c (_dl_init): We don't need to call constructors - recursively. Fold _dl_init_rec in _dl_init and optimize a bit more. - - Implement dynamic determination of constructor/destructor order in - the dynamic linker. - * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next. - (GLIBC_2.2): Add _dl_init. - * elf/dl-close.c: Also call all destructors in FINI_ARRAY. - r_duplist is not anymore allocated separately. l_initfini is and - therefore free it if necessary. - * elf/dl-deps.c: If a searchlist has to be allocated, put all in one - malloc block. Otherwise allocate l_initfini list only. - Put dependencies for the object in l_initfini list. - Sort dependencies for the object to be loaded topologically. - * elf/dl-fini.c: Before running the destructors sort the topologically. - * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to - call constructors instead of iterating over the pointers. Get list of - objects for which to run constructors from l_initfini element. Accept - argc, argv, and env as parameters and pass them to the constructors. - * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member - with size of dynamic section. - * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of - _dl_init_next and calling constructors ourself. - * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next. - Take argc, argv, and env as parameters and pass them to the - constructors. Rewrite to call all constructors and not iterate over - the pointers. - * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't - precompute l_initcount and l_preinitcount. - * elf/link.h (struct link_map): Add l_ldnum member. - Make l_phdr_allocated part of the bitfield. Remove l_runcount, - l_initcount, and l_preinitcount. Add l_initfini. - * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with - one for _dl_init. - * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init - function interface. - * sysdeps/unix/sysv/linux/init-first.h: Removed. - * sysdeps/unix/sysv/linux/Dist: Delete file here as well. - * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use - SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling - conventions now match. - - * sysdeps/generic/libc-start.c: Calling __libc_init_first has no - effect for shared objects. Don't emit message and call only for - static library. - -2000-03-29 Ulrich Drepper - - * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from - CSA_Z243.4-1985-1..UCS2. - * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from - ISO-8859-10..UCS2. - -2000-03-29 Andreas Jaeger - - * include/unistd.h: Remove duplicate entry for __rmdir. - Remove declaration of __mkdir since __mkdir is declared in - sys/stat.h. - - * manual/creature.texi (Feature Test Macros): Fix typo, reported - by Michael Deutschmann . - - * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros. - * sysdeps/mips/fpu/fegetenv.c: Likewise. - * sysdeps/mips/fpu/fesetenv.c: Likewise. - * sysdeps/mips/fpu/feupdateenv.c: Likewise. - * sysdeps/mips/fpu/fgetexcptflg.c: Likewise. +1999-03-19 Roland McGrath -2000-03-28 Andreas Jaeger - - * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant - declaration, the prototype is defined via bits/mathcalls.h. - (__sincosf): Likewise. - (__sincosl): Likewise. - (ldexp): Likewise. - (ldexpf): Likewise. - (ldexpl): Likewise. - (__finite): Likewise. - (__inline_mathcodeNP): New macro without prototype - declarations. - (__inline_mathcodeNP2): Likewise. - (__inline_mathcodeNP3): Likewise. - (__inline_mathcodeNP_): Likewise. - (__inline_mathcodeNP2_): Likewise. - (__inline_mathcodeNP3_): Likewise. - (__inline_mathopNP): Likewise. - (__inline_mathop_declNP): Likewise. - (__inline_mathop_declNP_): Likewise. - (__inline_mathcode_): Use __inline_mathcodeNP_. - (__inline_mathcode2_): Use __inline_mathcodeNP2_. - (__inline_mathcode3_): Use __inline_mathcodeNP3_. - (__inline_mathop_decl_): Use __inline_mathop_declNP__. - (__expm1l): Don't define prototype, the prototype is defined via - bits/mathcalls.h. - (exp): Likewise. - (__expl): Likewise. - (tan): Likewise. - (atan2): Likewise. - (__atan2l): Likewise. - (fmod): Likewise. - (pow): Likewise. - (fabsf): Likewise. - (fabsl): Likewise. - (__fabsl): Likewise. - (asin): Likewise. - (acos): Likewise. - (sinh): Likewise. - (cosh): Likewise. - (tanh): Likewise. - (floor): Likewise. - (ceil): Likewise. - (expm1): Likewise. - (log1p): Likewise. - (asinh): Likewise. - (acosh): Likewise. - (atanh): Likewise. - (hypot): Likewise. - (logb): Likewise. - (fma): Likewise. - (drem): Likewise. - (sqrt): Likewise. - (__sqrtl): Likewise. - (sin): Likewise. - (cos): Likewise. - (atan): Likewise. - (log): Likewise. - (log10): Likewise. - (asinh): Likewise. - (log2): Likewise. - (rint): Likewise. - -2000-03-28 Ulrich Drepper - - * Makerules: If make variable md5 is defined to yes after - generating dependencies generate MD5 sum for the object. - - * iconv/gconv_builtin.h: Fix length in transformation definition - for UNICODEBIG. - - * iconvdata/TESTS: Use UCS-2BE instead of UCS2. - - * iconv/loop.c: Define get16, get32, put16, and put32 macros to - allow as well reading from/writing to unaligned addresses on machines - which don't support this in hardware. Use FCTNAME macro to define - function name. Include the file a second time for platforms which - need special unaligned handling. - * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros - to access potentially unaligned addresses. These macros are intended - to be used only outside the loops. - (unaligned): New definition. In case the machine can handle unaligned - access define as zero. Otherwise as a variable which is initialized - as nonzero in case the buffer passed in at runtime is unaligned with - respect to the character set encoding involved. - Call aligned or unaligned looop functions according to unaligned - variable. - * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead - of direct casting pointer to potentially handle unaligned memory - accesses. - * iconvdata/8bit-generic.c: Likewise. - * iconvdata/ansi_x3.110.c: Likewise. - * iconvdata/big5.c: Likewise. - * iconvdata/euc-cn.c: Likewise. - * iconvdata/euc-jp.c: Likewise. - * iconvdata/euc-kr.c: Likewise. - * iconvdata/euc-tw.c: Likewise. - * iconvdata/gbk.c: Likewise. - * iconvdata/iso-2022-cn.c: Likewise. - * iconvdata/iso-2022-jp.c: Likewise. - * iconvdata/iso-2022-kr.c: Likewise. - * iconvdata/iso646.c: Likewise. - * iconvdata/iso_6937-2.c: Likewise. - * iconvdata/iso_6937.c: Likewise. - * iconvdata/johab.c: Likewise. - * iconvdata/sjis.c: Likewise. - * iconvdata/t.61.c: Likewise. - * iconvdata/uhc.c: Likewise. - * iconvdata/unicode.c: Likewise. - * iconvdata/utf-16.c: Likewise. + * sysdeps/generic/segfault.c: Include for + _itoa_word decl. - * locale/programs/simple-hash.c: Little optimizations. Remove K&R - prototypes. + * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable. + ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs). + ($(link-rpcuserlibs)): New static pattern rule; link intermediate + versions of lib{mach,hurd}user.so without reference to libc.so, + then link libc.so against that to get deps and symbol versions, then + finally link real lib*user.so against libc.so. - * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all. - * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made - public. - * malloc/mcheck.h (mcheck_check_all): Declare. + * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW): + Support whole-file locking (only) by using the file_lock RPC. This + has very wrong semantics, but is better than nothing for the time + being. (Correct POSIX.1 locking will require new RPCs in the Hurd + protocols that will be somewhat hairy to specify.) - * stdio-common/Makefile (tests): Add tst-obprintf. +1999-03-17 Mark Kettenis -2000-03-28 Roland McGrath + * sysdeps/mach/hurd/ptsname.c: New file. - * sysdeps/generic/bits/sigthread.h: Clean up conditionals. - Declare pthread_sigmask. +1999-03-20 Andreas Schwab - * csu/version.c: Add 2000 to copyright years. - Remove Emacs local variables section. + * timezone/asia: Fix rule in Asia/Nicosia entry. -2000-03-23 Bruno Haible +1999-03-16 Andreas Jaeger - * iconv/gconv_int.h (__gconv_transform_ucs2little_internal, - __gconv_transform_internal_ucs2little): Remove declarations. - * iconv/gconv_simple.c (__gconv_transform_ucs2_internal, - __gconv_transform_internal_ucs2): Never need to bswap_16. - (__gconv_transform_ucs2reverse_internal, - __gconv_transform_internal_ucs2reverse): Always need to bswap_16. + * manual/getopt.texi (Using Getopt): Explain "::" in option + string. Reported by Yuri Niyazov . -2000-03-27 Roland McGrath +1999-03-18 Thorsten Kukuk - * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the - obsoleting version not being defined at all, in which case the - result is always true. + * sunrpc/clnt_unix.c: Fix creation of parameters for + sendmsg/recvmsg on non intel platforms. + * sunrpc/svc_unix.c: Likewise. - * Makeconfig (preprocess-versions): New canned sequence for running - cpp on shlib-versions and the like. - (soversions.i): Use it. - * Makerules (Versions.all, sysd-versions): Use it to preprocess the - Versions.def and Versions files. +1999-03-18 Philip Blundell -2000-03-27 Ulrich Drepper + * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386 + implementation. - * stdio-common/tst-obprintf.c (main): Add another check to see - obstack_printf handling all possible beginnings of the block - inside an obstack chunk. +1999-03-19 Andreas Jaeger - * locale/programs/localedef.c: Use __malloc_initialize_hook to - install mcheck handler. + * timezone/africa: Update from tzdata1999b. + * timezone/asia: Likewise. + * timezone/australasia: Likewise. + * timezone/europe: Likewise. + * timezone/northamerica: Likewise. + * timezone/southamerica: Likewise. + * timezone/zone.tab: Likewise. - * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory - handling problem. + * timezone/README: Mention tzdata1999b. -2000-03-27 Roland McGrath +1999-03-17 Ulrich Drepper - * stdio-common/tmpfile.c: Use macros. + * sysdeps/generic/segfault.c (write_strsignal): New function. + (catch_segfault): Use it instead of calling strsignal. - * include/shlib-compat.h: Conditionalize include - on [HAVE_ELF && DO_VERSIONING]. +1999-03-16 Andreas Jaeger -2000-03-27 Ulrich Drepper + * iconv/gconv.c (__gconv): Change type of last_start to unsigned + char to avoid warning. - * stdio-common/tst-obprintf.c: New file. +1999-03-15 Ulrich Drepper -2000-03-26 Ulrich Drepper + * iconv/iconv.c (iconv): Correctly cast parameters for __gconv. - * libio/genops.c (_IO_default_xsputn): Little optimization. Call - _IO_OVERFLOW directly instead through __overflow. + * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of + outbuf to unsigned char to avoid warning. - * locale/programs/localedef.c (construct_output_path): If path - contains a / compute the end of the directory name correctly. +1999-03-11 David S. Miller - * include/features.h: Undef and document __USE_XOPEN2K. + * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable + masks. + * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise. - * malloc/mcheck.c: Implement pedantic checking of all allocated blocks - whenever a function is called. Initiated by calling mcheck_pedantic - instead of mcheck. - * malloc/mcheck.h: Declare mcheck_pedantic. - * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic. - * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck - for now. +1999-03-15 Ulrich Drepper -2000-03-26 Roland McGrath + * iconv/gconv.h (gconv_fct): Change parameter from `char' to + `unsigned char'. + (gconv_step_data): Likewise. + * iconv/gconv_int.h (__gconv): Likewise. + (__BUILINT_TRANS): Likewise. + * iconv/gconv.c (__gconv): Likewise. + * iconv/iconv.c (iconv): Add casts for call of __gconv. + * iconv/skeleton.c: Change local parameters and variable from `char' to + `unsigned char'. Remove casts from calls into modules. + * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from + `char' to `unsigned char'. + * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'. + * wcsmbs/mbrtowc.c: Likewise. + * wcsmbs/mbsnrtowcs.c: Likewise. + * wcsmbs/mbsrtowcs.c: Likewise. + * wcsmbs/wcrtomb.c: Likewise. + * wcsmbs/wcsnrtombs.c: Likewise. + * wcsmbs/wcsrtombs.c: Likewise. + * wcsmbs/wctob.c: Likewise. - * dlfcn/dlopen.c: Use macros. - * dlfcn/dlopenold.c: Likewise. - * nss/getXXbyYY_r.c: Likewise. - * nss/getXXent_r.c: Likewise. - * hurd/hurdinit.c: Likewise. - * hurd/compat-20.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/oldiofclose.c: Likewise. - * libio/oldiofdopen.c: Likewise. - * libio/oldfileops.c: Likewise. - * libio/oldstdfiles.c: Likewise. - * libio/oldiofsetpos.c: Likewise. - * libio/oldiofgetpos.c: Likewise. - * libio/oldiofgetpos64.c: Likewise. - * libio/oldiofsetpos64.c: Likewise. - * libio/oldiopopen.c: Likewise. - * libio/oldpclose.c: Likewise. - * libio/oldtmpfile.c: Likewise. - * libio/freopen.c (freopen): Likewise. - * libio/iofclose.c (_IO_new_fclose): Likewise. +1999-03-15 Mark Kettenis - * sysdeps/mach/sys/reboot.h: Include . - (reboot): Declare it. + * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add + __hurd_sigthread_stack_base, __hurd_sigthread_stack_end, + __hurd_sigthread_variables, __hurd_threadvar_stack_mask, + __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd, + __getpid, __libc_read, __libc_write, __lseek, __mmap, __open, + __xstat, _exit, _hurd_intr_rpc_mach_msg and abort. - * libio/Makefile (headers): Add bits/stdio-lock.h here. +1999-03-15 Mark Kettenis - * sysdeps/mach/hurd/bits/stdio-lock.h: New file. + * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to + _hurd_select if TIMEMOUT is -1. - * include/shlib-compat.h: Include unconditionally. +1999-03-15 Mark Kettenis - * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC || - __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98]. - We need this for the sbrk decl, which can be included without Unix98. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL. -2000-03-20 Richard Henderson +1999-03-15 Ulrich Drepper - * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last - argument to yperr2nss is an int, not size_t. - * posix/regex.c (print_partial_compiled_pattern): Cast all - ptrdiff_t to long for printing. - (print_compiled_pattern): Use Z for printing size_t. - * posix/testfnm.c (tests): Avoid trigraphs. - * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): - Use a C comment, not an assembly comment. + * elf/dl-load.c: Compute rtld_search_dir array size correctly. + Reported by Yasushi Saito . - * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use - of __ASSUME_32BITUIDS. +1999-03-15 Andreas Schwab -2000-03-26 Ulrich Drepper + * manual/libc.texinfo: Undo last change for now. - * libio/iofopncook.c: Remove K&R prototypes. +1999-03-15 Ulrich Drepper -2000-03-26 Roland McGrath + * intl/locale.alias: Add entries for Croatian. + Patch by Tomislav Vujec . - * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit - an initial value of 1024 instead of RLIM_INFINITY. +1999-03-13 Mark Kettenis - * Versions.def (libmachuser, libhurduser): Remove these sections, - since these libraries do not presently use symbol versions. + * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check + if the opened master pty really is a pty. `isatty' checks for + tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE + if we are out of pty's. - * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit - is RLIM_INFINITY, return -1 instead. +1999-03-13 Mark Kettenis -2000-03-24 Andreas Jaeger + * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just + opened file is closed on exec. + * login/utmp_daemon.c (setutent_daemon): Likewise for the just + opened socket. - * Makefile (postclean): Added soversions.i. +1999-03-13 Andreas Jaeger -2000-03-24 Scott Bambrough + * manual/llio.texi (File Position Primitive): Reformat @end + command. Patch by Bruno Haible [PR libc/1020]. - * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM, - _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, - and _FPU_IEEE. Change _FPU_RESERVED. +1999-03-14 Ulrich Drepper -2000-03-24 Scott Bambrough + * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no + entry is found. + * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. + * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. - * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file. + * locale/programs/localedef.c (main): Initialize `cat' to please + the compiler. -2000-03-24 Roland McGrath +1999-03-14 Roland McGrath - * sysdeps/posix/getaddrinfo.c: Include for if_nametoindex. - (gaih_inet): Remove unused duplicate variable. + * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW, + check for root-owned symlinks and reject them too. - * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN. - Don't use __libc_sa_len, which only exists for Linux. Just handle - AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the - only flavors supported by this function anyway. +1999-03-09 Andreas Schwab -2000-03-24 Geoff Clare + * stdio-common/printf_fphex.c: Move to ... + * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of + extended precision number. + * sysdeps/m68k/printf_fphex.c: New file. - * stdlib/strfmon.c: Corrected problems with missing signs and - missing or extra spaces; allow for sign strings longer than - one character; add padding to ensure positive and negative - formats are aligned when a left precision is used. +1999-03-09 Andreas Schwab -2000-03-26 Ulrich Drepper + * manual/stdio.texi: Fix typos. - * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4. - Patch by John Mizel . +1999-03-09 Ulrich Drepper -2000-03-25 Ulrich Drepper + * version.h (VERSION): Bump to 2.1.1. - * manual/install.texi: Remove references to crypt add-on. +1999-03-09 Thorsten Kukuk -2000-03-25 Roland McGrath + * nis/ypclnt.c: Try only twice to connect to NIS server. - * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical - section while taking the _hurd_rlimit_lock. - * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise. +1999-03-09 Roland McGrath -2000-03-24 Roland McGrath + * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change. - * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define - using $(LN_S). +1999-03-09 Andreas Schwab - * sysdeps/mach/hurd/if_index.c: New file. + * stdlib/strtod.c (round_and_return): Fix rounding of denormals. + (DENORM_EXP): New define. Use it as the exponent for a denormal. + * stdlib/strtold.c: Moved to ... + * sysdeps/generic/strtold.c: ... here. + * sysdeps/m68k/strtold.c: New file. - * sysdeps/unix/sysv/linux/net/if.h: Moved to ... - * sysdeps/gnu/net/if.h: here. - (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ... - * sysdeps/mach/hurd/net/if.h: ... here; this file now removed. - * sysdeps/generic/net/if.h: New file. Declares just the standard - functions and `struct if_nameindex' type. - * socket/Makefile (headers): Add net/if.h here. - * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here. - * sysdeps/mach/hurd/Dist: Remove it here. - * sysdeps/unix/sysv/linux/Dist: And here. - * sysdeps/generic/if_index.c: Include . +1999-03-09 Andreas Schwab -2000-03-24 Andreas Jaeger + * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal + point if the precision is zero, even if the mantissa is non-zero. - * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to - access relocated entries in l_info. - (elf_machine_got_rel): Likewise. - (elf_machine_runtime_setup): Likewise. - * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise. - (elf_machine_runtime_setup): Likewise. - (__dl_runtime_resolve): Likewise. +1999-03-09 Roland McGrath -2000-03-23 Ulrich Drepper + * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the + arguments into the request message buffer inside `send_rpc' + subfunction. We must repeat the marshalling when retrying the RPC + after a SIGTTOU delivery. - * resolv/netdb.h (SCOPE_DELIMITER): New definitions. - * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id - according to RFC 2553. - * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft. - * inet/getnameinfo.c: Likewise. - Patches by YOSHIFUJI Hideaki . + * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code + path when there is no ctty port. + * hurd/ctty-output.c (_hurd_ctty_output): Likewise. + Move sigstate check inside loop so we recheck after handling a signal. -2000-03-23 Bruno Haible +1999-03-05 Andreas Jaeger - * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop): - Remove no-op pointer increment. + * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and + O_EXLOCK are BSD extensions. + Reported by Jochen Voss [PR libc/985]. -2000-03-23 Andreas Jaeger +1999-03-08 Ulrich Drepper - * stdio-common/tst-cookie.c (cookieseek): Change prototype to - follow change for libio.h from 2000-03-10. + * manual/signal.texi (Termination in Handler): Correct example. + Install default handler before reraising the signal. + Patch by Jochen Voss . -2000-03-23 Andreas Jaeger +1999-03-08 Roland McGrath - * elf/dl-addr.c: Adjust include paths for ldsodefs location - change. - * elf/dl-debug.c: Likewise. - * elf/dl-deps.c: Likewise. - * elf/dl-error.c: Likewise. - * elf/dl-fini.c: Likewise. - * elf/dl-init.c: Likewise. - * elf/dl-load.c: Likewise. - * elf/dl-lookup.c: Likewise. - * elf/dl-minimal.c: Likewise. - * elf/dl-object.c: Likewise. - * elf/dl-open.c: Likewise. - * elf/dl-preinit.c: Likewise. - * elf/dl-profile.c: Likewise. - * elf/dl-profstub.c: Likewise. - * elf/dl-reloc.c: Likewise. - * elf/dl-runtime.c: Likewise. - * elf/dl-support.c: Likewise. - * elf/dl-symbol.c: Likewise. - * elf/dl-version.c: Likewise. - * elf/rtld.c: Likewise. - * elf/sprof.c: Likewise. - * sysdeps/generic/dl-cache.c: Likewise. - * sysdeps/generic/dl-origin.c: Likewise. - * sysdeps/generic/dl-sysdep.c: Likewise. - * sysdeps/generic/elf/backtracesyms.c: Likewise. - * sysdeps/generic/elf/backtracesymsfd.c: Likewise. - * sysdeps/generic/libc-start.c: Likewise. - * sysdeps/mach/hurd/dl-sysdep.c: Likewise. - * sysdeps/powerpc/dl-machine.c: Likewise. - * sysdeps/powerpc/elf/libc-start.c: Likewise. - * sysdeps/sparc/sparc32/dl-machine.h: Likewise. - * sysdeps/sparc/sparc64/dl-machine.h: Likewise. - * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. + * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being + null, in which case send an empty string. - * elf/ldsodefs.h: Move file to ... - * sysdeps/generic/ldsodefs.h: ... here. +1999-03-02 Mark Kettenis - * sysdeps/generic/ldsodefs.h: Add definition for D_PTR. + * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the + backward compatibility EH functions to be linked when using + gcc-2.8.1. Patch by Zack Weinberg . - * sysdeps/mips/elf/ldsodefs.h: New file. +1999-03-08 Andreas Schwab - * elf/dl-version.c (match_symbol): Use D_PTR to access relocated - entries in l_info. - (_dl_check_map_versions): Likewise. - * elf/dl-reloc.c (_dl_relocate_object): Likewise. - * elf/dl-load.c (_dl_init_paths): Likewise. - (_dl_map_object): Likewise. - * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise. - (elf_get_dynamic_info): Likewise. - * elf/do-lookup.h (FCT): Likewise. - * elf/do-rel.h (elf_dynamic_do_rel): Likewise. - * elf/dl-deps.c (_dl_map_object_deps): Likewise. - * elf/dl-addr.c (_dl_addr): Likewise. - * elf/dl-runtime.c (profile_fixup): Likewise. - (fixup): Likewise. - * elf/dl-init.c (_dl_init_next): Likewise. - * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise. - * sysdeps/unix/sysv/linux/i386/dl-librecon.h - (DISTINGUISH_LIB_VERSIONS): Likewise. - * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise. - (elf_machine_rel): Likewise. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change. + /dev/pts status may change during runtime. - * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info - for writable dynamic section. +1999-03-08 Andreas Schwab -2000-03-22 Ulrich Drepper + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last + change. /dev/pts status can change during runtime. - * inet/getnameinfo.c (getnameinfo): Check that addrlen value is - large enough. Patch by YOSHIFUJI Hideaki . +1999-03-07 Thorsten Kukuk -2000-03-22 Andreas Jaeger + * sunrpc/svc_tcp.c (readtcp): go into fatal error state if + poll reports error. + * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls, + add some more sanity checks. + * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for + parser prototype. - * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. +1999-03-05 Thorsten Kukuk -2000-03-21 Andreas Jaeger + * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops, + change XDR_GETINT32/XDR_PUTINT32 to sue new functions. + * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32. + * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32. + * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function + for x_getint32. + * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32. + * nis/nis_print.c: Fix ctime argument for platforms where + sizeof (time_t) != sizeof (int). - * Versions.def: Add version 2.1.4. +1999-03-07 Mark Kettenis -2000-03-21 Ulrich Drepper + * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use + CLOCKS_PER_SEC instead of CLK_TCK. - * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition. - * libio/oldiofopen.c: Likewise. - * libio/oldiofclose.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. +1999-03-05 Ulrich Drepper -2000-03-22 Roland McGrath + * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember + whether /dev/pts is available. + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of + dev_pts_available. - * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument, - indicating the first version set to obsolete the conditionalized code. - (compat_symbol): New macro. - * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's - rhs be the ABI_* macro for the subsuming version. Assign increasing - integer values to the ABI_* macros for supported versions. - * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use - compat_symbol macro. + * posix/globtest.sh: Make common_objpfx path absolute and and db2 + and hesiod directory to library path [PR libc/1007]. -2000-03-21 Ulrich Drepper +1999-03-05 Andreas Jaeger - * nscd/connections.c (nscd_run): Pretty print. - * elf/dl-runtime.c: Include stdlib.h for alloca prototype. + * resolv/inet_addr.c (inet_aton): Don't allow componets > + 255. Patch by Bruno Haible [PR libc/1010]. - * manual/charset.texi: Fix typos. Rephrase. - * manual/process.texi: Likewise. - * manual/signal.texi: Likewise. - Patches by Mike Coleman . +1999-03-05 Geoff Keating - * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define - versions. - * libio/iofdopen.c: Likewise. - * libio/iofgetpos.c: Likewise. - * libio/iofgetpos64.c: Likewise. - * libio/iofopen.c: Likewise. - * libio/iofsetpos.c: Likewise. - * libio/iofsetpos64.c: Likewise. - * libio/iopopen.c: Likewise. - * libio/oldiofopen.c: Likewise. - * libio/pclose.c: Likewise. - * sysdeps/gnu/siglist.c: Likewise. - * sysdeps/unix/sysv/linux/errlist.c: Likewise. + * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): + DT_PLTGOT has already been relocated. + (__elf_machine_fixup_plt): Likewise. + Minor cleanups. - * include/shlib-compat.h (versioned_symbol): Give preprocessor the - chance to expand VERSION_##lib##_##version. +1999-03-04 Roland McGrath - * libio/fileops.c: Use new macros from shlib-compat.h to define - versions. - * libio/iofclose.c: Likewise. - * libio/oldiofclose.c: Likewise. - Patch by Roland McGrath . - -2000-03-21 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace. - Lay out struct sigcontext according to what really gets passed on - the stack. - * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h. - (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define. - (prgregset_t, prfpregset_t): Define to elf_* types. - * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA): - Define to correct value. - * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct - sigcontext. - * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise. + * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix. -2000-03-21 Roland McGrath +1999-03-03 Ulrich Drepper - * scripts/firstversions.awk: Allow multiple version sets in the - "earliest version" specification, meaning that version sets in the - gaps between listed versions should be folded into the earliest later - version that is explicitly listed. - * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say - we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets. + * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes + and fold string to uppercase [PR libc/1005]. -2000-03-21 Ulrich Drepper +1999-03-03 Andreas Schwab - * iconv/gconv_builtin.c: Include . - * iconv/gconv_builtin.h: Add UCS-BE aliases. - Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE - according to current platform. - * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal, - __gconv_transform_internal_ucs2reverse, and - __gconv_transform_internal_ucs4le. - * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le, - __gconv_transform_ucs2reverse_internal and - __gconv_transform_internal_ucs2reverse. - * iconvdata/Makefile (modules): Add UNICODE. - (distribute): Add unicode.c. - * iconvdata/gconv-modules: Add definitions for UNICODE module. - * iconvdata/unicode.c: New file. + * elf/dl-load.c (lose): Fix return type. - * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to - determine byte order of input and convert accordingly. +1999-03-03 Roland McGrath - * iconvdata/utf-16.c (gconv_init): Fix typo. + * sysdeps/mach/hurd/bits/fcntl.h + [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. + * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, + set O_NOTRANS as well. + (__hurd_file_name_lookup_retry): At successful end of lookup, + if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if + it is a translated node not owned by root. + (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash + on the file name passed to LOOKUP. -2000-03-20 Ulrich Drepper +1999-03-02 Ulrich Drepper - * iconvdata/gconv-modules: Fix typo. + * manual/time.texi (High Resolution Timer): Correct computation in + example. Reported by jjf@devel.cemsys.com. - * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one - more messages. +1999-03-02 Philip Blundell - * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3. + * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT + entry is already relocated. -2000-03-16 Thorsten Kukuk +1999-03-01 Andreas Jaeger - * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New. + * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported + by Marcus Harnisch . -2000-03-20 Ulrich Drepper +1999-03-01 Andreas Jaeger - * misc/Makefile (routines): Add mincore. + * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to + uc_link which is the right name according to Unix98. + Reported by Craig Metz [PR libc/1001]. + * sysdeps/arm/sys/ucontext.h (ucontext): Likewise. + * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise. + * sysdeps/mips/sys/ucontext.h (ucontext): Likewise. + * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise. + * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise. + * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise. -2000-03-20 Andreas Jaeger +1999-02-25 Andreas Schwab - * sysdeps/generic/mincore.c: New stub file. + * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of + @ifinfo. - * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. +1999-02-25 Andreas Schwab -2000-03-20 Ulrich Drepper + * iconvdata/Makefile: Always include iconv-rules, but disable rule + to regenerate it if avoid-generated. - * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of - _SC_GETPW_R_SIZE_MAX. + * Makeconfig: Always include sys-dirs, but disable rule to + regenerate it when avoid-generated. -2000-03-20 Richard Henderson + * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around + rule to generate sysd-syscalls. - * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase - in GLIBC_2.1.4. + * elf/Makefile (generated): Remove $(objpfx) from names. -2000-03-20 Richard Henderson +1999-02-28 Mark Kettenis - * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead - of arithmetic instructions. + * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the + actual length if the adress length is smaller than the input + value. Change type of *LEN paramater to socklen_t. + * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. + * sysdeps/mach/hurd/accept.c (accept): Likewise. + * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. + * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN + paramater to socklen_t. - * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing - with the fpcr. Protect from INV exception. - * sysdeps/alpha/fpu/s_ceilf.c: Likewise. - * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception. - * sysdeps/alpha/fpu/s_floorf.c: Likewise. +1999-02-28 Roland McGrath - * sysdeps/alpha/fpu/s_copysign.c: New. - * sysdeps/alpha/fpu/s_copysignf.c: New. - * sysdeps/alpha/fpu/s_fabs.c: New. - * sysdeps/alpha/fpu/s_fabsf.c: New. - * sysdeps/alpha/fpu/s_rint.c: New. - * sysdeps/alpha/fpu/s_rintf.c: New. + * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request" + msg_sig_post RPC (with SIGNO=0), rather than generating signal (again) + with the RPC. - * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants. +1999-02-27 Roland McGrath - * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): - Kill sethae. - * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase. - * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants): - Use physical addresses not KSEG addresses. - (io_system): Add PYXIS. - (io): Remove hae.reg, sys, hae_shift. - (stb_mb, stw_mb, stl_mb, __sethae): New. - (inline_outb, inline_outw, inline_outl): Don't set hae. - (inline_inb, inline_inw, inline_inl): Likewise. - (dense_sethae): New null function. - (struct cpuinfo_data): New. - (process_cpuinfo): Use local and stack variables, not static. - Move readlink check here from init_iosys. - (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS. - (_iopl): Simplify. - (_hae_shift): Calculate it here. - * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae, - add pciconfig_iobase. + * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, + __get_phys_pages): Cast &HBI to silence warning. -2000-03-20 Roland McGrath + * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. + * hurd/hurdchdir.c: New file. + * hurd/hurdfchdir.c: New file. + * sysdeps/mach/hurd/chroot.c: Call + _hurd_change_directory_port_from_name to do the work. + * sysdeps/mach/hurd/chdir.c: Likewise. + * sysdeps/mach/hurd/fchdir.c: Call + _hurd_change_directory_port_from_fd to do the work. + * hurd/fchroot.c: Likewise. + * hurd/hurd.h: Declare them. - * locale/programs/ld-time.c (time_finish): Use %Z instead of %z. - * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise. +1999-02-27 Ulrich Drepper - * scripts/versions.awk: Fixed version renaming code to distinguish - libraries properly. + * elf/dl-load.c (lose): Add more comments to explain the `why'. + (_dl_map_object): Remove redundant test. -2000-03-19 Ulrich Drepper +1999-02-27 Roland McGrath - * include/stdlib.h: Add prototype for __cxa_atexit. + * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't + try to _hurd_port_free a lower-numbered descriptor that was not in any + fd_set. - * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about - _SLOWDOWN flags. Patch by Jim Blandy . +1999-02-26 Andreas Jaeger -2000-03-17 Cristian Gafton + * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype + declaration for ____wcstod_l_internal. - * elf/Makefile ($(rtld-version-installed-name)): Delay replacing - existing rtld-installed-name. - ($(rtld-installed-name)): Request libc-$(version) be installed too. - replace existing rtld-installed-name using $(symbolic-link-prog). + * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include for + __strtod_internal prototype. + * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH] + (____strtold_l_internal): Add prototype declaration. + (__strtold_l): Call correct function. -2000-03-17 Roland McGrath +1999-02-24 Ulrich Drepper - * locale/programs/ld-collate.c (collate_read): Remove bogus cast. - (insert_value, handle_ellipsis, collate_read): Replace %zu in format - strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter - but not the former. + * elf/elf.h: Add 32bit HPPA definitions. -2000-03-19 Ulrich Drepper +1999-02-23 Andreas Schwab - * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for - glob64. Since there is no glob64 in the LFS proposal applications - can assume that glob handles LFS situations. glob64 is only needed - if alternative filesystem functions are used. + * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a + non-checked heap is restored when malloc checking was requested by + the user. + (struct malloc_state): Add using_malloc_checking. + (MALLOC_STATE_VERSION): Increment minor. + (using_malloc_checking, disallow_malloc_check): New variables. + (__malloc_check_init): Use them. + (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so + that it can the chunk is properly instrumented when malloc + checking is enabled. Set the new using_malloc_checking field. + (malloc_hook_ini): Correct signature when _LIBC is not defined. -2000-03-19 Geoff Clare +1999-02-23 Andreas Schwab - * sysdeps/generic/glob.c: Correct gl_pathc value returned - when GLOB_DOOFFS is set; correct handling of patterns - containing escaped wildcards (and no unescaped ones); - GLOB_ERR flag was being ignored in some situations. + * sysdeps/unix/sysv/linux/i386/dl-librecon.h + (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second + time. - * posix/globtest.c, posix/globtest.sh: Updated to include - tests for the problems fixed by the above changes to glob.c. + * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main. + Don't call elf_get_dynamic_info and _dl_setup_hash a second time + if ld.so is the main program. - * manual/pattern.texi (Calling Glob): Update description of gl_pathc. +1999-02-23 Ulrich Drepper -2000-03-19 Roland McGrath + * stdio-common/vfprintf.c (vfprintf): If precision or width is too + large for work_buffer, allocate new buffer. + (printf_unknown): Likewise. [PR libc/988] - * Makeconfig (soversion.i): Use only first match for each lib. +1999-02-22 Ulrich Drepper - * Makeconfig (soversion.i): Pass -undef to $(CC) -E. + * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat + instead of stat and fstat. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. - * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done) - rather than $(sysd-dirs-done) to protect these rules. +1999-02-23 Andreas Schwab - * Makerules (version-renames.def): Target removed. - (Versions.all): Depend on soversions.i directly and parse it. + * elf/dl-error.c (_dl_signal_cerror): New function. + (_dl_signal_error): Don't call receiver function. + * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror + instead of _dl_signal_error when reporting references to undefined + symbols or versions. + (_dl_lookup_versioned_symbol): Likewise. + (_dl_lookup_versioned_symbol_skip): Likewise. + * elf/dl-version.c (match_symbol): Likewise. - * Makeconfig (soversions.i): New target, input-reading parts of - soversions.mk generation moved here; result is a canonicalized - list "LIB VERSION [SET]" for this configuration. - (soversions.mk): Use that as input. Don't emit map-firstversions. - * Makerules (version-renames.def): New target, generated from - soversions.i with contents that was in $(map-firstversions). - (Versions.all): Don't depend on soversions.mk, depend on - version-renames.def instead; just cat it into the input. + * elf/ldsodefs.h: Declare _dl_signal_cerror. - * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop - for $(map-firstversions), which better handles it being empty. +1999-02-22 Ulrich Drepper - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest - supported version for libc 0.2.90.libio to GLIBC_2.2. + * misc/getttyent.c (getttyent): Release lock on stream later to + also protect global variable zapchar. - * Makeconfig (soversions.mk): Grok new third column in shlib-versions, - and use it to emit new variable `map-firstversions'. - * scripts/firstversions.awk: New file. - * Makerules (Versions.all): Use scripts/firstversions.awk and - the $(map-firstversions) value to generate a modified versions list - that includes renames in "A = B" syntax for each version set earlier - than the "earliest symbol version" named in shlib-versions. - * scripts/versions.awk: Recognize "A = B" lines in the input to mean - rename version set A to B in the output to the intermediate file. - * scripts/abi-versions.awk: New file. - * Makerules (abi-versions.h): New target, generated by that script. - [$(versioning) = yes] (before-compile): Prepend abi-versions.h. - * include/shlib-compat.h: New file, uses that generated header. + * sysdeps/unix/sysv/linux/clock.c: Don't test return value of + __times [PR libc/990]. -2000-03-18 Roland McGrath +1999-02-21 David S. Miller - * Makeconfig (soversions.mk): Convert % -> # in shlib-versions - after stripping # comments, and then run it through cpp. - This allows things like "%ifdef FOO" based on config.h settings. - * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix + parentheses in Feb 2 changes. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise. - * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED - and other errors that indicate a pseudo-receive happened, grok through - the message buffer for port rights that need references fixed up. +1999-02-21 Andreas Jaeger -2000-03-16 Andreas Jaeger + * sysdeps/generic/glob.c (glob): Save previous errno. - * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore. +1999-02-21 Ulrich Drepper - * sysdeps/unix/sysv/linux/madvise.c: Remove. + * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant + lookup functions if it is too small. - * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags - from latest Linux kernel. - * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise. +1999-02-20 Ulrich Drepper - * misc/sys/mman.h: Add prototype for mincore. + * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created + for tracing to the scope lists. + * elf/do-lookup.h: Remove test for l_opencount == 0 after above change. + DT_SYMTAB is always available according to ELF spec. -2000-03-17 Ulrich Drepper + * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup + call test whether there is any scope left. + (_dl_lookup_versioned_symbol_skip): Likewise. - * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit - entry for GLIBC_2.0 version of setrlimit. - Patch by Shinya Hanataka . + * elf/Makefile (distribute): Add do-lookup.h. + * elf/do-lookup.h: New file. Split out from dl-lookup.c. + * elf/dl-lookup.c: Move do_lookup function in separate file and + include the file twice, for handling versioning and without it. -2000-03-16 Thorsten Kukuk + * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT + entry is already relocated. + * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): + Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): + Likewise. + * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup): + Likewise. - * nis/nss_nis/nis-ethers.c: Return with error if malloc fails. - * nis/nss_compat/compat-initgroups.c: Likewise. - * nis/nss_nis/nis-initgroups.c: Likewise. - * nis/nss_nis/nis-netgrp.c: Likewise. - * nis/nss_nis/nis-proto.c: Likewise. - * nis/nss_nis/nis-rpc.c: Likewise. - * nis/nss_nis/nis-service.c: Likewise. - * nis/ypclnt.c: Likewise. + * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with + load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL, + DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry. + (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether + rel and rela relocations can both happen and skip one test if this + is not possible. + (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC + appropriately. + * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are + already relocated. + * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already + relocated. + * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated. + (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument. + (_dl_map_object): DT_STRTAB entry is already relocated. + * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are + already relocated. + * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already + relocated. + * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and + DT_VERSYM entries are already relocated. + (profile_fixup): Likewise. + * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace + all users. + (match_symbol): DT_STRTAB entry is already relocated. + (_dl_check_map_versions): Likewise. Also fo DT_VERSYM. + * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be + relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated. + * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info. + (find_needed): DT_STRTAB entry is already relocated. + (dl_main): Pass extra argument to elf_get_dynamic_info. + DT_STRTAB entry is already relocated. + * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and + DT_PLTGOT entries are already relocated. + (elf_machine_rela): Likewise for DT_SYMTAB. + * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already + relocated. + * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. + * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise. + * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise. + * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise. + (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB. + * sysdeps/mips/mips64/dl-machine.h: Likewise. -2000-03-16 Andreas Jaeger + * grp/initgroups.c (initgroups): If function in current module was + successful don't stop but continue to process to get all the groups. - * manual/Makefile: MAKEINFO is set to `:' from configure if it - doesn't exist, correct checks. Fixes PR libc/1649. + * elf/dl-load.c (_dl_map_object_from_fd): Use global + _dl_pf_to_proot array to convert p_flags value. + * elf/dl-reloc.c (_dl_relocate_object): Likewise. -2000-03-16 Thorsten Kukuk + * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of + loop to clear `info'. - * nscd/hstcache.c: Restore correct UID. - * nscd/pwdcache.c: Likewise. - Patch from Gabor Gombas . + * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc + do the work and don't use inline assembler. -2000-03-17 Roland McGrath +1999-02-19 Ulrich Drepper - * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and - macros for register names, in line with 2000-03-14 linux change. + * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__. + * elf/dl-load.c (lose): Make it a function at the toplevel, mark as + noreturn, and prevent it from being inlined. + Define LOSE appropriately. + (_dl_map_object_from_fd): Compare all bytes in e_ident at once. + Optimize decoding of p_flags for certain platforms. - * sysdeps/mach/sched_yield.c: New file. +1999-02-19 Philip Blundell -2000-03-13 Roland McGrath + * Makeconfig (link-libc): When doing a static link, make sure that + libgcc.a is included both before and after libc.a. - * sysdeps/generic/lockfile.c: Include - (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in - case defined them. - (__flockfile, __funlockfile, __ftrylockfile): Functions renamed - from __internal_*. - (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile, - ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly. +1999-02-18 Thorsten Kukuk - * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ... - for more pleasing parse error. + * nis/nss_compat/compat-spwd.c: Fix handling of default values for + sp_warn, sp_inact, sp_expire and sp_flag. -2000-03-16 Ulrich Drepper +1999-02-18 Ulrich Drepper - * locale/lc-time.c (_nl_init_era_entries): Correct allocation of - memory for eras. - Patch by Shinya Hanataka . + * elf/link.h (link_map): Add l_dev and l_ino. + * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly + loaded shared object with all loaded objects. Initialize l_ino + and l_dev in case it's new. + * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main + object. + * elf/Makefile: Compile and run new test. + * elf/multiload.c: New file. - * elf/Makefile: Add rules to compile and run constload1 test. - * elf/constload1.c: New file. - * elf/constload2.c: New file. - * elf/constload3.c: New file. + * nss/nsswitch.h (service_user): Change name field from const char * + to char[0]. + (name_database_entry): Likewise. + * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation + for change of `service_user'. + (nss_getline): Adjust memory allocation for change of + `name_database_entry'. -2000-03-15 Ulrich Drepper + * catgets/catgets.c: Correctly handle NLSPATH from environment + [PR libc/980]. - * sysdeps/posix/open64.c: Make __open64 weak alias. - * sysdeps/posix/pread64.c: Make __pread64 weak alias. - * sysdeps/unix/sysv/linux/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. - * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias. - * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. - * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. + * io/Makefile (routines): Add lock64. + * io/Versions: Add lockf64 for GLIBC_2.1.1. + * sysdeps/generic/lockf64.c: New file. -2000-03-14 Ulrich Drepper +1999-02-16 Ulrich Drepper - * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for - Nautilus. Patch by Soohoon Lee . + * string/bits/string2.h: Only use strncmp optimization if count + argument is constant. -2000-03-16 Mark Kettenis +1999-02-16 Roland McGrath - * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): - Typedef for elf_fpregset_t instead of `elf_fpregset_t *'. + * sysdeps/mach/hurd/revoke.c: New file. -2000-03-08 Andreas Jaeger +1999-02-16 Ulrich Drepper - * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50. + * wctype/wctype.h (_ISwbit): Cast result of shift operations to + int to avoid warning about `ISO C restricts enumerator values to + range of `int''. -2000-03-14 Ulrich Drepper +1999-02-16 Andreas Jaeger - * timezone/africa: Update from tzdata2000d. - * timezone/asia: Likewise. - * timezone/australasia: Likewise. - * timezone/europe: Likewise. - * timezone/northamerica: Likewise. - * timezone/southamerica: Likewise. + * elf/dlfcn.h: Fix typo. + * sysdeps/generic/bits/dlfcn.h: Likewise. + * sysdeps/mips/bits/dlfcn.h: Likewise. - * po/fr.po: Update from translation team. - * po/de.po: Likewise. +1999-02-16 Ulrich Drepper - * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove - last parameter. Move code to add map to global scope from here... - * elf/dl-open.c (dl_open_worker): ...here. - * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps. - * elf/rtld.c: Adjust call to _dl_map_object_deps. + * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags + for the case N == 0. - * locale/programs/ld-collate.c (collate_read): Fix warning. + * db2/Makefile (distribute): Add LICENSE. - * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum - values and macros for register names. +1999-02-03 Jeff Bailey - * libio/iofopncook.c (_IO_cookie_seek): Return error only if value - returned by seek cookie function is -1. + * sysdeps/unix/make_errlist.c: Add i18n and copyright to + generated files. -2000-03-14 Andreas Jaeger + * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo. - * locale/localeconv.c (localeconv): Fix typo. - Reported by Andre Charbonneau . +1999-02-16 Ulrich Drepper -2000-03-14 Ulrich Drepper + * time/mktime.c: Use ISO C form for function definitions and + remove unnecessary prototypes. - * iconv/skeleton.c: Increment __invocation_counter in inner loop - since modules depend on it counting the number of times the conversion - function got called. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change. - * iconv/gconv_open.c: Optimize loop to setup step data structure. + * time/time.h: Avoid unneccesary #ifdef. - * iconv/gconv.h: Pretty print. +1999-02-15 Geoff Keating -2000-03-04 Ulrich Drepper + * stdio-common/_itoa.c (_itoa): Correct parameters to + udiv_qrnnd_preinv. - * posix/wordexp-test.c: Correct one of the tests added in the last - change. Really get the root passwd entry to check again ~root. +1999-02-14 Andreas Jaeger -2000-03-10 Andreas Jaeger + * misc/sys/cdefs.h: Undefine __PMT since it might be defined + before (e.g. in glob.h). + Closes PR libc/959. - * manual/filesys.texi (Working Directory): Fix last patch. - Patch by Martin Buchholz . +1999-02-16 Andreas Jaeger -2000-03-10 Andreas Jaeger + * sysdeps/mips/fpu_control.h: Fix typo. + Patch by Sylvain Pion . + Remove __setfpucw. - * manual/creature.texi (Feature Test Macros): Fix language. +1999-02-10 Roland McGrath -2000-03-10 Roland McGrath + * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on + the "unused" ends of the sockets. Let pipes be bidirectional. - * mach/devstream.c (devstream_write, devstream_read): New functions. - (input, output): Functions removed. - (mach_open_devstream): Use devstream_{read,write} as cookie functions, - using only the vanilla fopencookie interface. +1999-02-15 Ulrich Drepper - * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define - as macro for __io_functions. - (funcsio): Use cookie_io_functions_t type name. - (fopenport): Renamed from __fopenport. Rewrite to call fopencookie. + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for + invalid ai_flags. - * libio/iofopncook.c (_IO_cookie_init): New function, broken out of - fopencookie. - (fopencookie): Use it. - * libio/libio.h: Declare _IO_cookie_init. - * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using - _IO_cookie_init. +1999-02-15 Andreas Jaeger - * libio/libio.h (__io_seek_fn): Fix second argument type - to be a pointer, in line with the manual and the old stdio. - * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller. + * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by + Jochen Voss [PR libc/969]. - * sysdeps/generic/bits/stdio-lock.h: New file. - This is a stub with #error, but that's better than no file at all. + * manual/setjmp.texi (Non-Local Exits and Signals): Fix + typo. Patch by Jochen Voss [PR libc/970]. -2000-03-09 Martin Buchholz +1999-02-15 Ulrich Drepper - * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes. - * manual/message.texi (Using gettextized software): Doc Fixes. - * manual/message.texi (Message Translation): Doc Fixes. - * manual/filesys.texi (File Size): Doc Fixes. - * manual/charset.texi (glibc iconv Implementation): Doc Fixes. - * locale/programs/ld-collate.c (collate_output): Doc Fixes. - * iconv/gconv_db.c (find_derivation): Doc Fixes. - * manual/install.texi: Doc Fixes. - * manual/search.texi (Hash Search Function): Doc Fixes. - * manual/stdio.texi (Output Conversion Syntax): Doc Fixes. - * FAQ.in: Doc Fixes. - * config.h.in: Doc Fixes. - * sysdeps/generic/dl-sysdep.c: Doc Fixes. - Doc Fixes. `allows to' is not correct English. + * string/Versions: Add __strverscmp to GLIBC_2.1.1. - * elf/rtld.c: Doc fixes. - * manual/creature.texi (Feature Test Macros): Doc fixes. - * manual/memory.texi (Hooks for Malloc): Doc Fixes. +1999-02-13 Andreas Schwab - * manual/filesys.texi (Working Directory): Check for ERANGE to - avoid infloop. + * misc/syslog.c (vsyslog): Remember errno for %m format. Fix + check for priority mask. -2000-02-23 Roland McGrath +1999-02-14 Ulrich Drepper - * string/argz-stringify.c (__argz_stringify): Fix loop termination - conditions so as not to clobber the final '\0' when there is only one - element in the vector. + * resolv/netdb.h (AI_NUMERICHOST): Change to 4. + Reported by Craig Metz . -2000-03-09 Roland McGrath +1999-02-14 Andreas Jaeger - * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test, - broken by 2000-02-27 change. + * stdio-common/Makefile (tests): tllformat added. - * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros. + * stdio-common/tllformat.c: New program, based on tiformat.c with + examples from Franz Sirl . -2000-02-23 Roland McGrath +1999-02-14 Andreas Schwab - * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from - argument type, for 2000-02-22 change in signal/signal.h declaration. + * posix/test-vfork.c: Fix exit status test. -2000-03-09 Roland McGrath +1999-02-14 Andreas Jaeger - * sysdeps/generic/getdents64.c (__getdirentries64): Renamed - to getdirentries64 (no __), since the Linux implementation - has no __ name, and there is no declaration for the __ name. + * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some + missing cases. Reported by Craig Metz [PR libc/964]. - * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro. +1999-02-14 Andreas Schwab - * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up - sed regexp so as not to break directory names including /../ within. + * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead + of separare explicit comparisons. - * sysdeps/unix/bsd/bits/waitflags.h: File removed. - The sysdeps/generic file is right for BSD. This file was in fact the - Hurd file, but the only difference was the WNOREAP flag that was never - actually implemented or used anywhere. +1999-02-11 Andreas Schwab - * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these, - since AC_PATH_PROG already does it for us. - (PERL): Rewrite check added in 2000-02-29 change for syntactic - correctness and sh portability. I replaced the broken check - with a more sensible implementation of the apparently intended - semantics, which might still be questionable. Using expr causes - a non-numeric value for `perl -V:apiversion` to be accepted, - refusing to use only a perl that reports a number less than 5; - on my system, perl (5.004_04) -V:apiversion produces UNKNOWN. - * configure: Regenerated. + * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet + defined. -2000-03-08 Andreas Jaeger + * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet + defined. - * manual/crypt.texi: Fix paths. +1999-02-09 Ulrich Drepper -2000-03-07 Andreas Jaeger + * po/el.po: Update from translation team. - * resolv/netdb.h: The descriptions of rresvport and rresvport_af - were swapped. - Patch by YOSHIFUJI Hideaki , closes PR - libc/1636. +1999-02-09 Andreas Jaeger -2000-03-06 Andreas Jaeger + * intl/locale.alias: Fix slovenian entry [PR libc/948]. - * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error - in __sgn1l, otherwise g++ fails to parse this. - Reported by Sean Chen . +1999-02-09 Andreas Jaeger -2000-03-03 Geoff Keating + * elf/sprof.c: assert.h isn't used anymore, remove inclusion. + * inet/ruserpass.c: Likewise. + * locale/programs/stringtrans.c: Likewise. + * locale/programs/localedef.c: Likewise. + * nscd/grpcache.c: Likewise. + * nss/nss_files/files-XXX.c: Likewise. + * stdlib/canonicalize.c: Likewise. + * sysdeps/posix/sigwait.c: Likewise. - * configure.in: Compute sizeof-long-double. - * configure: Regenerated. - * config.make.in: Make sizeof-long-double available to sub-makes. +1999-02-09 Andreas Jaeger -2000-03-03 Ulrich Drepper + * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison + even on 64 bit platforms. - * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality - call. + * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. + Patch by Loic Prylli . -2000-03-03 Geoff Keating - - * Makeconfig (rpath-dirs): Add crypt. - (all-subdirs): Remove md5crypt. - * crypt/sysdeps/unix/crypt.c: Move to crypt/. - * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/. - * sysdeps/generic/crypt-entry.c: Delete. - * crypt/sysdeps/unix/crypt.h: Move to crypt/. - * sysdeps/generic/crypt.h: Delete. - * crypt/sysdeps/unix/crypt-private.h: Move to crypt/. - * crypt/sysdeps/unix/crypt_util.c: Move to crypt/. - * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/. - * sysdeps/generic/des_impl.c: Delete. - * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/. - * crypt/sysdeps: Delete. - * crypt/crypt_util.c: Don't use `patchlevel.h'. - * md5-crypt/Versions: Move to crypt/. - * md5-crypt/md5-crypt.c: Move to crypt/. - * md5-crypt/md5.c: Move to crypt/. - * md5-crypt/md5c-test.c: Move to crypt/. - * md5-crypt/md5test.c: Move to crypt/. - * md5-crypt: Delete. - * crypt/Makefile: Adjust for new structure. - -2000-03-03 Paul Eggert - - * posix/regex.c (MB_LEN_MAX): Include to define; - define to 1 if not defined. - -2000-03-03 Andreas Jaeger - - * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp. - -2000-03-03 Andreas Jaeger - - * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE - cases. - (xdr_int64_t): Correctly handle lower half. - Fix by Sten Dahlgren , closes PR libc/1623. - -2000-03-03 Ulrich Drepper - - * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality - call. +1999-02-09 Ulrich Drepper -2000-03-02 Andreas Jaeger + * intl/dcgettext.c: Include locale.h is available. - * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux - 2.3.43. +1999-02-08 Ulrich Drepper -2000-03-02 Andreas Jaeger + * po/nl.po: Update from translation team. - * resolv/Makefile (headers): Add arpa/nameser_compat.h. + * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value. -2000-03-01 Andreas Jaeger + * Makefile: Allow calling goals for po subdir. - * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK. - (tests): Added tst-getdate. + * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT + signal definitions. - * time/tst-getdate.c: New file. + * po/el.po: New file. - * time/datemsk: New file, needed for tst-getdate. +1999-02-07 Andreas Schwab -2000-02-29 Cristian Gafton + * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant + when processing DT_SYMBOLIC objects. - * configure.in (CCVERSION): Require at least veersion 5 of perl API. +1999-02-07 Andreas Schwab -2000-02-17 H.J. Lu + * elf/dl-load.c (_dl_map_object_from_fd): When looking for the + program headers without PT_PHDR only require that they are + contained within one of the loaded segments. Don't use assert, + since that would be a bug in the object, not the dynamic linker. - * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end. +1999-02-08 Richard Henderson - * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if - available. - (svcudp_recv): Set up message with the new "xp_pad" field for - IP_PKTINFO. - (svcudp_reply): Support IP_PKTINFO if available. + * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and + restore all call-clobbered fp regs. -2000-03-01 Andreas Jaeger +1999-02-08 Ulrich Drepper - * time/getdate.c (check_mday): Fix check for february. - Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA - , closes PR libc/1617 and PR libc/1619. + * po/cs.po: New file. -2000-03-02 Andreas Jaeger + * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for + SUID binaries. - * posix/unistd.h: __THROW has to precede __attribute__, otherwise - g++ fails to parse this. - Reported by Sean Chen . +1999-02-07 Ulrich Drepper -2000-02-28 Ulrich Drepper + * signal/signal.h: Don't declare __libc_allocate_rtsig. + * include/signal.h: Declare __libc_allocate_rtsig here. - * io/creat.c: Moved to... - * sysdeps/generic/creat.c: ...here. - * io/creat64.c: Moved to... - * sysdeps/generic/creat64.c: ...here. - * io/lockf.c: Moved to... - * sysdeps/generic/lockf.c: ...here. + * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry + point functions, not do_lookup since the later can be called more + than once. - * crypt/crypt.texi: Moved to... - * manual/crypt.texi: ...here. - * crypt/examples/genpass.c: Moved to... - * manual/examples/genpass.c: ...here. - * crypt/examples/mygenpass.c: Moved to... - * manual/examples/mygenpass.c: ...here. - * crypt/examples/testpass.c: Moved to... - * manual/examples/testpass.c: ...here. +1999-02-03 Jakub Jelinek - * manual/Makefile (chapters): Add crypt. - * manual/conf.texi: Add usual header for not-last chapter. - * manual/crypt.texi: Add special header for last chapter. + * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME + macro, so that architectures which need to add some special + offset to stack pointer can share this file. -2000-02-28 Geoff Keating + * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file. - * Makeconfig (all-subdirs): Add 'crypt' subdirectory. - * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't - complain if there is no crypt add-on. - * crypt/configure: Removed. + * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove. + * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common + between sparc32 and sparc64. - * crypt/crypt.texi: Update documentation of US export restrictions - to match the 14 Jan 2000 regulations. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common + between sparc32 and sparc64. -2000-02-28 Geoff Keating + * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove. + * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common + between sparc32 and sparc64. - * crypt: New subdirectory, merged in from the crypt add-on. + * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove. + * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common + between sparc32 and sparc64. -2000-02-28 Ulrich Drepper +1999-02-07 Ulrich Drepper - * include/unistd.h: Add __rmdir and __mkdir prototypes. + * Versions.def: New version GLIBC_2.1.1 for libc. + * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1. + * stdlib/labs.c: Moved to... + * sysdeps/generic/labs.c: ...here. + * stdlib/llabs.c: Moved to... + * sysdeps/generic/llabs.c: ...here. + * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other + header. Declare _Exit. + * sysdeps/generic/_exit.c: Add alias _Exit. + * sysdeps/mach/hurd/_exit.c: Likewise. + * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. + * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. + * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. + * sysdeps/unix/_exit.c: Likewise. + * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare + imaxdiv and imaxabs. Declare lldiv_t if necessary. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * sysdeps/wordsize-32/llabs.c: New file. + * sysdeps/wordsize-32/lldiv.c: New file. + * sysdeps/wordsize-64/labs.c: New file. + * sysdeps/wordsize-64/ldiv.c: New file. + * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv. + * manual/startup.texi: Document _Exit. + +1999-02-07 Andreas Jaeger + + * nscd/cache.c: Include for inet_ntop. + +1999-02-06 Ulrich Drepper + + * Versions.def: Add versions for ld.so. + * csu/Versions: Remove __libc_stack_end here. + * elf/Versions: Split libc definitions in libc and ld.so definitions. + * elf/Makefile (ld-map): Change to ld.so.map. + * scripts/versions.awk: Recognize dot in library names. + + * ctype/ctype.h: Remove definitions of __tolower and __toupper. + Don't use __tolower and __toupper in inline functions. + Add optimizing macros for tolower and toupper. + * ctype/ctype-extn.c (_tolower): Don't use __tolower. + (_toupper): Don't use __toupper. + * ctype/ctype.c (tolower): Don't use __tolower. + (toupper): Don't use toupper. + + * nscd/cache.c (prune_cache): Correct printing of debugging messages. + + * resolv/Versions (libresolv): Export __ns_name_unpack and + __ns_name_ntop. + * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and + make it global. Change all users. Similar for ns_name_ntop. + * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in + user-provided buffer. Use __ns_name_unpack and __ns_name_ntop + directly to detect too small buffer. + * resolv/nss_dns/dns-network.c: Likewise. + + * stdio-common/Makefile (tests): Add scanf12. + * stdio-common/scanf12.c: New file. + * stdio-common/scanf12.input: New file. + * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of + floating-point correctly if the number is invalid. + + * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion + functions. + * stdio-common/printf_fp.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/vfprintf.c: Likewise. -See ChangeLog.10 for earlier changes. +See ChangeLog.9 for earlier changes. -- cgit 1.4.1