summaryrefslogtreecommitdiff
path: root/io
AgeCommit message (Collapse)Author
2002-10-19* configure: Regenerated (using Autoconf 2.54).Roland McGrath
* sysdeps/alpha/elf/configure: Likewise. * sysdeps/generic/configure: Likewise. * sysdeps/i386/elf/configure: Likewise. * sysdeps/ia64/elf/configure: Likewise. * sysdeps/mach/hurd/configure: Likewise. * sysdeps/mach/configure: Likewise. * sysdeps/unix/configure: Likewise. * sysdeps/unix/common/configure: Likewise. * sysdeps/unix/sysv/aix/configure: Likewise. * sysdeps/unix/sysv/linux/configure: Likewise. * sysdeps/unix/sysv/linux/mips/configure: Likewise. * sysdeps/x86_64/elf/configure: Likewise. * config.make.in: Nix completely-soft nonsense. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory of machine directories instead of fpu subdirectory. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ... * sysdeps/powerpc/nofpu/sim-full.c: ... here. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ... * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ... * sysdeps/powerpc/nofpu/fegetexcept.c: ... here. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ... * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ... * sysdeps/powerpc/nofpu/ftestexcept.c: ... here. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ... * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ... * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ... * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ... * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ... * sysdeps/powerpc/nofpu/fegetenv.c: ... here. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ... * sysdeps/powerpc/nofpu/fesetenv.c: ... here. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ... * sysdeps/powerpc/nofpu/fegetround.c: ... here. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ... * sysdeps/powerpc/nofpu/fesetround.c: ... here. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ... * sysdeps/powerpc/nofpu/feupdateenv.c: ... here. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ... * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ... * sysdeps/powerpc/nofpu/fenv_const.c: ... here. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ... * sysdeps/powerpc/nofpu/libm-test-ulps: ... here. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ... * sysdeps/powerpc/nofpu/soft-supp.h: ... here. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... * sysdeps/powerpc/nofpu/Versions: ... here, new file. 2002-10-19 Bruno Haible <bruno@clisp.org> * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file. 2002-10-18 Roland McGrath <roland@redhat.com> * io/Makefile (routines): Add lchmod. * io/sys/stat.h [__USE_BSD] (lchmod): Declare it. * sysdeps/generic/lchmod.c: New file. * sysdeps/mach/hurd/lchmod.c: New file. * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
2002-09-30Fix format strings.Andreas Jaeger
2002-09-24* catgets/open_catalog.c (__open_catalog): Don't use a value typeRoland McGrath
as the __builtin_expect expression, just the Boolean value. * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. * resolv/res_hconf.c (arg_service_list, parse_line): Likewise. * iconvdata/tst-loading.c (main): Likewise. * catgets/tst-catgets.c (main): Likewise. * stdlib/tst-xpg-basename.c (main): Likewise. * stdlib/tst-bsearch.c (main): Likewise. * stdio-common/test-vfprintf.c (main): Likewise. * stdio-common/tst-rndseek.c (do_test): Likewise. * libio/tst_swprintf.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise. * time/tst-posixtz.c (main): Likewise. * time/tst-strptime.c (test_tm): Likewise. * time/tst-strptime.c (main): Likewise. * time/tst-getdate.c (main): Likewise. * posix/tst-mmap.c (main): Likewise. * posix/tst-getaddrinfo.c (do_test): Likewise. * io/tst-getcwd.c (do_test): Likewise. * resolv/tst-aton.c (main): Likewise. * inet/tst-network.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int for PTYNO. * stdlib/msort.c (qsort): Add a cast to silence warning. * stdio-common/vfprintf.c (process_string_arg): Likewise. * libio/oldfileops.c (_IO_old_do_write): Likewise. * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * sysdeps/unix/grantpt.c (grantpt): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise. * rt/tst-aio.c (test_file): Likewise. * rt/tst-aio64.c (test_file): Likewise. * resolv/tst-aton.c (main): Likewise. * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant. * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t instead of uint32_t in these macros.
2002-09-062002-09-04 Bruno Haible <bruno@clisp.org>Roland McGrath
* sysdeps/generic/bits/ustat.h: Comment fix. * io/sys/sendfile.h: Comment fix. * sysdeps/posix/pread.c: Comment fix. * sysdeps/posix/pread64.c: Comment fix. * sysdeps/posix/pwrite.c: Comment fix. * sysdeps/posix/pwrite64.c: Comment fix.
2002-06-05* io/Makefile (routines): Add sendfile and sendfile64.Roland McGrath
(headers): Add sys/sendfile.h to the list. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here. * sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ... * io/sys/sendfile.h: ... here. * sysdeps/generic/sendfile.c: New file. * sysdeps/generic/sendfile64.c: New file. * sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3): Move sendfile, sendfile64 to ... * io/Versions (GLIBC_2.1, GLIBC_2.3): ... here. * sysdeps/mach/hurd/sendfile.c: New file. * sysdeps/mach/hurd/sendfile64.c: New file. * sysdeps/mach/nanosleep.c: New file.
2002-02-07Update.Ulrich Drepper
2002-02-07 Andreas Schwab <schwab@suse.de> * configure.in: Fix check for -zcombreloc. 2002-02-06 H.J. Lu <hjl@gnu.org> * config.h.in (HAVE_BUILTIN_MEMSET): New. * configure.in: Check if __builtin_memset really works. * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of __GNUC_PREREQ (2, 96) before using __builtin_memset. 2002-02-06 Jakub Jelinek <jakub@redhat.com> * io/bug-ftw3.c (main): Don't try the test if root. 2002-02-06 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly constraints. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS): Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone a weak alias for __clone. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate. * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap a weak alias for __mmap64. * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed.
2002-02-01Update.Ulrich Drepper
2002-02-01 Jakub Jelinek <jakub@redhat.com> * Versions.def (libc): Add GLIBC_PRIVATE. (libdb, libnss_db, libdb1): Remove. (libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis, libnss_nisplus): Move all symbols to GLIBC_PRIVATE. (libpthread): Add GLIBC_PRIVATE. (libresolv): Likewise, remove GLIBC_2.1. (ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1, GLIBC_2.2.3, GLIBC_2.3. * catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE. * elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first, _dl_sym, _dl_vsym): Likewise. (__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error, _dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize, _dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute, _dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip, _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip, _dl_map_object, _dl_map_object_deps, _dl_out_of_memory, _dl_relocate_object, _dl_signal_error, _dl_start_profile, _dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global): Likewise. (_dl_object_relocation_scope): Remove. * hesiod/Versions: Move all symbols to GLIBC_PRIVATE. * iconv/Versions (__gconv_alias_db, __gconv_modules_db, __gconv_cache): Move to GLIBC_PRIVATE. * inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r, __internal_setnetgrent): Likewise. * io/Versions (__libc_open, __libc_close, __libc_read, __libc_write, __libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise. * locale/Versions (__collate_element_hash, __collate_element_strings, __collate_symbol_classes, __collate_symbol_hash, __collate_symbol_strings, _nl_current_LC_COLLATE, _nl_current_LC_CTYPE): Likewise. * misc/Versions (__libc_fsync, __libc_msync): Likewise. * nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE. (libnss_nis, libnss_nisplus): Likewise. * nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent, _nss_files_parse_spent): Move to GLIBC_PRIVATE. (libnss_files): Move all symbols to GLIBC_PRIVATE. * posix/Versions (__libc_wait, __libc_waitpid, __libc_pause, __libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64, __libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE. * resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop, __ns_get16, __ns_samename): Likewise. (libnss_dns): Move all symbols to GLIBC_PRIVATE. * setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to GLIBC_PRIVATE. * socket/Versions (__libc_accept, __libc_send, __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto, __libc_connect): Likewise. * stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits): Likewise. * stdlib/Versions (__libc_system): Likewise. * sunrpc/Versions (__rpc_thread_destroy): Likewise. * sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE. * sysdeps/ia64/fpu/Versions: Likewise. * sysdeps/ia64/Versions: Likewise. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. * sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move to GLIBC_PRIVATE. * sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise. * sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo, __libc_sigaction): Likewise. * termios/Versions (__libc_tcdrain): Likewise. * misc/sys/cdefs (__attribute_noinline__): Define. * elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add __attribute_noinline__. * elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64. * elf/dl-xstat64.c: New file. * elf/dl-fxstat64.c: New file. * sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined, don't export __fxstat64 at multiple versions. * sysdeps/unix/sysv/linux/lxstat64.c: Similarly. * sysdeps/unix/sysv/linux/xstat64.c: Similarly.
2001-12-29Update.Ulrich Drepper
* io/fts.c: Update from BSD to fix memory leaks. 2001-12-25 Dmitry V. Levin <ldv@alt-linux.org>
2001-12-28Update.Andreas Jaeger
2001-12-28 Andreas Jaeger <aj@suse.de> * io/bug-ftw3.c: Include string.h for prototypes. * crypt/md5test.c (main): Remove unused variable. * linuxthreads_db/td_init.c (td_init): Don't use __FUNCTION__ as literal. * linuxthreads_db/td_log.c (td_log): Likewise. * linuxthreads_db/td_ta_delete.c (td_ta_delete): Likewise. * linuxthreads_db/td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise. * linuxthreads_db/td_ta_get_ph.c (td_ta_get_ph): Likewise. * linuxthreads_db/td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise. * linuxthreads_db/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise. * linuxthreads_db/td_ta_new.c (td_ta_new): Likewise. * linuxthreads_db/td_ta_clear_event.c (td_ta_clear_event): Likewise. * linuxthreads_db/td_ta_enable_stats.c (td_ta_enable_stats): Likewise. * linuxthreads_db/td_ta_event_addr.c (td_ta_event_addr): Likewise. * linuxthreads_db/td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise. * linuxthreads_db/td_ta_get_stats.c (td_ta_get_stats): Likewise. * linuxthreads_db/td_ta_reset_stats.c (td_ta_reset_stats): Likewise. * linuxthreads_db/td_ta_set_event.c (td_ta_set_event): Likewise. * linuxthreads_db/td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise. * linuxthreads_db/td_ta_thr_iter.c (td_ta_thr_iter): Likewise. * linuxthreads_db/td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise. * linuxthreads_db/td_thr_clear_event.c (td_thr_clear_event): Likewise. * linuxthreads_db/td_thr_dbresume.c (td_thr_dbresume): Likewise. * linuxthreads_db/td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise. * linuxthreads_db/td_thr_event_enable.c (td_thr_event_enable): Likewise. * linuxthreads_db/td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise. * linuxthreads_db/td_thr_get_info.c (td_thr_get_info): Likewise. * linuxthreads_db/td_thr_getfpregs.c (td_thr_getfpregs): Likewise. * linuxthreads_db/td_thr_getgregs.c (td_thr_getgregs): Likewise. * linuxthreads_db/td_thr_getxregs.c (td_thr_getxregs): Likewise. * linuxthreads_db/td_thr_getxregsize.c (td_thr_getxregsize): Likewise. * linuxthreads_db/td_thr_set_event.c (td_thr_set_event): Likewise. * linuxthreads_db/td_thr_setfpregs.c (td_thr_setfpregs): Likewise. * linuxthreads_db/td_thr_setgregs.c (td_thr_setgregs): Likewise. * linuxthreads_db/td_thr_setprio.c (td_thr_setprio): Likewise. * linuxthreads_db/td_thr_setsigpending.c (td_thr_setsigpending): Likewise. * linuxthreads_db/td_thr_setxregs.c (td_thr_setxregs): Likewise. * linuxthreads_db/td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise. * linuxthreads_db/td_thr_tsd.c (td_thr_tsd): Likewise. * linuxthreads_db/td_thr_validate.c (td_thr_validate): Likewise. * dlfcn/modstatic.c: Add prototype to avoid warning.
2001-12-17Update.Ulrich Drepper
2001-12-17 Ulrich Drepper <drepper@redhat.com> * io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir different than implemented in last patch. * io/bug-ftw3.c: Adjust test for changed handling of inaccessibility of toplevel dir.
2001-12-17(ftw_dir): Handle inaccessibility of toplevel dir different than implemented ↵Ulrich Drepper
in last patch.
2001-12-10Update.Ulrich Drepper
2001-12-10 Thorsten Kukuk <kukuk@suse.de> * io/ftw.c (ftw_startup): Check, if the path is search and readable. * io/Makefile (tests): Add bug-ftw3. * io/bug-ftw3.c: New file.
2001-11-05Update.Ulrich Drepper
2001-11-05 Ulrich Drepper <drepper@redhat.com> * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64. 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk> * manual/string.texi: Fix typos. * manual/examples/argp-ex2.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP): * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
2001-08-20Update.Ulrich Drepper
* io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
2001-08-18Update.Ulrich Drepper
2001-08-18 Ulrich Drepper <drepper@redhat.com> * conform/conformtest.pl: Change namespace test to take #undef lines into account. * conform/data/netinet/in.h-data: Fix typo in allow-header line. * conform/data/sys/socket.h-data: Add sockatmark.
2001-08-18Update from recent BSD source.Ulrich Drepper
2001-07-06Update to LGPL v2.1.Andreas Jaeger
2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
2001-06-11Update.Andreas Jaeger
2001-06-11 Michael Deutschmann <michael@talamasca.ocis.net> * rt/tst-aio4.c (do_test): Test whether rt signals are supported. Use my_signo instead of MY_SIGNO and initialize it so that the used signal is always available. 2001-06-11 Andreas Jaeger <aj@suse.de>, Michael Deutschmann <michael@talamasca.ocis.net> * io/test-lfs.c (do_prepare): Clean up error messages. (test_ftello): Check for EFBIG and ENOSP, clean up error messages. (do_test): Likewise. 2001-06-11 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC, IMAXBEL): Make always visible since they're needed by POSIX. Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>. 2001-06-10 Ben Collins <bcollins@debian.org> * sysdeps/arm/elf/start.S: Use #function, not @function, for .type of _start. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get INT_MAX. 2001-06-07 H.J. Lu <hjl@gnu.org> * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
2001-02-26Update.Ulrich Drepper
2001-02-26 Ulrich Drepper <drepper@redhat.com> * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c. (tests): Add tstatexit and tstcxaatexit. (module-names): Add modatexit and modcxaatexit. Add rules to build and run tstatexit and tstcxaatexit. * dlfcn/modatexit.c: New file. * dlfcn/modcxaatexit.c: New file. * dlfcn/tstatexit.c: New file. * dlfcn/tstcxaatexit.c: New file. * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if .hidden is available. * io/stat.c: If .hidden is available use it to avoid exporting functions. * io/fstat.c: Likewise. * io/lstat.c: Likewise. * io/stat64.c: Likewise. * io/fstat64.c: Likewise. * io/lstat64.c: Likewise. * sysdeps/generic/mknod.c: Likewise. * malloc/mtrace.c: Use __cxa_atexit and not atexit. * sysdeps/generic/bb_init_func.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c. (atexit): Implement using __cxa_atexit. Use .hidden if availble to avoid exporting atexit. * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c. * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3. * stdlib/Makefile (routines): Add old_atexit. (static-only-routines): Add atexit. Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available. * stdlib/old_atexit.c: New file. * intl/Makefile: Remove bogus endif.
2001-02-13Update.Ulrich Drepper
* io/ftw.c: Always use readdir64. * io/ftw64.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. * sysdeps/generic/glob.c: Likewise. Convert results if gl_readdir callback to dirent. Still allow compiling outside glibc. * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64. * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise. * malloc/mtrace.c: Use fopen64. * posix/spawni.c: Use __open64. * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/sysv/linux/gethostid.c: Likewise. * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old name a weak alias. * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. * resolv/res_data.c: Add cast to avoid warning. * include/unistd.h: Declare __ftruncate64. * sysdeps/generic/utmp_file.c: Use LFS functions and type.
2001-02-05Update.Andreas Jaeger
* io/test-lfs.c (do_test): Test lseek64 return value, call test_ftello. (test_ftello): New function to test ftello64 and fseeko64.
2001-02-05Update.Andreas Jaeger
2001-02-05 Andreas Jaeger <aj@suse.de> * io/fcntl.h: Move __fcntl and __open to... * include/fcntl.h: ...here.
2001-01-27Update.Ulrich Drepper
* io/sys/poll.h: Define nfds_t and use it in poll prototype. * sysdeps/generic/poll.c: Use nfds_t type in function definition. * sysdeps/mach/hurd/poll.c: Likewise. * sysdeps/unix/bsd/poll.c: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/aix/poll.c: Likewise. * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC. * sysdeps/unix/sysv/linux/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise. * conform/data/poll.h-data: Fix typo in poll prototype.
2001-01-26Update.Ulrich Drepper
* io/sys/stat.h: Define S_IFSOCK for XPG6. * conform/data/fcntl.h-data: posix_madvise is not expected here.
2001-01-20Update.Ulrich Drepper
2001-01-20 Ulrich Drepper <drepper@redhat.com> * io/ftw.c (ftw_dir): Add slash after directory name if there wasn't any. Reported by loris <loris@iol.it>. * io/Makefile (tests): Add bug-ftw2. * io/bug-ftw2.c: New file.
2001-01-08Update.Ulrich Drepper
* intl/dcigettext.c: Fix a few warnings. Patch by Bruno Haible <haible@ilog.fr>. 2001-01-08 Andreas Jaeger <aj@suse.de> * io/test-lfs.c (do_test): Check lseek64 return for EINVAL. Reported by Joseph S. Myers <jsm28@cam.ac.uk>. 2001-01-08 Ulrich Drepper <drepper@redhat.com>
2001-01-05Update.Ulrich Drepper
* io/ftw.c (ftw_dir): Don't add a second slash at the beginning for searches from the root directory. Reported by loris <loris@iol.it> [PR libc/1991]. * io/Makefile (tests): Add bug-ftw1. * io/bug-ftw1.c: New file.
2000-12-31* malloc/memusagestat.c (main): Use return instead of exit to Andreas Jaeger
avoid warning. * io/pwd.c (main): Likewise. * iconvdata/tst-table-from.c (main): Likewise. * ctype/test_ctype.c (main): Likewise. * setjmp/tst-setjmp.c (main): Likewise. * signal/tst-signal.c (main): Likewise. * stdlib/tst-strtol.c (main): Likewise. * stdlib/tst-strtod.c (main): Likewise. * stdlib/tst-strtoll.c (main): Likewise. * stdlib/tst-xpg-basename.c (main): Likewise. * dirent/tst-seekdir.c (main): Likewise. * grp/testgrp.c (main): Likewise. * inet/test_ifindex.c (main): Likewise. * io/test-utime.c (main): Likewise. * posix/test-vfork.c (main): Likewise. * posix/testfnm.c (main): Likewise. * stdio-common/temptest.c (main): Likewise. * stdio-common/test_rdwr.c (main): Likewise. * stdio-common/tst-fileno.c (main): Likewise. * stdio-common/tst-sscanf.c (main): Likewise. * stdio-common/tstscanf.c (main): Likewise. * string/bug-strncat1.c (main): Likewise. * string/bug-strpbrk1.c (main): Likewise. * string/bug-strspn1.c (main): Likewise. * string/test-ffs.c (main): Likewise. * string/tst-inlcall.c (main): Likewise. * string/tst-svc.c (main): Likewise. * timezone/test-tz.c (main): Likewise. * wctype/test_wcfuncs.c (main): Likewise. * wctype/test_wctype.c (main): Likewise. * stdlib/tst-random.c: Add attribute noreturn to fail.
2000-12-16Update.Ulrich Drepper
2000-12-16 Ulrich Drepper <drepper@redhat.com> * timezone/asia: Update from tzdata2000h. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. 2000-12-14 Jakub Jelinek <jakub@redhat.com> * io/ftw.c (ftw_dir): If process_entry returned non-zero result and dir.stream is NULL, only free dir.content. * io/ftwtest.c (cb, main): Add --early-exit option to test it. * io/ftwtest-sh: Test with --early-exit.
2000-11-20Update.Ulrich Drepper
2000-11-20 Jakub Jelinek <jakub@redhat.com> * iconvdata/bug-iconv2.c (main): Use %zd in format string. * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. * malloc/tst-valloc.c (main): Cast valloc return value to long. * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. * math/test-fpucw.c (main): Use %lx in format string, cast control words to long. * stdio-common/tst-fmemopen.c (main): Use %td in format strings. * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so large that it is unsigned warning. * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing it to long on sparc64. 2000-11-20 Andreas Jaeger <aj@suse.de> * nscd/nscd.h (termination_handler): Add noreturn attribute. (receiv_print_stats): Likewise. * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2000-11-10Update.Ulrich Drepper
* io/Versions (GLIBC_2.1.1): Remove lockf64. See ChangeLog.11 for earlier changes.
2000-11-09Update.Ulrich Drepper
2000-11-09 H.J. Lu <hjl@gnu.org> * io/Versions (GLIBC_2.2): Add __open64.
2000-10-29Update.Ulrich Drepper
* io/Makefile (tests): Add test-stat2. (test-stat2-ARS): New variable. * io/test-stat2.c: New file.
2000-10-26Update.Ulrich Drepper
* io/Makefile (tests): Add tst-fcntl. * io/tst-fcntl.c: New file.
2000-10-26Update.Ulrich Drepper
* io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems without LFS support.
2000-10-24* io/test-lfs.c (do_prepare): Call setrlimit64, in case the user Geoff Keating
has a limit set---for instance, a limit of 2^31 bytes, which can't easily be reset by non-LFS-aware shells. 2000-10-24 Geoffrey Keating <geoffk@cygnus.com> * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user has a limit set---for instance, a limit of 2^31 bytes, which can't easily be reset by non-LFS-aware shells.
2000-10-21(main): The output was missing a newline.Ulrich Drepper
2000-09-14Update.Ulrich Drepper
* io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and don't fail.
2000-09-01Update.Ulrich Drepper
* inet/rcmd.c: Use *stat64 instead of *stat internally. * inet/ruserpass.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 <drepper@redhat.com>
2000-08-31Update.Ulrich Drepper
2000-08-31 Ulrich Drepper <drepper@redhat.com> * 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-21Update.Andreas Jaeger
2000-08-21 Andreas Jaeger <aj@suse.de> * include/poll.h: Include include/sys/poll.h to get __poll declaration. * io/sys/poll.h: Move __poll declaration from here... * include/sys/poll.h: ...to here. * include/sys/socket.h (__getpeername): Add declaration. * include/wchar.h (__vswprintf): Add declaration. * include/stdio.h (__flockfile): Add declaration. (__funlockfile): Likewise.
2000-08-21Update.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.
2000-08-12Update.Ulrich Drepper
2000-08-12 Ulrich Drepper <drepper@redhat.com> * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also defined.
2000-08-03* sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures. Greg McGary
* io/test-utime.c: Test passing NULL as utimbuf* arg.
2000-07-24Update.Ulrich Drepper
* string/endian.h: Explain the _*_ENDIAN constant values a bit more. Patch by scarlet@mit.edu [PR libc/1799]. * io/ftwtest-sh: Add -f parameter to chmod if -R is also given. [PR libc/1792]. * argp/argp-parse.c (parser_finalize): Reverse order in which parsers are run for ARGP_KEY_END. [PR libc/1755].
2000-07-16Update.Ulrich Drepper
2000-07-16 Ulrich Drepper <drepper@redhat.com> * Makefile: Rewrite rules for tests to run them only when necessary. * sort-test.sh: Produce output for failed tests. * tst-fmon.sh: Likewise. * tst-rpmatch.sh: Likewise.
2000-07-16Update.Ulrich Drepper
* io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
2000-07-16Update.Ulrich Drepper
2000-07-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch. Patch by Greg McGary <greg@mcgary.org>. * io/Makefile (tests): Add tst-getcwd. * io/tst-getcwd.c: New file.
2000-07-01Update.Ulrich Drepper
* assert/Depend: Add localedata. * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C. (test-assert-perr-ENV): New. Define LANGUAGE=C. * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and store value from relocation address to prevent unaligned trap. Suggested by Richard Henderson <rth@cygnus.com>. 2000-06-30 Jakub Jelinek <jakub@redhat.com> * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines if redirecting and either redirection is done using defines or not optimizing. 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2000-06-30Update.Andreas Jaeger
2000-06-30 Andreas Jaeger <aj@suse.de> * io/Makefile (CFLAGS-test-lfs.c): New. (tests): Add test-lfs. * io/test-lfs.c: New file.