aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-07-18Update.Ulrich Drepper3-0/+27
1999-07-18 Ulrich Drepper <drepper@cygnus.com> * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address and return an error in this case. * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if available.
1999-07-18Update.Ulrich Drepper9-16/+35
1999-07-18 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from 1999-07-17 and adjust len parameter. * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise. * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise. * manual/socket.texi (Host Names): Likewise. * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise. * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r): Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. * resolv/gethnamaddr.c (gethostbyaddr): Likewise. (ht_gethostbyaddr): Likewise. (_gethtbyaddr): Likewise.
1999-07-18Update.Ulrich Drepper2-1/+2
* include/netdb.h: Likewise.
1999-07-18Update.Ulrich Drepper4-6/+11
* resolv/netdb.h: Adjust parameters of gethostbyaddr and gethostbyaddr_r. * inet/gethstbyad.c: Correct type of len parameter. * inet/gethstbyad_r.c: Likewise.
1999-07-18Update.Ulrich Drepper2-4/+4
1999-07-17 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
1999-07-18Update.Ulrich Drepper3-92/+61
1999-07-17 Zack Weinberg <zack@rabi.columbia.edu> * include/libc-symbol.h: Clean up definitions of weak_alias, strong_alias, symbol_version, etc. etc. * posix/getopt.h: Use ctype.h to get features.h included, and don't include it at all if __GNU_LIBRARY__ is already defined.
1999-07-17Update.Ulrich Drepper3-5/+7
* stdio-common/bug1.c: Include <stdlib.h> to get prototype for free. * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
1999-07-17Update.Ulrich Drepper14-15/+32
* 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-17Update.Ulrich Drepper1-0/+9
1999-07-17 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t type for tv_usec element. * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1999-07-16Correct last entry.Ulrich Drepper1-2/+1
* internals.h: Align _pthread_descr_struct to 32 bytes.
1999-07-16Update.Ulrich Drepper2-1/+13
1999-07-16 Andreas Jaeger <aj@arthur.rhein-neckar.de> * linuxthreads/internals.h: Align _pthread_descr_struct to 32 bytes. Reported by Tim Hockin <thockin@cobaltnet.com>, close PR libc/1206.
1999-07-15Update.Ulrich Drepper2-0/+4
* stdio-common/bug1.c: Avoid memory leak.
1999-07-15Update.Ulrich Drepper4-8/+13
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 Drepper11-16/+736
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 Drepper2-2/+6
1999-07-15 Ulrich Drepper <drepper@cygnus.com> * posix/unistd.h: Use __PMT for exit.
1999-07-15Update.Ulrich Drepper2-0/+9
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-15Update.Ulrich Drepper2-3/+8
1999-07-15 Ulrich Drepper <drepper@cygnus.com> * posix/fnmatch.h: Use __name instead of __string in prototype to allow use outside glibc.
1999-07-14Update.Ulrich Drepper3-13/+26
* time/tst-strptime.c (main): Add one more test case. Produce output even when result is ok.
1999-07-14Update.Ulrich Drepper2-50/+77
1999-07-14 Ulrich Drepper <drepper@cygnus.com> * time/strptime.c (get_number): Handle number parsing more consistent with strftime. Only parse a given number of digits. (get_alt_number): Fix implementation. Was broken. (strptime_internal): Add third parameter to get_number and get_alt_number calls.
1999-07-14Update.Ulrich Drepper6-10/+39
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-14Update.Ulrich Drepper2-0/+17
1999-07-13 Andreas Schwab <schwab@suse.de> * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent inlining. Fixes PR libc/1198.
1999-07-14More corrections.Ulrich Drepper2-57/+78
* 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 Drepper2-1/+5
1999-07-14 Andreas Schwab <schwab@suse.de> * Makerules (common-generated): Don't prepend $(common-objpfx).
1999-07-14Name correct locations for the moved/new files.Ulrich Drepper1-89/+86
* sysdeps/generic/e_exp10.c: ...here. * sysdeps/generic/e_exp10f.c: ...here. * sysdeps/generic/e_exp10l.c: ...here. * sysdeps/generic/e_scalb.c: ...here. * sysdeps/generic/e_scalbf.c: ...here. * sysdeps/generic/e_scalbl.c: ...here. * sysdeps/generic/s_cacos.c: ...here. * sysdeps/generic/s_cacosf.c: ...here. * sysdeps/generic/s_cacosh.c: ...here. * sysdeps/generic/s_cacoshf.c: ...here. * sysdeps/generic/s_cacoshl.c: ...here. * sysdeps/generic/s_cacosl.c: ...here. * sysdeps/generic/s_casin.c: ...here. * sysdeps/generic/s_casinf.c: ...here. * sysdeps/generic/s_casinh.c: ...here. * sysdeps/generic/s_casinhf.c: ...here. * sysdeps/generic/s_casinhl.c: ...here. * sysdeps/generic/s_casinl.c: ...here. * sysdeps/generic/s_catan.c: ...here. * sysdeps/generic/s_catanf.c: ...here. * sysdeps/generic/s_catanh.c: ...here. * sysdeps/generic/s_catanhf.c: ...here. * sysdeps/generic/s_catanhl.c: ...here. * sysdeps/generic/s_catanl.c: ...here. * sysdeps/generic/s_ccos.c: ...here. * sysdeps/generic/s_ccosf.c: ...here. * sysdeps/generic/s_ccosh.c: ...here. * sysdeps/generic/s_ccoshf.c: ...here. * sysdeps/generic/s_ccoshl.c: ...here. * sysdeps/generic/s_ccosl.c: ...here. * sysdeps/generic/s_cexp.c: ...here. * sysdeps/generic/s_cexpf.c: ...here. * sysdeps/generic/s_cexpl.c: ...here. * sysdeps/generic/s_clog.c: ...here. * sysdeps/generic/s_clog10.c: ...here. * sysdeps/generic/s_clog10f.c: ...here. * sysdeps/generic/s_clog10l.c: ...here. * sysdeps/generic/s_clogf.c: ...here. * sysdeps/generic/s_clogl.c: ...here. * sysdeps/generic/s_cpow.c: ...here. * sysdeps/generic/s_cpowf.c: ...here. * sysdeps/generic/s_cpowl.c: ...here. * sysdeps/generic/s_cproj.c: ...here. * sysdeps/generic/s_cprojf.c: ...here. * sysdeps/generic/s_cprojl.c: ...here. * sysdeps/generic/s_csin.c: ...here. * sysdeps/generic/s_csinf.c: ...here. * sysdeps/generic/s_csinh.c: ...here. * sysdeps/generic/s_csinhf.c: ...here. * sysdeps/generic/s_csinhl.c: ...here. * sysdeps/generic/s_csinl.c: ...here. * sysdeps/generic/s_csqrt.c: ...here. * sysdeps/generic/s_csqrtf.c: ...here. * sysdeps/generic/s_csqrtl.c: ...here. * sysdeps/generic/s_ctan.c: ...here. * sysdeps/generic/s_ctanf.c: ...here. * sysdeps/generic/s_ctanh.c: ...here. * sysdeps/generic/s_ctanhf.c: ...here. * sysdeps/generic/s_ctanhl.c: ...here. * sysdeps/generic/s_ctanl.c: ...here. * sysdeps/generic/s_fdim.c: ...here. * sysdeps/generic/s_fdimf.c: ...here. * sysdeps/generic/s_fdiml.c: ...here. * sysdeps/generic/s_fma.c: ...here. * sysdeps/generic/s_fmaf.c: ...here. * sysdeps/generic/s_fmal.c: ...here. * sysdeps/generic/s_fmax.c: ...here. * sysdeps/generic/s_fmaxf.c: ...here. * sysdeps/generic/s_fmaxl.c: ...here. * sysdeps/generic/s_fmin.c: ...here. * sysdeps/generic/s_fminf.c: ...here. * sysdeps/generic/s_fminl.c: ...here. * sysdeps/generic/s_ldexp.c: ...here. * sysdeps/generic/s_ldexpf.c: ...here. * sysdeps/generic/s_ldexpl.c: ...here. * sysdeps/generic/s_nan.c: ...here. * sysdeps/generic/s_nanf.c: ...here. * sysdeps/generic/s_nanl.c: ...here. * sysdeps/generic/s_significand.c: ...here. * sysdeps/generic/s_significandf.c: ...here. * sysdeps/generic/s_significandl.c: ...here. * sysdeps/generic/math_ldbl.h: New file. * sysdeps/generic/s_nexttowardf.c: New file. * sysdeps/generic/strtold.c: New file. * sysdeps/generic/ldbl2mpn.c: New file.
1999-07-14Update.Ulrich Drepper587-339/+5286
1999-07-12Update.Ulrich Drepper2-0/+9
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-12Fix typo.Ulrich Drepper1-2/+2
* nscd/hstcache.c: Likewise. * nscd/pwdcache.c: Likewise.
1999-07-12Update.Ulrich Drepper5-13/+20
1999-07-11 H.J. Lu <hjl@gnu.org> * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get nscd's own strong version of the get[a-z]*_r function. * nscd/hstcache.c: Likwise. * nscd/pwdcache.c: Likwise.
1999-07-12Update.Ulrich Drepper2-1/+6
1999-07-12 Ulrich Drepper <drepper@cygnus.com> * configure.in: Recognize 2.95 as gcc version number. Patch by Joel Klecker <jk@espy.org>.
1999-07-12Update.Ulrich Drepper2-3/+18
1999-07-12 Andreas Schwab <schwab@suse.de> * elf/rtld.c (dl_main): When putting back the interpreter object handle the case where a missing object might occur in the list of objects but not in the search list when in trace mode.
1999-07-11Update.Ulrich Drepper2-0/+9
1999-07-11 Ulrich Drepper <drepper@cygnus.com> * Versions.def (libnss_hesiod): Add GLIBC_2.2. * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add _nss_hesiod_initgroups.
1999-07-11(libnss_hesiod): Add GLIBC_2.2.Ulrich Drepper1-0/+1
1999-07-11* sysdeps/mach/hurd/brk.c (static_data_start): New variable.Roland McGrath2-3/+13
(_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 McGrath1-0/+5
* sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1-2/+21
* sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1999-07-09Update.Ulrich Drepper4-4/+20
1999-07-09 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1999-07-09Update.Ulrich Drepper2-12/+1
1999-07-09Update.Ulrich Drepper3-2/+236
1999-07-09 H.J. Lu <hjl@gnu.org> * Versions.def (GLIBC_2.1.2): Added. * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the old one as GLIBC_2.0. * nss/getXXbyYY_r.c: Likewise. * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to GLIBC_2.1.2. * inet/Versions (getaliasbyname_r, getaliasent_r, gethostbyaddr_r, gethostbyname2_r, gethostbyname_r, gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r, getnetgrent_r, getprotobyname_r, getprotobynumber_r, getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r, getservbyname_r): Likewise. * pwd/Versions (getpwent_r, getpwuid_r): Likewise. * shadow/Versions (getspent_r, getspnam_r): Likewise.
1999-07-09Update.Ulrich Drepper14-16/+145
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 Drepper2-1/+46
* 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 Drepper3-4/+52
* 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 Drepper6-14/+48
* elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage before the relocation happened. Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1999-07-09Update.Ulrich Drepper4-2/+60
1999-07-09 Ulrich Drepper <drepper@cygnus.com> * Versions.def (libnsl): Add GLIBC_2.2. * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall. 1999-07-08 Cristian Gafton <gafton@redhat.com> * nis/yp_xdr.c (xdr_ypall): New function.
1999-07-09Update.Ulrich Drepper5-4/+15
1999-07-09 Andreas Schwab <schwab@suse.de> * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h. * dlfcn/Makefile (headers): Add bits/dlfcn.h.
1999-07-09Update.Ulrich Drepper4-5/+137
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-08Update.Ulrich Drepper9-112/+46
1999-07-08 Andreas Schwab <schwab@suse.de> * libio/iofopncook.c (fopencookie): Set _fileno to -2. * libio/libioP.h (_IO_file_is_open): Only check for -1, not all negative numbers. * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not EOF. * libio/oldfileops.c (_IO_old_file_close_it): Likewise. 1999-07-08 Andreas Schwab <schwab@suse.de> * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode. 1999-07-08 Andreas Schwab <schwab@suse.de> * libio/fileno.c: Return -1 instead of EOF and set errno if the stream is not a real file stream. 1999-07-08 Andreas Schwab <schwab@suse.de> * manual/charset.texi: Fix typos.
1999-07-07Update.Ulrich Drepper31-367/+674
* 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 Drepper3-2/+22
* sysdeps/generic/setenv.c: Describe problem. * malloc/malloc.c (request2size): Also set errno if failing.
1999-07-07Update.Ulrich Drepper2-1/+8
* malloc/malloc.c (request2size): Also set errno of failing.
1999-07-07Update.Ulrich Drepper2-2/+6
* malloc/malloc.c (request2size): Take care of overflow in addition.