aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-05-26Update.Ulrich Drepper
* posix/Makefile (tests): Add tst-truncate and tst-truncate64. * posix/tst-truncate.c: New file. * posix/tst-truncate64.c: New file.
2000-05-26Test for truncate and ftruncate.Ulrich Drepper
2000-05-26* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order Andreas Jaeger
of arguments dependend on endianness. * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2000-05-26Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/pread64.c: The little/big endian code was switched.
2000-05-26Update.Ulrich Drepper
* posix/Makefile (tests): Add tst-preadwrite64.
2000-05-26Update.Ulrich Drepper
2000-05-26 Ulrich Drepper <drepper@redhat.com> * posix/tst-preadwrite.c: Alloc file being used also for testing pread64 and pwrite64. * posix/tst-preadwrite64.c: New file.
2000-05-26Test for pread64 and pwrite64.Ulrich Drepper
2000-05-26Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the normal version now. * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check endianness to check how to pass argument. * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2000-05-26Update.Andreas Jaeger
2000-05-26 Andreas Jaeger <aj@suse.de> * elf/ldconfig.h: Update parameter list for process_elf_file. * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file): Add parameter file_length and pass it ot process_elf*file. * sysdeps/generic/readelflib.c (check_ptr): New. (process_elf_file): Use check_ptr to check all accesses to the mmapped file. Add parameter file_length. * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify library names. * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion. Closes PR libc/1573, reported by Bradley White <bww@laurelnetworks.com>.
2000-05-26Update.Andreas Jaeger
2000-05-25Update.Ulrich Drepper
2000-05-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if __FAST_MATH__ is defined.
2000-05-25Update.Ulrich Drepper
2000-05-22 Andreas Jaeger <aj@suse.de> * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. * manual/math.texi (FP Function Optimizations): Document gcc -ffast-math behaviour with mathinlines. * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline functions unless -ffast-math is given to gcc.
2000-05-25Update.Ulrich Drepper
2000-05-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, __sincosl): Guard with __USE_GNU.
2000-05-25Update.Ulrich Drepper
* csu/Makefile (routines): Add check_fds. * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID binaries. Add various __builtin_expect. * sysdeps/generic/libc-start.c: Move check_fds and helper functions... * sysdeps/generic/check_fds.c: ...here. New file. * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID binaries if file /etc/suid-debug is available.
2000-05-24Update.Ulrich Drepper
2000-05-24 Ulrich Drepper <drepper@redhat.com> * locale/programs/ld-collate.c (struct element_t): Add mbseqorder and wcseqorder members. (struct locale_collate_t): Likewise. (collate_finish): Assign collation sequence value to each character. Create tables for output. (collate_output): Write out tables with collation sequence information. * locale/C-collate.c: Provide C locale data for collation sequence table. * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and _NL_COLLATE_COLLSEQWC. * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and _NL_COLLATE_COLLSEQWC. * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before include fnmatch_loop.c. * posix/fnmatch_loop.c: Don't use strcoll while determining whether character is matched by range expression. Use collation sequence table. Outside glibc fall back on simple character value comparison.
2000-05-24(struct element_t): Add mbseqorder and wcseqorder members. (struct ↵Ulrich Drepper
locale_collate_t): Likewise. (collate_finish): Assign collation sequence value to each character. Create tables for output. (collate_output): Write out tables with collation sequence information
2000-05-24Update.Andreas Jaeger
* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double words.
2000-05-24Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS): Define it for newer kernels.
2000-05-24Update.Andreas Jaeger
2000-05-24 Andreas Jaeger <aj@suse.de> * intl/Makefile: Run gettext-test only if msgfmt is available.
2000-05-24* intl/Makefile: Run gettext-test only if msgfmt is available.Andreas Jaeger
2000-05-24Update.Ulrich Drepper
* elf/dl-sym.c: Minor cleanups.
2000-05-23Update.Ulrich Drepper
* configure.in: Add test for .protected. * config.make.in: Add have-protected variable.
2000-05-23Update.Ulrich Drepper
2000-05-23 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (tests): Add $(tests-vis-$(have-protected)). (tests-vis-yes): Add vismain. (modules-names): Add $(modules-vis-$(have-protected)). (modules-vis-yes): Add vismod1, vismod2, and vismod3. Add rules to generate and run vismain. * elf/vismain.c: New file. * elf/vismod1.c: New file. * elf/vismod2.c: New file. * elf/vismod3.c: New file.
2000-05-23(tests): Add $(tests-vis-$(have-protected)). (tests-vis-yes): Add vismain. ↵Ulrich Drepper
(modules-names): Add $(modules-vis-$(have-protected)). (modules-vis-yes): Add vismod1, vismod2, and vismod3. Add rules to generate and run vismain.
2000-05-23Remove K&R support.Andreas Jaeger
2000-05-23Update.Andreas Jaeger
* csu/munch-tmpl.c (__libc_init): Remove K&R support. * dirent/scandir64.c: Likewise. * pwd/getpw.c: Likewise. * stdlib/bsearch.c (bsearch): Likewise. * stdlib/tst-strtoll.c: Likewise. * localedata/collate-test.c: Likewise. * localedata/xfrm-test.c: Likewise. * posix/bsd-getpgrp.c: Likewise. * sysdeps/alpha/fpu/bits/fenv.h: Likewise. * sysdeps/generic/bits/siginfo.h: Likewise. * sysdeps/generic/bits/sockaddr.h: Likewise. * sysdeps/generic/sys/swap.h: Likewise. * sysdeps/generic/sys/sysinfo.h: Likewise. * sysdeps/generic/vfork.c: Likewise. * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. * sysdeps/mach/hurd/fdopen.c: Likewise. * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes. * shadow/lckpwdf.c: Likewise. * stdlib/tst-strtol.c: Likewise. * sysdeps/generic/tcsetattr.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2000-05-23Remove duplicate.Andreas Jaeger
2000-05-23Update.Andreas Jaeger
2000-05-23 Andreas Jaeger <aj@suse.de> * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a. * manual/search.texi (Array Sort Function): Document that qsort is not necessarily in-place. * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731. * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
2000-05-232000-05-18 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731.
2000-05-22Update.Ulrich Drepper
2000-05-22 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements, free it and set to (void *) -1.
2000-05-22Update.Ulrich Drepper
2000-05-22 Jakub Jelinek <jakub@redhat.com> * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is not the second character in the range. * stdio-common/tstscanf.c (main): Add testcase for the above. Reported by jik@kamens.brookline.ma.us.
2000-05-22Update.Ulrich Drepper
2000-05-21 H.J. Lu <hjl@gnu.org> * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter with noexec and noplt parameter. (do_lookup): Likewise. * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of do_lookup. Support STV_PROTECTED. (_dl_lookup_symbol_skip): Likewise. (_dl_lookup_versioned_symbol): Likewise. (_dl_lookup_versioned_symbol_skip): Likewise. * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY. * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
2000-05-22(do_lookup_versioned): Replace reloc_type parameter with noexec and noplt ↵Ulrich Drepper
parameter. (do_lookup): Likewise.
2000-05-22Update.Andreas Jaeger
2000-05-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95. * sysdeps/i386/bits/huge_val.h: Likewise. * sysdeps/ieee754/bits/huge_val.h: Likewise. * sysdeps/m68k/bits/huge_val.h: Likewise. * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise. * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2000-05-222000-05-22 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* iconv/tst-iconv1.c (main): Remove const from inbuf to follow change in iconv.h. 2000-05-22 Andreas Jaeger <aj@suse.de> * iconv/tst-iconv1.c (main): Remove const from inbuf to follow change in iconv.h.
2000-05-22Update.Ulrich Drepper
2000-05-19 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which breaks compilation without linuxthreads.
2000-05-21Update.Ulrich Drepper
* sysdeps/ia64/memccpy.S: New file. * sysdeps/ia64/memchr.S: New file. * sysdeps/ia64/memcmp.S: New file. * sysdeps/ia64/memcpy.S: New file. * sysdeps/ia64/memmove.S: New file. * sysdeps/ia64/memset.S: New file. * sysdeps/ia64/strcat.S: New file. * sysdeps/ia64/strchr.S: New file. * sysdeps/ia64/strcmp.S: New file. * sysdeps/ia64/strcpy.S: New file. * sysdeps/ia64/strlen.S: New file. * sysdeps/ia64/strncmp.S: New file. * sysdeps/ia64/strncpy.S: New file. * sysdeps/ia64/softpipe.h: New file. Patches by Dan Pop <Dan.Pop@cern.ch>. * manual/memory.texi: Document memory handling functions (mlock, munlock, mlockall, munlockall, brk, and sbrk)
2000-05-21Update.Ulrich Drepper
2000-05-21 Ulrich Drepper <drepper@redhat.com> * manual/memory.texi: Document memory handling functions. * manual/time.texi: Document timespec and friends. * manual/conf.texi: Fix references. * manual/ctype.texi: Likewise. * manual/errno.texi: Likewise. * manual/intro.texi: Likewise. * manual/locale.texi: Likewise. * manual/sysinfo.texi: Likewise. Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2000-05-21Update.Ulrich Drepper
2000-05-09 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to... * sysdeps/ia64/dl-lookupcfg.h: ...here.
2000-05-21Update.Ulrich Drepper
2000-05-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate dxfer_direction.
2000-05-21Update.Ulrich Drepper
* locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for new standard elements. * locale/categories.def: Adjust accordingly.
2000-05-21Update.Ulrich Drepper
* manual/charset.texi (Generic Conversion Interface): Remove from inbuf parameter of iconv.
2000-05-21Update.Ulrich Drepper
* locale/locale.h (struct lconv): Add new elements from ISO C99. * locale/localeconv.c: Initialize new elements from ISO C99. * iconv/iconv_prog.c (process_block): Remove const from second parameter. (main): Remove const from addr definition.
2000-05-21Update.Ulrich Drepper
2000-05-21 Ulrich Drepper <drepper@redhat.com> * iconv/iconv.h (iconv): Remove const from inbuf parameter. * iconv/iconv.c: Likewise. * conform/data/iconv.h-data: Likewise. * intl/dcigettext.c: Fix typo in comment. David Huggins-Daines <dhd@linuxcare.com>
2000-05-21Fix typo in comment.Ulrich Drepper
2000-05-21Update.Andreas Jaeger
2000-05-20 2000 H.J. Lu <hjl@gnu.org> * resolv/res_libc.c (_res): Initialize _sock to -1. 2000-05-18 Jakub Jelinek <jakub@redhat.com> * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. (fopencookie@@GLIBC_2.2): New. (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. (fopencookie@GLIBC_2.0): New. * libio/Versions: Add fopencookie to GLIBC_2.2. * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731.
2000-05-18Update.Andreas Jaeger
2000-05-18 Andreas Jaeger <aj@suse.de> * manual/arith.texi (Parsing of Integers): Fix typo. Closes PR libc/1744, reported by blp@gnu.org.
2000-05-18Update.Andreas Jaeger
* sysdeps/generic/memmem.c (memmem): Check arguments to avoid possibly searching through the whole memory. Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
2000-05-17Update.Andreas Jaeger
2000-05-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add __extension__ to hexadecimal floating constant notation. * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise. * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): Likewise. (HUGE_VALL): Set to HUGE_VAL on sparc32.
2000-05-17Update.Andreas Jaeger
2000-05-17 Andreas Jaeger <aj@suse.de> * string/envz.h: Add pure attributes if possible. * string/argz.h: argz_count is a pure function. * string/strings.h: Add pure and const attributes if possible.