aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
1999-07-211999-07-21 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. Take new arg MAP. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise. * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use _dl_reloc_bad_type instead of _dl_signal_error. * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1999-07-211999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* sysdeps/mach/_strerror.c: Include <libintl.h>.
1999-07-201999-07-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* elf/dl-reloc.c (_dl_reloc_bad_type): New function. * elf/ldsodefs.h: Declare it. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it instead of assert. (elf_machine_lazy_rel): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_lazy_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. (elf_machine_lazy_rel): Likewise. 1999-07-21 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and <hurd/fd.h>. * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and <hurd/fd.h>. (__libc_write): Call __pwrite instead of __pread.
1999-07-20* sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.Roland McGrath
* sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
1999-07-201999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in __vm_allocate calls. 1999-07-20 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call _hurd_fd_read with new OFFSET argument set to -1. (__stdio_write): Call _hurd_fd_write with new OFFSET argument set to -1. 1999-07-17 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the descriptor table sent in the RPC.
1999-07-201999-07-19 Andreas Schwab <schwab@suse.de>Andreas Schwab
* libio/Makefile (routines): Add fwprintf. PowerPC has own version of w_sqrt.c and w_sqrtf.c. * math/w_sqrt.c: Moved to ... * sysdeps/generic/w_sqrt.c: ... here. * math/w_sqrtf.c: Moved to ... * sysdeps/generic/w_sqrtf.c: ... here. * Make-dist (generic-dirs): New variable. (try-sysdeps, +sysdep-names): Use it. * extra-lib.mk (all-$(lib)-routines): New variable. Use it instead of $(lib)-routines. * elf/Makefile (distribute): Add dl-cache.h. * db2/Makefile (distribute): Add all new files. * iconvdata/Makefile (distribute): Don't distribute CVS directory. * math/Makefile (distribute): Remove machine/endian.h, add math_ldbl.h. * stdio-common/Makefile (distribute): Add _itowa.h. * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h. * sysdeps/gnu/Dist: Add eval.c * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) = dlfcn]: Add to this instead of libdl-routines. * sysdeps/ieee754/ldbl-128/Dist: New file. * sysdeps/mach/hurd/Dist: Add siglist.h * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
1999-07-19Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed. >>>>>>> 1.2438
1999-07-18Update.Ulrich Drepper
1999-07-17 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
1999-07-17Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise * sysdeps/generic/bits/time.h: Likewise. * sysdeps/mach/hurd/bits/time.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise. * sysdeps/generic/bits/types.h: Likewise. * posix/sys/types.h: Define suseconds_t for X/Open.
1999-07-15Update.Ulrich Drepper
1999-07-15 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep program deterministic. * sysdeps/i386/fpu/e_powf.S: Likewise. * sysdeps/i386/fpu/e_powl.S: Likewise.
1999-07-15Update.Ulrich Drepper
1999-07-15 Jakub Jelinek <jj@ultra.linux.cz> * math/Makefile: Add t_sincosl and k_sincosl support routines. * math/math_private.h (__kernel_sincosl): New declaration. * sysdeps/generic/t_sincosl.c: New file. * sysdeps/generic/k_sincosl.c: New file. * sysdeps/ieee754/ldbl-128/k_cosl.c: New file. * sysdeps/ieee754/ldbl-128/k_sinl.c: New file. * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file. * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file. * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file. * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use __kernel_sincosl. * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New definition.
1999-07-15Update.Ulrich Drepper
1999-07-15 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb, _outw, _outl): Added to GLIBC_2.1.2.
1999-07-14Update.Ulrich Drepper
1999-07-13 Jakub Jelinek <jj@ultra.linux.cz> * elf/ldd.bash.in: Add support for multiple dynamic linkers. * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*, try both 32bit and 64bit dynamic linker. * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite script on all sparc targets. 1999-07-13 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer to int.
1999-07-14More corrections.Ulrich Drepper
* sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64 instead of ieee754. * sysdeps/generic/s_nextafter.c: ...here. * sysdeps/generic/s_nexttowardl.c: ...here.
1999-07-14Update.Ulrich Drepper
1999-07-12Update.Ulrich Drepper
1999-07-12 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive connections without a hostname set address to localhost address.
1999-07-11* sysdeps/mach/hurd/brk.c (static_data_start): New variable.Roland McGrath
(_hurd_set_brk, init_brk): Use that instead of &__data_start. Initialize it from &__data_start if defined, or else &_end. 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1999-07-09Update.Ulrich Drepper
1999-07-09 Cristian Gafton <gafton@redhat.com> * nscd/nscd_gethst_r.c (nscd_gethst_r): Make sure resultbuf->h_addr_list addresses are correctly aligned. * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old compilers. (__memset_cc): Likewise.
1999-07-09Update.Ulrich Drepper
* sysdeps/generic/libc-start.c: For SUID binaries check whether the standard file descriptors are open. Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1999-07-09Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap. * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in range of mmap. If not fail. Patches by Daniel Jacobowitz <dan@debian.org>.
1999-07-09Update.Ulrich Drepper
1999-07-09 Ulrich Drepper <drepper@cygnus.com> * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups. * hesiod/hesiod-grp.c: Add initgroups support. Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
1999-07-07Update.Ulrich Drepper
* sysdeps/gnu/Makefile (libdl-routines): Add eval. 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu> * dlfcn: New directory. Move the following files from elf: dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c, dlopenold.c, dlsym.c, dlvsym.c. * dlfcn/Makefile: New file. * dlfcn/Versions: New file. * dlfcn/dlsym.c: All ELF-specific code split out to new function _dl_sym. * dlfcn/dlvsym.c: All ELF-specific code split out to new function _dl_vsym. * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are implemented here. * dlfcn/dladdr.c: Remove all references to ELF data structures or headers. * dlfcn/dlclose.c: Likewise. * dlfcn/dlerror.c: Likewise. * dlfcn/dlopen.c: Likewise. * dlfcn/dlopenold.c: Likewise. * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is yes, empty otherwise. (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes, depending on build-shared. (subdirs): Add $(dlfcn). (rpath-dirs): Add dlfcn. * elf/Makefile: Remove all references to libdl or its components, except the ones relating to the test cases. (routines): Add dl-sym. * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2. (libdl): Delete. * elf/dl-close.c (_dl_close): Change argument to void *. * elf/dl-open.c (_dl_open): Change return type to void *. * elf/eval.c: Removed. * elf/ldsodefs.h: Move prototypes of _dl_catch_error, _dlerror_run, _dl_open, _dl_close, _dl_addr, and _dl_mcount_wrapper_check to include/dlfcn.h. Delete _CALL_DL_FCT macro. * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here. Include real header from dlfcn directory. * include/ldsodefs.h: Removed. * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent_r.c: Likewise. * iconv/gconv.c: Likewise. Don't include ldsodefs.h. * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h. * iconv/skeleton.c: Don't include ldsodefs.h. * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h. 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
1999-07-07Update.Ulrich Drepper
* sysdeps/generic/setenv.c: Describe problem. * malloc/malloc.c (request2size): Also set errno if failing.
1999-07-07Update.Ulrich Drepper
* sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd (NULL, != 0) correctly.
1999-07-07Update.Ulrich Drepper
1999-07-07 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getcwd.c: When resizing buffer make sure new size is large enough.
1999-07-07UpdateUlrich Drepper
1999-07-07 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted. (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions. (_PATH_DEVPTMX): Use _PATH_DEV. 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/tst-malloc.c: New file. Tests some basic functionality. * malloc/Makefile (tests): Add tst-malloc. * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
1999-07-06Update.Ulrich Drepper
* libio/oldtmpfile.c: Adjust call of __gen_tempname to match new convention.
1999-07-06Update.Ulrich Drepper
1999-07-06 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more motherboards. Patch by Jay Estabrook. * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in ldd for SPARC. * /sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file. Patch by Cristian Gafton. 1999-07-02 Cristian Gafton <gafton@redhat.com> * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0" instead of "return NULL" to make C++ happy. 1999-07-04 Mark Kettenis <kettenis@gnu.org> * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not allowed by the file access mode of the open file. 1999-07-06 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/setfpucw.c: Include math.h to get all needed macros defined. 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize. * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize. * sysdeps/sparc/sparc64/rshift.S: Likewise. * sysdeps/sparc/sparc64/mul_1.S: Optimize. 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> * malloc/malloc.c (request2size): Check for overflow and return NULL whenever it is encountered. 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu> * sysdeps/posix/tempname.c (__gen_tempname): Add ability to create directories. Replace OPENIT and LARGEFILE args with a single flags parameter. * sysdeps/generic/tempname.c: Likewise. * include/stdio.h: Adjust prototype of __gen_tempname to match. Define symbolic constants for second argument. * misc/mkdtemp.c: New file, provides new function mkdtemp(). * stdlib/stdlib.h: Prototype it. * misc/Versions: Export it. * misc/Makefile (routines): Add mktemp. * manual/filesys.texi: Document it. * misc/mktemp.c: Adjust call of __gen_tempname to match new convention. * misc/mkstemp.c: Likewise. * stdio-common/tempnam.c: Likewise. * stdio-common/tmpfile.c: Likewise. * stdio-common/tmpfile64.c: Likewise. * stdio-common/tmpnam.c: Likewise. * stdio-common/tmpnam_r.c: Likewise. 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support R_SPARC_OLO10 relocations. * elf/elf.h (R_SPARC_OLO10): Fix comment.
1999-07-01Update.Ulrich Drepper
1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * inet/rcmd.c (__icheckhost): Fix typo in last patch. 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon. * wcsmbs/wcsrchr.c (wcsrchr): Likewise. 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * posix/wordexp.c (parse_tilde): Handle failing call to get.*_r functions correctly for non-existing entry. * sysdeps/posix/cuserid.c (cuserid): Likewise. * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
1999-06-30Update.Ulrich Drepper
1999-06-30 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to getxxbyYY_r functions correctly for non-existing entry. * sunrpc/getrpcport.c: Likewise. * sunrpc/clnt_simp.c: Likewise. * inet/rexec.c: Likewise. * sunrpc/clnt_gen.c: Likewise. * inet/rcmd.c: Likewise. * sysdeps/generic/glob.c: Likewise.
1999-06-28Update.Ulrich Drepper
* sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN returns. * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise. * sysdeps/libm-ieee754/e_gammal_r.c: Likewise. Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185]. * elf/dl-dst.h: Fix typo. * elf/dl-open.c: Likewise. 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu> * elf/dl-libc.c: New file, provides three functions: __libc_dlopen, __libc_dlclose, __libc_dlsym. * include/dlfcn.h: Prototype them. Prototype _dl_addr. * elf/Makefile (routines): Add dl-libc.c. * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of argument to void *. * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match. * iconv/gconv.c: Include dlfcn.h. * iconv/gconv_db.c: Likewise. * malloc/mtrace.c: Likewise. Don't include ldsodefs.h. * iconv/gconv_int.h (struct __gconv_loaded_object): Change `handle' to a void *. (__gconv_find_func): Delete prototype. * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove dlerror_run and related functions and structs. Use __libc_dlopen, __libc_dlsym, __libc_dlclose. * nss/nsswitch.c: Likewise. 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
1999-06-28Update.Ulrich Drepper
1999-06-28 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r function correctly. * sunrpc/getrpcport.c: Test for gethostbyname_r function correctly. * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly. * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r functions correctly. * inet/rexec.c (rexec): Test for gethostbyname_r result correctly. * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize file reading a bit. * sysdeps/generic/glob.c: Test for getpwnam_r result correctly. 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/string.texi (Copying and Concatenation): Mention that strndup is a GNU extension. 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * pwd/getpw.c (__getpw): Fix check for error return.
1999-06-26New file.Andreas Schwab
1999-06-26* sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal Andreas Schwab
definitions... * sysdeps/m68k/fpu/mathimpl.h: ... here. New file. * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h". * sysdeps/m68k/fpu/e_atan2.c: Likewise. * sysdeps/m68k/fpu/e_fmod.c: Likewise. * sysdeps/m68k/fpu/e_pow.c: Likewise. * sysdeps/m68k/fpu/e_scalb.c: Likewise. * sysdeps/m68k/fpu/s_ccos.c: Likewise. * sysdeps/m68k/fpu/s_ccosh.c: Likewise. * sysdeps/m68k/fpu/s_cexp.c: Likewise. * sysdeps/m68k/fpu/s_csin.c: Likewise. * sysdeps/m68k/fpu/s_csinh.c: Likewise. * sysdeps/m68k/fpu/s_ilogb.c: Likewise. * sysdeps/m68k/fpu/s_llrint.c: Likewise. * sysdeps/m68k/fpu/s_llrintf.c: Likewise. * sysdeps/m68k/fpu/s_llrintl.c: Likewise. * sysdeps/m68k/fpu/s_modf.c: Likewise.
1999-06-25* sysdeps/generic/glob64.c: Include <stddef.h> for NULL.Roland McGrath
1999-06-23Update.Ulrich Drepper
* sysdeps/generic/fpu_control.c: Include math.h for __P definition.
1999-06-23Update.Ulrich Drepper
1999-06-23 Zack Weinberg <zack@rabi.columbia.edu> * libio/stdio.h: Define stdin, stdout, stderr as macros. * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}. These are *pragmas* not macros. * wcsmbs/wchar.h: Fix comment. * grp/grp.h: Use __foo_t_defined convention to typedef things only once. * io/sys/stat.h: Likewise. * libio/stdio.h: Likewise. * posix/unistd.h: Likewise. * posix/sys/types.h: Likewise. * posix/sys/wait.h: Likewise. * pwd/pwd.h: Likewise. * signal/signal.h: Likewise. * sysdeps/generic/stdint.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * termios/termios.h: Likewise.
1999-06-221999-06-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with OFFSET argument of (off_t) -1. * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with OFFSET argument of (off_t) -1. * sysdeps/mach/hurd/pwrite.c: New file. * sysdeps/mach/hurd/pread.c: New file. * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and pass it in the RPC instead of always -1. * hurd/fd-write.c (_hurd_fd_write): Likewise. * hurd/hurd/fd.h: Update decls.
1999-06-221999-06-23 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with OFFSET argument of (off_t) -1. * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with OFFSET argument of (off_t) -1.
1999-06-22Update.Ulrich Drepper
1999-06-22 Geoff Keating <geoffk@ozemail.com.au> * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high bits of two words differ.
1999-06-21Update.Ulrich Drepper
1999-06-18 Thorsten Kukuk <kukuk@suse.de> * sysdeps/alpha/atomicity.h: Correct counting of subsections. 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdlib/tst-strtoll.c: Avoid warning about huge constant. 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdio-common/vfprintf.c (group_member): Make parameters and return types pointers to CHAR_T instead of UCHAR_T. (vfprintf): Change type of work_buffer, workend and string to CHAR_T pointer/array. (process_arg, process_string_arg): Adjust/remove casts. Add missing use of L_ macro. (printf_unknown): Add missing uses of L_ macro. 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid warning. 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode. (__wunderflow): Likewise. (_IO_switch_to_wget_mode): Likewise. (_IO_init_wmarker): Likewise. * libio/wfileops.c (_IO_wfile_seekoff): Call _IO_switch_to_wget_mode, not _IO_switch_to_get_mode. (_IO_wfile_jumps): Fix pbackfail entry. * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf function if the stream is currently unoriented. 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu> * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h. Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use __gnuc_va_list in v*w(printf|scanf) prototypes. 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> * libio/oldiopopen.c (_IO_old_proc_open): Apply change from 1999-03-29 to iopopen also here. Reported by Richard Braakman <dark@xs4all.nl>. 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> * include/features.h: Use __GNUC_PREREQ. * sysdeps/i386/fpu/bits/mathinline.h: Likewise 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]: Change EOF to WEOF and remove cast. (UNGETC): Remove macro. (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc. * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]: Change ISASCII to isascii and MBRLEN to mbrlen. (parse_one_spec): Compare info.spec always against wchar_t values. * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN. (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument. (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_. 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * libio/Makefile (shared-only-routines): Add oldiofgetpos, oldiofgetpos64, oldiofsetpos and oldiofsetpos64. (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and oldiofsetpos64 only if doing versioning.
1999-06-19* sysdeps/mach/hurd/siglist.h: Use #include_next.Roland McGrath
* sysdeps/unix/sysv/linux/siglist.h: Likewise.
1999-06-19* sysdeps/gnu/siglist.h: File moved to ...Roland McGrath
* sysdeps/generic/siglist.h: ... here. This file should be usable for any platform, since it just associates the SIG* macros with text names and descriptions. For any signal macros do not exist on every platform, we can use #ifdef tests here and still use this single common file for all platforms. * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file should be usable for all platforms after the binary compatibility stuff in the current sysdeps/gnu version is no longer required. * sysdeps/generic/Makefile: Remove rules for generating siglist.c. * sysdeps/generic/make_siglist.c: File removed. 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
1999-06-191999-06-19 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* sysdeps/unix/sysv/linux/siglist.c: Moved to ... * sysdeps/gnu/siglist.c: ... here. Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search. Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR. * sysdeps/gnu/siglist.h: New file, contents from linux version. Add entry for SIGLOST protected by #ifdef. * sysdeps/unix/sysv/linux/siglist.h: Just #include that file, and define OLD_SIGLIST_SIZE_STR. * sysdeps/mach/hurd/siglist.h: New file, likewise.
1999-06-19Update.Ulrich Drepper
1999-06-18 Zack Weinberg <zack@rabi.columbia.edu> * include/features.h: Define new macros __GNUC_PREREQ and __GLIBC_PREREQ which can be used to test the version of gcc and glibc respectively. * assert/assert.h: Use __GNUC_PREREQ. * intl/libintl.h: Likewise. * math/complex.h: Likewise. * math/tgmath.h: Likewise. * misc/sys/cdefs.h: Likewise. * posix/sys/types.h: Likewise. * socket/sys/socket.h: Likewise. * string/bits/string2.h: Likewise. * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu> * include/libintl.h: Declare _libc_intl_domainname here. Define _ and N_ here. * include/libc-symbols.h: Don't include <libintl.h>. Don't define _ and N_. Don't declare _libc_intl_domainname. * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h. * db2/config.h: Don't include sys/stat.h or define HAVE_ST_BLKSIZE here... * db2/compat.h: ...do it here. * linuxthreads/internals.h: Include bits/libc-tsd.h after all other headers. * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P. * iconv/iconv.c: Include stddef.h for NULL. * malloc/malloc.h: Include features.h. * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t. * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>" into the generated file. * sysdeps/gnu/errlist.awk: Likewise. * sysdeps/gnu/errlist.c: Rebuilt. * assert/assert-perr.c: Include libintl.h. * assert/assert.c: Likewise. * elf/dl-open.c: Likewise. * elf/dlsym.c: Likewise. * elf/dlvsym.c: Likewise. * iconv/iconv_prog.c: Likewise. * inet/rcmd.c: Likewise. * inet/ruserpass.c: Likewise. * locale/programs/charset.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/repertoire.c: Likewise. * login/programs/database.c: Likewise. * login/programs/request.c: Likewise. * malloc/mcheck.c: Likewise. * misc/error.c: Likewise. * nis/nis_call.c: Likewise. * nis/nis_callback.c: Likewise. * nis/nis_error.c: Likewise. * nis/nis_local_names.c: Likewise. * nis/nis_print.c: Likewise. * nis/nis_print_group_entry.c: Likewise. * nis/ypclnt.c: Likewise. * nis/nss_nisplus/nisplus-publickey.c: Likewise. * nscd/cache.c: Likewise. * nscd/connections.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/nscd_stat.c: Likewise. * nscd/pwdcache.c: Likewise. * posix/id.c: Likewise. * resolv/herror.c: Likewise. * stdio-common/psignal.c: Likewise. * string/strsignal.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_raw.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/get_myaddr.c: Likewise. * sunrpc/pm_getmaps.c: Likewise. * sunrpc/pmap_clnt.c: Likewise. * sunrpc/pmap_rmt.c: Likewise. * sunrpc/rpc_main.c: Likewise. * sunrpc/rpc_scan.c: Likewise. * sunrpc/svc_run.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/mach/hurd/mips/dl-machine.c: Likewise. * sysdeps/posix/gai_strerror.c: Likewise. * sysdeps/unix/siglist.c: Likewise. * sysdeps/unix/sysv/linux/siglist.c: Likewise. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise. * timezone/zic.c: Likewise.
1999-06-18Update.Ulrich Drepper
1999-06-18 H.J. Lu <hjl@gnu.org> * localedata/Makefile (charmaps): Exclude SCCS. (locales): Likewise. (repertoiremaps): Likewise. * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h. * sysdeps/generic/bsd-setjmp.c: Likewise.
1999-06-18Update.Ulrich Drepper
1999-06-18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc assignment to avoid warning on 64bit platforms.
1999-06-17Update.Ulrich Drepper
* nss/getXXbyYY_r.c: Return error code not -1. * nss/getXXent_r.c: Likewise. * nss/getXXbyYY.c: Expect return alue to be ERANGE if buffer is too small. * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and value > 0 for error. * nscd/nscd_gethst_r.c: Likewise. * nscd/nscd_getpw_r.c: Likewise. 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line disciplines. 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/nscd_nischeck.c: Fix typos. 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
1999-06-17Update.Ulrich Drepper
1999-06-17 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail always when oact is NULL. Patch by Christian Meder <meder@isr.uni-stuttgart.de>.