blob: d9b036436121bf6cd86dfd792d72160fe1e00abb [file] [log] [blame]
2000-11-09 Ulrich Drepper <>
* version.h (VERSION): Bump to 2.2.
(RELEASE): Set to stable.
* posix/Makefile (tst-dir-ARGS): Fix problem with compiling in
source directory.
(tst-chmod-ARGS): Likewise.
2000-11-09 H.J. Lu <>
* io/Versions (GLIBC_2.2): Add __open64.
2000-11-09 Jakub Jelinek <>
* locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK.
2000-11-09 Jakub Jelinek <>
* locale/programs/ld-paper.c (paper_output): Fix offset into width
2000-10-27 Bruno Haible <>
* locale/programs/charmap.c (charmap_read): Verify ASCII
compatibility of charmap.
2000-11-08 Ulrich Drepper <>
* catgets/gencat.c (main): Don't use exit() to avoid warnings with
broken compilers.
* include/features.h (__STDC_ISO_10646__): Correct value to be
200009L. Patch by Markus Kuhn <>.
2000-11-08 H.J. Lu <>
* pwd/Versions (GLIBC_2.1.2): Add getpwnam_r.
2000-11-08 Jakub Jelinek <>
* 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-11-08 Bruno Haible <>
* locale/ Tweak <U2014> result.
* locale/C-translit.h: Regenerated.
2000-11-08 Ulrich Drepper <>
* posix/unistd.h: Add attribute((const)) to sysconf prototype.
* 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 <>.
2000-11-07 Kazumoto Kojima <>
* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields.
2000-11-06 Ulrich Drepper <>
* iconvdata/big5.c: Regenerated after BIG5 charmap change.
Patch by Tung-Han Hsieh <>.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in
comparison with new cache magic bytes.
Patch by Denis Zaitsev <>.
2000-11-03 Bruno Haible <>
* locale/ Update from translit_neutral.
* locale/C-translit.h: Regenerated.
* intl/tst-translit.c: Update.
2000-11-04 Mark Kettenis <>
* sysdeps/mach/hurd/Dist: Remove clk_tck.c.
* sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove
* 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-11-03 Ulrich Drepper <>
* posix/Versions: Export __sysconf.
2000-11-02 Ulrich Drepper <>
* version.h (VERSION): Bump to 2.1.97.
* iconvdata/Makefile (distribute): Add viscii.c.
* elf/Makefile (distribute): Add
* 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 <>.
* iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from
being written.
* manual/socket.texi (Local Namespace Concepts): Don't mention what
permissions are necessary to connect to a socket.
Reported by Peter Eisentraut <>.
* sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix
computation of total for 64-bit machines.
Patch by Byron Stanoszek <>.
* manual/arith.texi (Rounding): Correct description of fesetround
return value. Patch by Conrado Badenas <>.
2000-10-30 Maciej W. Rozycki <>
* 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.
2000-11-02 Ulrich Drepper <>
* sysdeps/unix/sysv/linux/s390/bits/time.h: Removed.
2000-11-01 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 <>.
2000-11-01 Martin Buchholz <>
* manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to
agree with implementation.
2000-11-01 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 <>.
* (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 <>.
2000-10-30 Ulrich Drepper <>
* locale/localeinfo.h (enum value_type): Add wstring, wstringarray,
and wstringlist.
* locale/categories.def: Mark wide char strings as wstring or
* locale/programs/locale.c (show_info): Handle wstring, wstringarray,
and wstringlist. Print keywords only if there is real output.
Reported by Chen Xiangyang <>.
* sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary.
Patch by Ben Collins <>.
* stdio-common/Makefile (tests): Add tst-fmemopen.
* stdio-common/tst-fmemopen.c: New file.
Test case by Ben Collins <>.
* libio/iofopncook.c (_IO_cookie_seek): Correct test for error.
* libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
(fmemopen_write): Set errno at end of buffer.
* posix/runtests.c (main): Don't use exit() to avoid warning with
broken compilers.
* 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.
2000-10-29 Bruno Haible <>
* locale/ Include more rules from translit_neutral.
Remove a few German and Danish specific rules.
* locale/ 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.
2000-10-29 Bruno Haible <>
* 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.
2000-10-30 Ulrich Drepper <>
* locale/findlocale.c (free_mem): We can remove NODELETE marked
data, just not the C locale data.
* intl/tst-gettext.c: Use setlocale() in addition to setting envvar.
* intl/ Copy locale data if necessary.
* intl/Makefile (generated-dirs): Add localedir.
* intl/dcigettext.c (guess_category_value): For libc always use
the setlocale() method.
* intl/Makefile: Add rules to build, run and, distribute tst-gettext2.
* intl/tst-gettext2.c: New file.
* intl/ New file.
* intl/tstlang1.po: New file.
* intl/tstlang2.po: New file.
Patch by Andreas Jaeger <>.
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 <>
* 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.
2000-10-29 Ulrich Drepper <>
* iconvdata/big5.c: Update.
Patch by Tung-Han Hsieh <>.
* iconvdata/Makefile (distribute): Add BIG5.irreversible.
* iconvdata/BIG5.irreversible: New file.
2000-10-29 Greg Louis <>
* 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.
2000-10-29 Ulrich Drepper <>
* manual/search.texi: Correct description if VISIT values.
Patch by Ben Collins <>.
* 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 <>.
* 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 <>.
2000-10-27 Ben Collins <>
* sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before
calling for F_GETLK.
2000-10-29 Ulrich Drepper <>
* elf/dl-load.c (open_path): Don't exit loop early if we didn't
use a directory at all.
* elf/Makefile: Add rules to build and run tst-pathopt.
* elf/tst-pathopt.c: New file.
* elf/ New file.
* elf/pathoptobj.c: New file.
* elf/elf.h (SHN_XINDEX): Define.
2000-10-28 Ulrich Drepper <>
* io/Makefile (tests): Add test-stat2.
(test-stat2-ARS): New variable.
* io/test-stat2.c: New file.
* Makeconfig (ETAGS): Remove -T flag.
* 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-10-27 Ulrich Drepper <>
* stdio-common/Makefile (tests): Add tst-fseek.
* stdio-common/tst-fseek.c: New file.
* posix/regex.c (gettext): Use correct translation domain for glibc.
* 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.
* stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make
it look better and bring it closer to SysV behavior.
* stdlib/Makefile (distribute): Add
(test-srcs): Add tst-fmtmsg.
(tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it.
* stdlib/ New file.
* stdlib/tst-fmtmsg.c: New file.
* iconvdata/Makefile (modules): Add VISCII.
(gen-8bit-modules): Add viscii.
* iconvdata/viscii.c: New file.
* iconvdata/gconv-modules: Add entries for VISCII.
* iconvdata/ Add VISCII.
2000-10-27 Andreas Schwab <>
* sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.
2000-10-26 Ulrich Drepper <>
* version.h (VERSION): Bump to 2.1.96.
* inet/getipnodebyad.c: Removed.
* inet/getipnodebynm.c: Removed.
* inet/tst-ipnode.c: Removed.
* inet/freehostent.c: Removed.
* sysdeps/unix/bsd/osf/=dirstream.h: Removed.
* sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.
* elf/Makefile (distribute): Add neededobj4.c.
* iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.
* sysdeps/hppa/Dist: New file.
* sysdeps/unix/sysv/linux/hppa/Dist: New file.
* posix/tst-chmod.c (do_test): Account for people running the
tests as root.
* locale/langinfo.h (THOUSEP): Define this and don't duplicate
definition of THOUSANDS_SEP.
* 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.
* locale/Makefile (tests): Add tst-C-locale.
* locale/tst-C-locale.c: New file.
* locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
locale files.
* locale/newlocale.c: Likewise.
2000-10-26 GOTO Masanori <>
* 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/ (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
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
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2000-10-25 Ulrich Drepper <>
* sysdeps/arm/libm-test-ulps: Updated.
* sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value.
2000-10-25 Andreas Jaeger <>
* elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable.
(_dl_map_object): Likewise.
2000-10-24 Paul Eggert <>
* 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-10-24 Andreas Schwab <>
* sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and
2000-10-25 Ulrich Drepper <>
* 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 <>.
* elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the
nsearchlist variable.
2000-10-24 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
* elf/dl-open.c (dl_open_worker): Fix typo in comment.
* elf/elf.h: Add even more IA-64 relocations.
2000-10-24 Geoffrey Keating <>
* 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.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
explicitly rather than getting it from <asm/page.h>.
2000-10-24 Ulrich Drepper <>
* elf/dl-close.c (_dl_close): Handle relocation dependencies of
the dependencies of the object currently unloaded.
* elf/dl-close.c (_dl_close): Don't free memory for global scope
list immediately when empty. Move code to...
(free_mem): Called as part of __libc_subfreeres list.
* 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.
* 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.
* elf/neededtest.c (main): Correct tests for failing dlopen.
2000-10-24 Andreas Jaeger <>
* elf/dl-lookup.c (add_dependency): Remove unused variable j.
2000-10-24 Ulrich Drepper <>
* malloc/obstack.c (_obstack_newchunk): Correctly align first returned
* malloc/tst-obstack.c: New file.
Patch and test case by Alexandre Duret-Lutz <>.
* malloc/Makefile (tests): Add tst-obstack.
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.
* elf/loadtest.c: Print loaded objects at the beginning.
2000-10-24 Andreas Jaeger <>
* sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
2000-10-23 Ulrich Drepper <>
* 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.
* elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
2000-10-23 Jim Meyering <>
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-10-23 Ulrich Drepper <>
* elf/unload.c: Generate more debugging output.
* elf/neededtest.c: Make it more complicated.
* elf/neededtest2.c: New file.
* elf/Makefile: Add rules to build and run neededtest2.
* elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
of DSO address space.
(_dl_vsym): Likewise.
* elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
global scope if we can determine it.
2000-10-23 Andreas Schwab <>
* 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-10-23 Andreas Schwab <>
* sysdeps/m68k/fpu/libm-test-ulps: Updated.
2000-10-23 Ulrich Drepper <>
* elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
2000-10-22 Bruno Haible <>
* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
for 0x8BF8, 0xA27E..0xA2A7.
* iconvdata/BIG5HKSCS.irreversible: New file.
2000-10-23 Jakub Jelinek <>
* timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
* timezone/zic.c (main): Likewise.
2000-10-23 Thorsten Kukuk <>
* nscd/connections.c (invalidate_cache): Don't invalidate a cache
if it is not enabled.
2000-10-23 Andreas Jaeger <>
* sysdeps/s390/fpu/libm-test-ulps: New ulps.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
Patch by Ralf Baechle <>.
2000-10-21 Ulrich Drepper <>
* 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 <>.
* io/pwd.c (main): The output was missing a newline.
* 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.
* elf/dl-open.c (add_to_global): New function. Split out from
(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.
2000-10-20 Ulrich Drepper <>
* 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.
* 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.
* elf/loadtest.c: Add debug when with more output.
* elf/Makefile: Add rules to build and run unload2.
* elf/unload2.c: New file.
* elf/unload2mod.c: New file.
* elf/unload2dep.c: New file.
* intl/libintl.h (ngettext macro): Add missing parameter.
(dngettext macro): Likewise.
2000-10-19 H.J. Lu <>
* elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
neededobj2.c and neededobj3.c.
(tests): Add neededtest.
(modules-names): Add neededobj1, neededobj2 and neededobj3.
($(objpfx) New target.
($(objpfx) Likewise.
($(objpfx) 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.
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 <>.
2000-10-20 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.
2000-10-20 Ulrich Drepper <>
* posix/ (testout): Place output file in build
directory. Patch by Joseph S. Myers <>.
* sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
2000-10-19 Ulrich Drepper <>
* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
Correctly handle numeric group member information.
Patch by
* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
Complete test for strtol overflow.
2000-10-19 Jakub Jelinek <>
* sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
semun as 4th argument to semctl syscall, not address of it.
2000-10-18 Franz Sirl <>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
2000-10-17 Andreas Schwab <>
* string/string.h: Remove declaration of __strcasecmp and __strcasestr.
* include/string.h: Declare them here.
2000-10-18 Ralf Baechle <>
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
2000-10-19 Geoffrey Keating <>
* sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
of the unordered comparison functions that use the GCC builtins.
* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
(__process_machine_rela): Print the address of an overflowing
2000-10-18 Ulrich Drepper <>
* sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
in comments.
(freeit): Remove unnecessary test.
2000-10-18 Andreas Jaeger <>
* 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 <>.
2000-10-09 Maciej W. Rozycki <>
* 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-10-17 Ulrich Drepper <>
* sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
2000-10-17 Andreas Schwab <>
* sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
2000-10-17 Jakub Jelinek <>
* sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
Add missing backslash.
2000-10-16 Ulrich Drepper <>
* sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
* sysdeps/i386/fpu/libm-test-ulps: Update for changes in
2000-10-16 Jakub Jelinek <>
* math/ (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
(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-10-16 Ulrich Drepper <>
* timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
ialloc.c, and scheck.c.
* malloc/obstack.c: Always include <libintl.h> for glibc.
* posix/getopt.c: Likewise.
Reported by Petr Vandrovec <>.
2000-10-15 Pete Wyckoff <>
* Rules: Define _LIBC during generation of bits/stdio_lim.d.
2000-10-15 Pete Wyckoff <>
* iconvdata/ Invoke other shell scripts through ${SHELL}.
* iconvdata/ Likewise.
2000-10-15 Ulrich Drepper <>
* elf/dl-error.c (_dl_signal_error): Allocate memory for objname
as well. Reported by Alexander V. Lukyanov <>.
* iconvdata/gconv-modules: Add aliases for Winblowz charsets.
Patch by Joseph S. Myers <>.
2000-10-13 Andreas Schwab <>
* elf/elf.h (R_IA64_PCREL60B): Add relocation.
2000-10-15 Ulrich Drepper <>
* 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.
2000-10-14 Ulrich Drepper <>
* math/ (frexp_test): Add L suffix also to parameters.
(hypot_test): Likewise.
* sysdeps/generic/printf_fphex.c: Compute width of decimal point
string correctly. Handle padding correctly.
* sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
* sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
* sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2000-10-12 Alan Modra <>
* 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 <>
* 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 <bits/initspin> in
* sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
non-threaded platforms.
2000-10-12 David Huggins-Daines <>
* 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/ 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/ (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 <sys/types.h> 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/ Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/ Likewise.
2000-10-14 Geoffrey Keating <>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
2000-10-13 Michael Fedrowitz <>
* 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
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
oldsetrlimit for GLIBC_2.0.
* sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
arguments to _dl_init.
2000-10-13 Geoffrey Keating <>
* sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
building with the default options.
2000-10-11 Andreas Jaeger <>
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
Patch by Denis Zaitsev <>.
2000-10-09 Jakub Jelinek <>
* 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.
2000-10-08 Ulrich Drepper <>
* version.h (VERSION): Bump to 2.1.95.
* Remove warning message.
* 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.
2000-10-07 Ulrich Drepper <>
* elf/elf.h: Add a few section-related symbols.
* include/features.h (__STDC_ISO_10646__): Set to correct date.
Patch by Markus Kuhn <>.
2000-10-06 Jes Sorensen <>
* 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-08-27 H.J. Lu <>
* sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
is not supported under Linux/ia64, use clone2.
2000-10-06 Jakub Jelinek <>
* malloc/malloc.h (__THROW): Define to nothing if not gcc.
* misc/sys/cdefs.h (__THROW): Likewise.
2000-10-05 Jakub Jelinek <>
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
2000-10-02 Jakub Jelinek <>
* sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
remaining xp_pad space.
2000-10-05 Jakub Jelinek <>
* elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
DF_1_NODELETE, not list[i]'s.
2000-10-04 Ulrich Drepper <>
* 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.
* argp/argp-parse.c (argp_default_argp): Set libc as message domain.
(argp_version_argp): Likewise.
2000-10-04 Jakub Jelinek <>
* stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
input_error() if EOF is seen before processing.
* stdio-common/tstscanf.c (main): Add testcase.
2000-10-04 Ulrich Drepper <>
* argp/argp-help.c: Make sure we get the correct gettext and
dgettext definitions.
* argp/argp-parse.c: Likewise.
2000-10-03 Ulrich Drepper <>
* locale/programs/linereader.c (get_string): Also clear wide
string info if illegal_string.
2000-10-03 Andreas Schwab <>
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
2000-10-02 Jakub Jelinek <>
* elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
2000-10-02 Ralf Baechle <>
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
end of inline assembler code.
2000-10-02 Ulrich Drepper <>
* include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
__USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
2000-10-02 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
2000-10-01 Ralf Baechle <>
* sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
argument passed to _dl_init.
2000-09-30 Bruno Haible <>
* 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
(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
<dirent.h> and <unistd.h>.
(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-09-30 Bruno Haible <>
* posix/spawn_faction_init.c: Include "spawn_int.h".
(__posix_spawn_file_actions_realloc): Fix second realloc argument.
2000-09-30 Bruno Haible <>
* locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
2000-09-30 Bruno Haible <>
* 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-09-30 Bruno Haible <>
* locale/programs/charmap.c (charmap_read): Avoid redundant tests.
Don't forget to call closedir when the filename was found as a
2000-09-30 Bruno Haible <>
* iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
type to 'void *'.
2000-09-30 Bruno Haible <>
* locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
level2, and level3 as well.
(wctype_table_add): Remove a few unnecessary conditionals.
2000-09-30 Ralf Baechle <>
* wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
2000-09-30 H.J. Lu <>
* sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
* sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
2000-09-29 H.J. Lu <>
* math/ (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.
2000-09-29 H.J. Lu <>
* sysdeps/ia64/ieee754.h: New file.
* sysdeps/ia64/fpu/math_ldbl.h: New file.
2000-09-30 Jakub Jelinek <>
* elf/ldconfig.h (FLAG_X8664_LIB64): Define.
* sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
2000-09-30 Ulrich Drepper <>
* manual/charset.texi: Correct notations, reference to C90 amd 1,
and some other details.
* manual/ctype.texi: Likewise.
Patches by Markus Kuhn <>.
2000-09-30 Franz Sirl <>
* sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
2000-09-29 Ulrich Drepper <>
* elf/cache.c (save_cache): Initialize __unused field in new cache
as well to get reproducable results.
2000-09-29 H.J. Lu <>
* sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
2000-09-29 H.J. Lu <>
* sysdeps/ia64/bits/huge_val.h: New file.
2000-09-29 Ulrich Drepper <>
* 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
* 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.
* Makefile (install): Set LC_ALL and LANGUAGE to C before running
2000-09-29 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
* elf/readlib.c (process_file): Add real_file_name argument, pass it
to fopen.
2000-09-29 Ulrich Drepper <>
* math/complex.h (_Complex): We can be more specific when _Complex
is defined by the compiler.
2000-09-29 H.J. Lu <>
* sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
* elf/cache.c (print_entry): Replace 64bit with IA-64 in message
for x86/IA-64 binary.
2000-09-29 Andreas Schwab <>
* sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
* elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
2000-09-29 Mark Kettenis <>
* sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
implementation for use by the dynamic linker.
2000-09-29 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
* 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-09-29 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
* 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-09-29 David Mosberger <>
* sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
2000-06-10 David Mosberger <>
* 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.
2000-09-27 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
2000-09-29 Jakub Jelinek <>
* 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.
2000-09-29 Ulrich Drepper <>
* inet/getnameinfo.c (nrl_domainname): Use symbolic constant
INADDR_LOOPBACK instead of numeric value.
2000-09-28 H.J. Lu <>
* sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
2000-09-29 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
* sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
* sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
2000-09-28 Ulrich Drepper <>
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
relocation also for R_ALPHA_RELATIVE.
Reported by Ivan Kokshaysky <>.
2000-09-18 Bruno Haible <>
* 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.
2000-09-28 Ulrich Drepper <>
* elf/ldconfig.c (parse_conf): Print full name of config dir
including chroot() path.
(main): Remove trailing / from opt_chroot string.
* include/features.h: Correct description of what happens if no
*_SOURCE macro is defined.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
correctly. Reported by Felix von Leitner <>.
2000-09-19 H.J. Lu <>
* malloc/malloc.h (__memalign_hook): Fix the parameter order.
* malloc/malloc.c (__memalign_hook): Likewise.
(memalign_hook_ini): Likewise.
2000-09-28 Ulrich Drepper <>
* stdio-common/tmpnam.c (tmpnam): Optimize a bit.
* sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
underlying functions directly.
* 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.
2000-09-28 Franz Sirl <>
* 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
* 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.
2000-09-28 Martin Schwidefsksy <>
* sysdeps/s390/atomicity.h: Fix compare_and_swap.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h
(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
2000-09-28 Denis Joseph Barrow <>
* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
* sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
2000-09-27 Andreas Schwab <>
* math/Makefile (distribute): Explicitly add the long double test
sources, to get them included even if long double is not supported.
2000-09-27 Jes Sorensen <>
* elf/soinit.c (struct object): Move definition to gccframe.h and
include it. Problem identified by HJ Lu.
* 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.
2000-09-28 Ulrich Drepper <>
* manual/errno.texi: Correct error text for ENXIO.
Reported by Jörg Schilling <>.
2000-09-27 Jes Sorensen <>
* sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
exception status bits rather than the exception disable bits.
Don't include math.h.
* sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
status of exceptions currently raised rather than which exceptions
are enabled.
* sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
rather than unsigned long int.
* sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
the exceptions actually requested by the caller and not just
disable all exceptions.
* sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
the ia64 are enabled by clearing the respective bits in the fpsr,
not setting them.
* 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.
2000-09-20 H.J. Lu <>
* sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
unsigned long int.
* sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2000-09-28 Ulrich Drepper <>
* string/bits/string2.h: Unify #if usage.
2000-09-27 Jakub Jelinek <>
* math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
and disabling underflow or overflow, disable inexact as well.
2000-09-26 Andreas Jaeger <>
* sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
* sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
* elf/ldconfig.c (search_dir): Allow unlimited path length.
(create_links): Likewise.
2000-09-27 Ulrich Drepper <>
* posix/tst-dir.c: Test a few error cases of chdir.
2000-09-26 Ulrich Drepper <>
* math/math_private.h: Don't add long double prototypes if
NO_LONG_DOUBLE is defined.
* sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
* sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
* sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
2000-09-26 Jakub Jelinek <>
* 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:
* 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.
2000-09-26 Jes Sorensen <>
* 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).
2000-09-20 H.J. Lu <>
* sysdeps/ia64/fpu/printf_fphex.c: New file.
* sysdeps/ia64/fpu/libm-test-ulps: New file.
2000-09-17 H.J. Lu <>
* sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
* sysdeps/ia64/fpu/s_isinfl.c: New file. Include
* sysdeps/ia64/fpu/s_isnanl.c: New file. Include
* sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
* sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
2000-09-16 H.J. Lu <>
* sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
DL_UNMAP_IS_SPECIAL is not defined.
* sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
(_dl_unmap): New prototype.
(DL_UNMAP): New. Defined as _dl_unmap.
* sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
* elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
2000-09-16 H.J. Lu <>
* sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
* sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
(DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
* sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
the memory location of a function from a function descriptor.
* sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
* elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
memory location.
2000-09-14 Jes Sorensen <>
* sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
variable as input argument.
(__bswap_32): Likewise.
* sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
- found by Jim Wilson <>
2000-09-26 Ulrich Drepper <>
* string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
instead of 4.
2000-09-26 Andreas Schwab <>
* 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-09-26 Jes Sorensen <>
* sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
parentheses around arithmetic used in | statement to kill compiler
* 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
* 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
2000-09-23 Bruno Haible <>
* 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/ Enable GBK test.
2000-09-23 Bruno Haible <>
* 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.
2000-09-23 Bruno Haible <>
* 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/ Enable JOHAB testing.
2000-09-25 Ulrich Drepper <>
* iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
2000-09-24 Ulrich Drepper <>
* libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
stream is in wide mode.
* stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
2000-09-21 Bruno Haible <>
* iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
by 3, not 2.
2000-09-21 Bruno Haible <>
* stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
reallocation logic for MALLOC (%as, %aS formats).
2000-09-24 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
* stdio/ Adjust expected results.
Reported by Joseph S. Myers <>.
2000-09-20 Bruno Haible <>
* 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
* iconvdata/ Recognize lowercase hexadecimal digits
as equivalent to uppercase hexadecimal digits.
2000-09-20 Bruno Haible <>
* 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,
2000-09-24 Andreas Jaeger <>
* 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.
* 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
(CACHE_VERSION): Increment.
(struct cache_file_new): Use fixed sizes, add one more unused
entry to make alignment explicit.
2000-09-24 Ulrich Drepper <>
* elf/ldconfig.c (search_dir): Make more use of d_type information.
2000-09-23 Ulrich Drepper <>
* stdio-common/printf-parse.h (parse_one_spec): Clear
spec->info.i18n. Patch by Joseph S. Myers <>.
2000-09-18 Mark Kettenis <>
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
#undef since we don't have msync.
* 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.
2000-09-11 Mark Kettenis <>
* sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
multiply by LOAD_SCALE.
2000-09-22 Jakub Jelinek <>
* crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
(crypt_r, setkey_r, encrypt_r): Likewise.
2000-09-22 Andreas Jaeger <>
* locale/programs/repertoire.c (repertoiremap_hash): Don't specify
array size.
* sysdeps/alpha/fpu/libm-test-ulps: New file.
From Christian Iseli <>.
2000-09-21 Andreas Jaeger <>
* math/ (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.
* sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
* libio/oldiofsetpos64.c: Fix alias names.
2000-09-21 Martin Buchholz <>
* manual/terminal.texi (Allocation): Sample code correction.
2000-09-20 Andreas Jaeger <>
* iconvdata/Makefile (generated): Add tst-tables.out.
* intl/Makefile (generated): Add test output.
2000-09-19 Andreas Jaeger <>
* sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
Reported by Jens-Uwe Mager <>.
2000-09-18 Ulrich Drepper <>
* version.h (VERSION): Bump to 2.1.94.
* 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.
* malloc/mtrace.c (mtrace): Mark stream as close on exec.
2000-09-17 Bruno Haible <>
* 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.
2000-09-17 Bruno Haible <>
* iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
2000-09-17 Bruno Haible <>
* iconvdata/tst-table-from.c (main): Fix test for error on stdout.
* iconvdata/tst-table-to.c (main): Likewise.
2000-09-17 Bruno Haible <>
* iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
* 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.
(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.
2000-09-17 Bruno Haible <>
* iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
(BODY for TO_LOOP): Fix usage of `set' vs. `used'.
2000-09-14 Bruno Haible <>
* intl/Versions: Add bind_textdomain_codeset.
2000-09-16 Ralf Baechle <>
* 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.
2000-09-18 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/kernel-features.h: Always define
* sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
* sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
2000-09-17 H.J. Lu <>
* catgets/Makefile ($(objpfx)de/ Use
$(make-target-directory) instead of mkdir.
2000-09-17 Franz Sirl <>
* 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.
2000-09-17 Ulrich Drepper <>
* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
2000-09-16 Jakub Jelinek <>
* sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
* sysdeps/m68k/Implies: Likewise.
* sysdeps/sparc/sparc64/Implies: Likewise.
2000-09-16 Jakub Jelinek <>
* elf/readlib.c (process_file): Don't error for stale .so links either.
2000-09-16 Ulrich Drepper <>
* elf/dl-load.c (_dl_map_object_from_fd): Add one more
* include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
Patch by Thorsten Kukuk <>.
* dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
(test): Add default.
(modules-names): Add defaultmod1 and defaultmod2.
Add rules to build test objects.
2000-09-15 Ulrich Drepper <>
* wctype/wctype.h: Always include <bits/types.h>.
Reported by Jim Meyering <>.
* elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
* elf/dl-support.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
st_blocks member in stat and stat64 structs.
Patch by Bill Nottingham <>.
* iconvdata/ Add warning that GB18030 test might
take longer.
* 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 <>.
* 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.
2000-09-15 Andreas Jaeger <>
* sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
* sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
2000-09-15 Jakub Jelinek <>
* sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
2000-09-15 Ulrich Drepper <>
* 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.
2000-09-14 Jakub Jelinek <>
* elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
2000-09-15 Andreas Jaeger <>
* 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.
* sysdeps/mips/fpu/feenablxcpt.c: New file.
* sysdeps/mips/fpu/fegetexcept.c: New file.
* sysdeps/mips/fpu/fedisblxcpt.c: New file.
2000-09-14 Ulrich Drepper <>
* intl/Makefile: Avoid unnecessary test reruns.
* stdio-common/ Also allow output from 64-bit machines.
* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
to not use sysctl(). Too many architectures have problems with it.
2000-09-14 Andreas Jaeger <>
* scripts/config.sub: New version from
* time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
2000-09-14 Jakub Jelinek <>
* posix/regex.c (compile_range): Cast collseq index to unsigned char
to avoid accessing data before collseq.
* sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
pasting strings together.
2000-09-14 Greg McGary <>
* 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 <stdio.h> to get
rename prototype.
2000-09-13 Ulrich Drepper <>
* io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
don't fail.
* elf/elf.h: Add missing official relocations.
* 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 <stdio.h> 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 <>.
2000-09-13 Andreas Jaeger <>
* 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.
2000-09-13 Ulrich Drepper <>
* 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.
* time/time.h: Don't defined clockid_t and timer_t unless POSIX
definitions are requested.
2000-09-13 Andreas Jaeger <>
* shlib-versions: libBrokenLocale needs minimal version for ia64,
sparc64 and sh to synch with libc.
2000-09-13 Ulrich Drepper <>
* 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.
* csu/Makefile: Work around a gcc bug when creating csu-dummies.
* sysdeps/unix/sysv/linux/getdents.c: Pretty print.
2000-09-01 Jes Sorensen <>
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
__syscall_getdents64 wrapper.
* sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
2000-09-12 Ulrich Drepper <>
* iconvdata/gb18030.c: Many many changes. Make consistent with
charmap and with itself.
* iconvdata/ Test GB18030.
2000-09-11 Ulrich Drepper <>
* iconv/skeleton.c: Fix last patch, add missing parameter to
unaligned function call.
2000-09-10 Bruno Haible <>
* locale/programs/ld-collate.c (collate_read): Fix typo in handling
of decimal ellipsis.
2000-09-11 Bruno Haible <>
* locale/programs/ld-collate.c (collate_read): Always initialize
2000-09-10 Bruno Haible <>
* locale/programs/ld-collate.c (collate_finish): Upper bound for
ruleidx is 128, not 256.
2000-09-11 Ulrich Drepper <>
* locale/programs/ld-collate.c (collate_read): Correct check for
already inserted entries.
2000-09-10 Bruno Haible <>
* iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
second try as well.
2000-09-10 Bruno Haible <>
* iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
2000-09-10 Bruno Haible <>
* iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
2000-09-10 Bruno Haible <>
* 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/ Fix confusing output.
2000-09-11 Ulrich Drepper <>
* sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
2000-09-10 David S. Miller <>
* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
frame pointer offset for non-fast path.
2000-09-10 Ulrich Drepper <>
* locale/programs/3level.h (*_init): Initialize level1, level2,
and level3 as well.
(*_add): Remove a few unnecessary conditionals.
2000-09-05 Wolfram Gloger <>
* malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
ensure usability of mutex as an `in use' flag.
2000-09-10 Ulrich Drepper <>
* shlib-versions: Simplify libm entries. Correct a few Hurd entries.
* sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
ugly GMON_WEAK_START hack.
Patch by Philip Blundell <>.
* sysdeps/i386/i486/bits/string.h: Pretty printing.
2000-09-09 Ulrich Drepper <>
* sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
and PPC_ICBI asm for broken compilers.
Patch by Franz Sirl <>.
2000-09-09 Andreas Jaeger <>
* manual/message.texi (Advanced gettext functions): Fix typo.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
strncpy prototype.
2000-09-09 Ulrich Drepper <>
* sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
* sysdeps/ia64/memccpy.S: Likewise.
Patches by Jim Wilson <>.
* 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.
* iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
unloading a bit.
2000-09-08 Ulrich Drepper <>
* posix/getopt.c (_getopt_internal): When long_only is set always
recognize conflicts just like before.
2000-09-08 Franz Sirl <>
* sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
2000-09-08 Greg McGary <>
* sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
* sysdeps/unix/ New signature keyletter `V'.
* sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
2000-09-08 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
* sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h
(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
2000-09-07 Ulrich Drepper <>
* iconvdata/ Enable EUC-KR test.
* elf/dl-load.c (lose): Decrement _nl_loaded.
(_dl_map_object_from_fd): Don't try to dlopen executables.
* iconvdata/ Actually return with an error if
something goes wrong.
* iconvdata/ Return with an error if any of the cmp fails.
* iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
* iconvdata/ Add BIG5HKSCS.
* iconvdata/tst-table-to.c (main): Correct cast in iconv call.
* iconvdata/tst-table-from.c: Include <string.h>.
(try): Correct cast in iconv call.
* elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
* sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
(sysdep_routines): Remove dl-start.
Patches by Franz Sirl <>.
* assert/__assert.c: Undefine NDEBUG before include <assert.h>.
* sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2000-09-06 Andreas Schwab <>
* sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
2000-09-07 Ulrich Drepper <>
* sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
* scripts/config.sub: Strip out -unknown for Linux targets.
Patch by Scott Bambrough <>.
* posix/tst-dir.c (main): Correct one bug (missing NULL test) and
add one more test.
2000-09-07 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
* sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
* sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
* stdlib/tst-bsearch.c (main): Add more test cases.
* locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
Reported by GOTO Masanori <>.
2000-09-07 Ulrich Drepper <>
* posix/Makefile (tests): Add tst-dir.
(tst-dir-ARGS): New variable.
* posix/tst-dir.c: New file.
2000-09-07 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
(SYS_fcntl64): New.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
2000-09-06 Ulrich Drepper <>
* 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
* 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/
* catgets/tst-catgets.c: New file.
* po/ja.po: New file.
* po/el.po: Update from translation team.
* wcsmbs/Depend: New file.
* wcsmbs/Makefile (tests): Add tst-btowc.
(tst-btowc-ENV): Define.
* wcsmbs/tst-btowc.c: New file.
* sysdeps/unix/sysv/linux/_G_config.h: Moved to...
* sysdeps/gnu/_G_config.h: to be shared with Hurd.
* sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
* stdlib/Makefile (tests): Add tst-bsearch.
* stdlib/tst-bsearch.c: New file.
* 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.
* posix/tstgetopt.c: Add test for improved ambiguity recognition.
Don't depend on visual inspection of the output file to recognize
* posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2000-09-06 Andreas Jaeger <>
* 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/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/mips/Makefile [$(subdir) = misc]: Use
sysdep_headers instead of headers for make dist.
* sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2000-09-06 Andreas Schwab <>
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2000-09-06 Andreas Jaeger <>
* soft-fp/Makefile (distribute): Remove ChangeLog.
* sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
sysdep_routines instead of routines for make dist.
2000-09-05 Ulrich Drepper <>
* 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.
2000-09-06 Andreas Jaeger <>
* sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
sysdep-dl-routines and sysdep_routines instead of rtld-routines
and dl-routines.
* soft-fp/ChangeLog: Merged with this file.
2000-06-13 Ulrich Drepper <>
* soft-fp/Makefile (distribute): Add op-8.h and testit.c.
* soft-fp/Makefile (distribute): Add the math functions, too.
* soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2000-03-03 Geoff Keating <>
* soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
as a statement.
* soft-fp/sysdeps/powerpc/Makefile (routines): New file.
* soft-fp/sysdeps/powerpc/q_*: New files.
2000-09-05 Ulrich Drepper <>
* stdio-common/vfprintf.c (process_string_arg): Handle precision
in wide char case correctly. Don't allocate too long temporary
strings with alloca.
* stdio-common/Makefile (tests): Add tst-swprintf.
(tst-swprintf-ENV): New variable.
* stdio-common/tst-swprintf.c: New file.
2000-09-05 Andreas Jaeger <>
* 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 <>.
2000-09-05 Ulrich Drepper <>
* Strip out "unknown" from configuration names.
2000-09-05 Andreas Jaeger <>
* sysdeps/powerpc/Subdirs: New file, adds soft-fp.
* sysdeps/sparc/sparc64/Implies: Add soft-fp.
* sysdeps/sparc/sparc32/Implies: Likewise.
* sysdeps/powerpc/Implies: Likewise.
* libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
* libio/oldiofgetpos64.c: Likewise.
* soft-fp/Makefile (distribute): Remove configure.
* sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
* soft-fp/configure: Remove.
* soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
* soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
* sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
* soft-fp/sysdeps/powerpc/Makefile: Move from here...
* sysdeps/powerpc/soft-fp/Makefile: ... to here.
* soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
* sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
* soft-fp/sysdeps/powerpc/q_add.c: Move from here...
* sysdeps/powerpc/soft-fp/q_add.c: ... to here.
* soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
* sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
* soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
* sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
* soft-fp/sysdeps/powerpc/q_div.c: Move from here...
* sysdeps/powerpc/soft-fp/q_div.c: ... to here.
* soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
* sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
* soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
* sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
* soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
* sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
* soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
* sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
* soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
* sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
* soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
* sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
* soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
* sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
* soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
* sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
* soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
* sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
* soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
* sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
* soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
* sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
* soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
* sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
* soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
* sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
* soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
* sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
* soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
* sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
* soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
* sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
* soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
* sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
* soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
* sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
* soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
* sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
* soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
* sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
* soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
* sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
* soft-fp/sysdeps/powerpc/q_util.c: Move from here...
* sysdeps/powerpc/soft-fp/q_util.c: ... to here.
* soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
* sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
* sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
* soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
* sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
* soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
* sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
* soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
* sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
* soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
* sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
* soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
* sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
* soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
* sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
* soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
* soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
* soft-fp/sysdeps/powerpc/Versions: Move from here...
* sysdeps/powerpc/soft-fp/Versions: ... to here.
* soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
* sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
* libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
change symbol version.
* libio/oldiofgetpos64.c: Likewise.
Reported by Martin v. Loewis <>.
* locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
Reported by, closes PR libc/1886.
* stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2000-09-04 Ulrich Drepper <>
* iconvdata/ Add code to immediately stop the
script when ^C is hit.
* 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.
2000-09-05 Andreas Jaeger <>
* 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.
2000-09-03 Bruno Haible <>
* iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
Set fname to NULL if the module wasn't found.
2000-09-03 Bruno Haible <>
* iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
true if trans->name already ends in ".so".
2000-09-03 Bruno Haible <>
* iconv/gconv_int.h (__gconv_release_shlib): Change return type to
* 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
(__gconv_close_transform): Use release_step.
2000-09-03 Bruno Haible <>
* iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
(__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2000-09-03 Bruno Haible <>
* 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
* 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.
2000-09-03 Bruno Haible <>
* iconv/gconv_db.c (find_derivation): Always use the least-cost
2000-09-03 Bruno Haible <>
* iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
are invalid.
2000-09-03 Bruno Haible <>
* iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
* iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2000-09-03 Bruno Haible <>
* iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2000-09-03 Bruno Haible <>
* iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2000-09-03 Bruno Haible <>
* iconvdata/ New file.
* iconvdata/ New file.
* iconvdata/tst-table-from.c: New file.
* iconvdata/tst-table-to.c: New file.
* iconvdata/ New file.
* iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
(distribute): Add,,,
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, 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).
* Rules (binaries-static): Add $(tests-static).
2000-09-02 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
* libio/fmemopen.c (fmemopen_close): Revert one part of last
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.
2000-08-31 Bruno Haible <>
* 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.
2000-08-31 Bruno Haible <>
* 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
2000-08-31 Bruno Haible <>
* locale/categories.def (_NL_COLLATE_HASH_SIZE,
_NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
(_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
_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
(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
(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,
* 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
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 <bits/wchar.h>. 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 <bits/wchar.h>. 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.
* time/getdate.c: Add extra access test.
2000-08-31 Ulrich Drepper <>
* version.h (VERSION): Bump to 2.1.93.
* sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
* sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
* 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/ Put MALLOC_TRACE in environment of tst-gettext.
* elf/dl-reloc.c: Add a few more __builtin_expect.
* Remove --with-gettext option.
* intl/dcigettext.c (free_mem): Correct freeing of
_nl_domain_bindings list.
* sysdeps/generic/setenv.c (free_mem): New function. Free all
allocated memory.
* intl/locale.alias: Add aliases for bokmal and nynorsk.
* locale/iso-639.def: Fix 639-1 code for Bokmal.
* stdio-common/itoa-digits.c: Move upper digits to...
* stdio-common/itoa-udigits.c: New file.
* stdio-common/Makefile (routines): Add itoa-udigits.
* sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
relocate don't add supprt for relocations which should not
appear in
* malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
__secure_getenv. Instead test __libc_enable_secure once.
* io/pwd.c (main): Provide a good example, use *_unlocked function.
2000-08-30 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
(tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
* sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
* 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
* 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
(_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.
* elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
* elf/dl-load.c (fillin_rpath): Only check for trusted directories
when adding new entries.
* elf/dl-load.c (fillin_rpath): Make local copy of where string
since the object being loaded can be unloaded.
* iconvdata/Makefile (tests): Add tst-loading.
* iconvdata/tst-loading.c: New file.
2000-08-29 Bruno Haible <>
* 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.
2000-08-30 Ulrich Drepper <>
* time/strftime.c (my_strftime): Add compatibility code for use
outside glibc. Patch by Jim Meyering <>.
* sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
return 0 for success but always < 0 on failure.
* nss/getXXbyYY_r.c: Define result to *result before including
2000-08-30 Andreas Jaeger <>
* math/ (parse_ulps): Remove extra \.
2000-08-29 Ulrich Drepper <>
* 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.
* iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
always true.
* libio/iogetline.c: Set mode before the loop in case n==0.
* libio/iogetwline.c: Likewise.
2000-08-29 H.J. Lu <>
* 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.
2000-08-29 Akira Higuchi <>
* 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.
* iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
instead of 'inptr - inend' to ksc5601_to_ucs4.
* iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
* 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
* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
__GCONV_ILLEGAL_INPUT for 8bit characters.
2000-08-29 Ulrich Drepper <>
* signal/signal.h (sigpause): Move __THROW before __asm__.
* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
names don't match don't return.
Patch by Olaf Kirch <>.
2000-08-28 Ulrich Drepper <>
* time/strftime.c (my_strftime): Handle # flag for %b as well.
2000-08-27 H.J. Lu <>
* posix/Makefile (otherlibs): Add for building with static-nss
for "make check".
2000-08-28 Ulrich Drepper <>
* libio/stdio.h: Add fmemopen prototype.
2000-08-25 Andreas Jaeger <>
* 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 <>.
2000-08-28 Ulrich Drepper <>
* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
inclusion. Patch by Jes Sorensen <>.
* locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
to avoid crashing statically linked applications.
2000-08-27 Bruno Haible <>
* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
If nrules == 0 and srclen < n, copy only srclen + 1 characters.
* sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
If the result is fits in the buffer, copy only as many bytes as needed.
* sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
buffer after copying numbuf into it.
* sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2000-08-27 Bruno Haible <>
* posix/confstr.c (confstr): When string_len > len, NUL-terminate
the result. When string_len < len, don't clear the rest of the buffer.
2000-08-27 Bruno Haible <>
Support for new LC_COLLATE format.
* locale/coll-lookup.h: New file.
* locale/weightwc.h (findidx): When size == 0, call
* 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
* 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
* 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.
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.
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 <locale.h> since libintl.h doesn't if
we are not optimizing.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
* stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
really match EOF.
Patch by Franz Sirl <>.
2000-08-28 Andreas Jaeger <>
* sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2000-08-28 Mark Kettenis <>
* 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.
2000-08-28 Martin Schwidefsky <>
* 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.
2000-08-28 Ulrich Drepper <>
* sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
(CFLAGS-initfini.s): Add -DWEAK_GMON_START.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
* elf/dl-close.c (_dl_close): Print debug message if object is not
* elf/dl-open.c (dl_open_worked): Print message about opencount before
returning to caller.
* po/zh.po: Renamed to...
* po/zh_TW.po: ...this.
2000-08-27 Geoff Keating <>
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
* 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.
2000-08-27 Ulrich Drepper <>
* 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 (free_mem): Add cast to avoid warning.
* intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
to determine invalid locale name.
* locale/findlocale.c (_nl_find_locale): Likewise.
* posix/annexc.c: Correct test for unavailable feature.
* sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2000-08-26 Ulrich Drepper <>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
* 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
* 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
(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.
2000-08-25 Ulrich Drepper <>
* 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.
2000-08-21 Jes Sorensen <>
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
getrlimit to the list.
2000-08-18 Jes Sorensen <>
* sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
long double format so use ldbl-96 instead of ldbl-128.
2000-08-25 Ulrich Drepper <>
* 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.
* Makeconfig: Ensures the part of Makefile gets
included before building gnu/lib-names.h
Patch by Maciej W. Rozycki <>.
* elf/dl-close.c (_dl_close): Don't run destructors of objects
marked DF_1_NODELETE.
* sysdeps/posix/system.c (__libc_system): We cannot use vfork here
since we call sigaction in the child.
2000-08-25 Andreas Jaeger <>
* iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2000-08-25 Andreas Jaeger <>
* manual/arith.texi (Control Functions): Clarify possible
arguments. Closes PR libc/1856.
2000-08-24 H.J. Lu <>
* stdio-common/Makefile (tests): Don't do it for cross compiling.
* malloc/Makefile (tests): Likewise.
2000-08-24 Ulrich Drepper <>
* iconvdata/unicode.c (gconv_init): Correct test for direction.
2000-08-24 Andreas Jaeger <>
* malloc/Makefile (extra-objs): Fix last patch, build memusagestat
only if LIBGD is available.
2000-08-24 Ulrich Drepper <>
* resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
problems with now restrict parameter types.
(convaddr4to6): Likewise.
2000-08-24 Denis Joseph Barrow <>
* 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
2000-08-24 Andreas Jaeger <>
* malloc/Makefile (extra-objs): Add memusagestat.o.
(generated): Added memusage and memusagestat for make clean.
* libio/tst_putwc.c (do_test): Delete temporary file.
Move inclusion of test-skeleton to front to have prototype for
* posix/Makefile (generated): Add wordexp-tst.out.
2000-08-24 Ulrich Drepper <>
* resolv/res_hconf.c (free_mem): Remove not needed if.
* 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.
2000-08-24 Andreas Jaeger <>
* sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
* sysdeps/unix/sysv/syscalls.list: Likewise.
* posix/unistd.h: Move internal prototypes from here ...
* include/unistd.h: ... to here.
* sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2000-08-24 Ulrich Drepper <>
* grp/initgroups.c (initgroups): Deallocate groups array.
Reported by [PR libc/1868].
* sysdeps/s390/Dist: Add fpu/fenv_libc.h.
* sysdeps/alpha/Dist: Likewise.
2000-08-23 Ulrich Drepper <>
* crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
destructor). Reported by Solar Designer <>.
* iconv/gconv_conf.c (add_module): Remove some unneeded code to
avoid adding double slashes.
2000-08-23 Jakub Jelinek <>
* dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
out of the __REDIRECT macro.
2000-08-23 Ulrich Drepper <>
* stdio-common/vfscanf.c: Add %F format support.
* locale/programs/ld-ctype.c (ctype_output): Make sure
(ctype_read): Enable returning of wide character strings for reading
transliteration information.
2000-08-23 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
Use static __inline instead of _EXTERN_INLINE.
* misc/sys/select.h: Move prototypes of __select from here ...
* include/sys/select.h: ... to here.
* socket/sys/socket.h: Move prototypes of __send and __connect
from here....
* include/sys/socket.h: ... to here.
* locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2000-08-23 Jakub Jelinek <>
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
__setrlimit as strong name. Takes only 2 arguments.
* sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
takes only 2 arguments.
2000-08-23 Martin Schwidefsky <>
* sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
* sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2000-08-23 Ulrich Drepper <>
* locale/programs/ld-ctype.c (ctype_read): Allow more than one
default_missing character being specified, pick the first
2000-08-23 Andreas Jaeger <>
* include/wchar.h: Add some pure attributes.
* time/time.h: Add const attribute for dysize.
* include/stdlib.h: Add malloc attribute to __posix memalign.
* stdlib/stdlib.h: Add some pure and malloc attributes.
* wcsmbs/wchar.h: Likewise.
* dirent/dirent.h: Add some pure attributes.
* include/dirent.h: Likewise.
2000-08-23 Jakub Jelinek <>
* inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
on 64bit arches.
2000-08-22 Ulrich Drepper <>
* iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
missing buffer size checks.
2000-08-23 Andreas Jaeger <>
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
strong name.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* 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.
2000-08-22 Ulrich Drepper <>
* stdio-common/vfprintf.c: Handle %F format.
* stdio-common/printf-parse.h (parse_one_spec): Likewise.
Reported by Joseph S. Myers <>.
* stdio-common/tstdiomisc.c: Add test for %F printf format.
* po/zh.po: New file.
* 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.
* locale/iso-4217.def: Update entry for Nicaragua.
2000-08-22 Mark Kettenis <>
* hurd/hurdsig.c: Rearrange headers a bit.
(_hurdsig_init): Block until _hurd_msgport_thread is initialized
when cthreads is being used.
2000-08-22 Ulrich Drepper <>
* 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.
* stdlib/random_r.c: Cleanups.
* stdlib/tst-random.c: New file.
* stdlib/Makefile (tests): Add tst-random.
Patches by Michael Fischer <>.
2000-08-21 Martin Schwidefsky <>
* 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.
2000-08-22 Jakub Jelinek <>
* sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
(__syscall__sysctl): Add.
2000-08-21 Andreas Jaeger <>
* stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
* stdlib/tst-strtoll.c: Likewise.
2000-08-21 Ulrich Drepper <>
* stdlib/random_r.c (__setstate_r): Also compute end_ptr
(__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 <>.
* posix/regex.h: Add macro definitions to allow compiling outside
* sysdeps/i370/Implies: Removed.
* sysdeps/mvs/Implies: Removed.
* catgets/catgets.c (catopen): Filter out env_var values with / if
* locale/findlocale.c (_nl_find_locale): Move test for unusable
locale name after all getenvs.
* Allow sed versions like 3.02.8.
Patch by Rodrigo Barbosa <>.
2000-08-21 Marko Myllynen <>
* inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2000-08-21 Ulrich Drepper <>
* sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
of gethostbyname2_r call.
* intl/locale.alias: Add aliases for Korean.
2000-08-21 Martin Schwidefsky <>
* 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.
2000-08-21 Andreas Jaeger <>
* include/poll.h: Include include/sys/poll.h to get __poll
* io/sys/poll.h: Move __poll declaration from here...
* include/sys/poll.h: here.
* include/sys/socket.h (__getpeername): Add declaration.
* include/wchar.h (__vswprintf): Add declaration.
* include/stdio.h (__flockfile): Add declaration.
(__funlockfile): Likewise.
2000-08-20 Ulrich Drepper <>
* 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.
* posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
and posix_spawnattr_setscheparam.
* libio/stdio.h: Make cuserid prototype again available for all
XPG versions.
* argp/argp-help.c: Unify use of function aliases to make more compact
* 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.