about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-07-093-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.
* Update.Ulrich Drepper1999-07-0914-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.
* Update.Ulrich Drepper1999-07-092-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>.
* Update.Ulrich Drepper1999-07-093-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>.
* Update.Ulrich Drepper1999-07-096-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>.
* Update.Ulrich Drepper1999-07-094-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.
* Update.Ulrich Drepper1999-07-095-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.
* Update.Ulrich Drepper1999-07-094-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>.
* Update.Ulrich Drepper1999-07-089-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.
* Update.Ulrich Drepper1999-07-0731-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>
* Update.Ulrich Drepper1999-07-073-2/+22
| | | | | | * sysdeps/generic/setenv.c: Describe problem. * malloc/malloc.c (request2size): Also set errno if failing.
* Update.Ulrich Drepper1999-07-072-1/+8
| | | | * malloc/malloc.c (request2size): Also set errno of failing.
* Update.Ulrich Drepper1999-07-072-2/+6
| | | | | * malloc/malloc.c (request2size): Take care of overflow in addition.
* Update.Ulrich Drepper1999-07-072-11/+18
| | | | | * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd (NULL, != 0) correctly.
* Update.Ulrich Drepper1999-07-072-5/+8
| | | | * elf/dl-load.c: Use a few more __builtin_expect.
* Update.Ulrich Drepper1999-07-072-1/+10
| | | | | | | 1999-07-07 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getcwd.c: When resizing buffer make sure new size is large enough.
* UpdateUlrich Drepper1999-07-074-4/+109
| | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-07-063-4/+10
| | | | | * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new convention.
* Update.Ulrich Drepper1999-07-0630-385/+656
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-07-024-15/+26
| | | | | | | | | | 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk> * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It doesn't belong in the tests, but in the wordexp implementation. * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't split fields.
* UpdateUlrich Drepper1999-07-012-4/+29
| | | | | | | | | | | | 1999-07-01 Cristian Gafton <gafton@redhat.com> * time/strptime.c (strptime): Initialize the tm struct first to avoid returning bogus results on incomplete data. (strptime_internal): day_of_the_week() requres bith tm_mon and tm_mday to be initializaed. Computer them first if they are not given. (strptime_internal): (have_mon, have_mday): New variables.
* Update.Ulrich Drepper1999-07-017-9/+25
| | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-06-309-15/+40
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-06-303-1/+50
| | | | | | | | 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * pwd/Makefile (tests): Add rules for tst-getpw. * pwd/tst-getpw.c: New program to test getpw.
* Update.Ulrich Drepper1999-06-306-35/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result correctly. 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/arith.texi (System V Number Conversion): Fix the description which confused pointer and value to pointer. Reported by Andries.Brouwer@cwi.nl. 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * pwd/getpw.c (__getpw): Check for NULL result pointer. 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/users.texi (Lookup User): Document POSIX return semantics for getpwuid_r and getgrgid_r. * manual/socket.texi (Host Names): Document that the result pointer is null in case of error or host not found and fix a typo. Give a small example.
* Update.Ulrich Drepper1999-06-302-0/+11
| | | | | | | | | | | * pwd/getpw.c: Add warning since no buffer size is given and therefore no overrun tests are possible. 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> * pwd/pwd.h: Add getpw prototype declaration. 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1999-06-303-11/+13
| | | | | | | 1999-06-30 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter. * wcsmbs/wcschr.c: Likewise.
* Update.Ulrich Drepper1999-06-2817-175/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update.Ulrich Drepper1999-06-2810-17/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-06-261-0/+7
| | | | | | | | | 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/dl-deps.c (_dl_map_object_deps): When looking for the next occurence of the aux object start with the current list entry, not the new one. Adjust tail pointer in the unique list. Explain how the meaning of the variables changes [PR libc/1168].
* 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>Andreas Schwab1999-06-261-0/+4
| | | | * sysdeps/m68k/fpu/Dist: New file.
* New file.Andreas Schwab1999-06-261-0/+1
|
* (_dl_map_object_deps): When looking for the next occurence of the aux ↵Ulrich Drepper1999-06-261-4/+10
| | | | object start with the current list entry, not the new one. Adjust tail pointer in the unique list. Explain how the meaning of the variables changes.
* 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>Andreas Schwab1999-06-261-0/+21
| | | | | | | | | | | | | | | | | | | | | * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal 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.
* * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal Andreas Schwab1999-06-2617-76/+125
| | | | | | | | | | | | | | | | | | | | 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.
* * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,Roland McGrath1999-06-258-45/+60
| | | | | | | | | | | | hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of _EXTERN_INLINE, use a macro specific to each file, _HURD_FD_H_EXTERN_INLINE and the like. * hurd/Makefile (inline-headers): New variable. (routines): Remove hurdinline. Add $(inlines). (inlines): New variable. ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them. (generated): Append those here. * hurd/hurdinline.c: File removed.
* * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.Roland McGrath1999-06-252-1/+4
|
* 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-251-0/+4
| | | | * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
* 1999-06-25 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-06-251-0/+1
| | | | * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
* Update.Ulrich Drepper1999-06-252-1/+5
| | | | | | 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/connections.c (nscd_run): Use correct type for optlen variable.
* Update.Ulrich Drepper1999-06-253-2/+5
| | | | | | 1999-06-25 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h (strnlen): Remove extra prototype.
* Update.Ulrich Drepper1999-06-242-5/+9
| | | | | | | | | | 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/filesys.texi (Working on Directory Trees): Fix typos. Reported by Andries.Brouwer@cwi.nl. * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}. These are *pragmas* not macros.
* Update.Ulrich Drepper1999-06-242-1/+4
| | | | | * nscd/connections.c (handle_request): Use correct type for optlen variable.
* Update.Ulrich Drepper1999-06-243-2/+8
| | | | | | | 1999-06-24 Ulrich Drepper <drepper@cygnus.com> * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16. * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
* Update.Ulrich Drepper1999-06-245-4/+10
| | | | | | | | 1999-06-24 Thorsten Kukuk <kukuk@suse.de> * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer. * nscd/pwdcache.c: Likewise. * nscd/hstcache.c: Likewise.
* Update.Ulrich Drepper1999-06-232-1/+4
| | | | * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
* Update.Ulrich Drepper1999-06-232-1/+8
| | | | * posix/getopt.h: Include stdio.h.
* Update.Ulrich Drepper1999-06-237-63/+53
| | | | | | | | | | | | | | | 1999-06-23 Ulrich Drepper <drepper@cygnus.com> * manual/arith.texi: Document restriction of ndigit parameter of ecvt and friends. * misc/efgcvt.c: Define NDIGIT_MAX. (gcvt): Limit precision in sprintf call to NDIGIT_MAX. Do not dynamically allocate the static buffers. They are small enough. * misc/efgcvt_r.c: Define NDIGIT_MAX. (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX. * misc/qefgcvt.c: Define NDIGIT_MAX. * misc/qefgcvt_r.c: Likewise. * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
* Update.Ulrich Drepper1999-06-2314-84/+100
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper1999-06-232-0/+13
| | | | | | | | | | | | | | 1999-06-23 Ulrich Drepper <drepper@cygnus.com> * stdio/fputc.c: Don't define alias if fputc is defined as a macro. * stdio/putc.c: Define weak alias here since it is not done anymore in fputc.c. 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * assert/assert.h: Don't produce `defined' as part of macro expansion.