aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-07-02Update.Ulrich Drepper
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.
1999-07-01UpdateUlrich Drepper
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.
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-30Update.Ulrich Drepper
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.
1999-06-30Update.Ulrich Drepper
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.
1999-06-30Update.Ulrich Drepper
* 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>
1999-06-30Update.Ulrich Drepper
1999-06-30 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter. * wcsmbs/wcschr.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-26Update.Ulrich Drepper
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-261999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>Andreas Schwab
* sysdeps/m68k/fpu/Dist: New file.
1999-06-26New file.Andreas Schwab
1999-06-26 (_dl_map_object_deps): When looking for the next occurence of the aux ↵Ulrich Drepper
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-261999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>Andreas Schwab
* 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.
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* hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,Roland McGrath
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.
1999-06-25* sysdeps/generic/glob64.c: Include <stddef.h> for NULL.Roland McGrath
1999-06-251999-06-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
1999-06-251999-06-25 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
1999-06-25Update.Ulrich Drepper
1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/connections.c (nscd_run): Use correct type for optlen variable.
1999-06-25Update.Ulrich Drepper
1999-06-25 Ulrich Drepper <drepper@cygnus.com> * string/bits/string2.h (strnlen): Remove extra prototype.
1999-06-24Update.Ulrich Drepper
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.
1999-06-24Update.Ulrich Drepper
* nscd/connections.c (handle_request): Use correct type for optlen variable.
1999-06-24Update.Ulrich Drepper
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.
1999-06-24Update.Ulrich Drepper
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.
1999-06-23Update.Ulrich Drepper
* sysdeps/generic/fpu_control.c: Include math.h for __P definition.
1999-06-23Update.Ulrich Drepper
* posix/getopt.h: Include stdio.h.
1999-06-23Update.Ulrich Drepper
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.
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-23Update.Ulrich Drepper
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.
1999-06-23Don't define alias if fputc is defined as a macro.Ulrich Drepper
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 Andreas Jaeger <aj@arthur.rhein-neckar.de> * libio/wscanf.c: Include <wchar.h> for prototype.
1999-06-22Update.Ulrich Drepper
1999-06-22 Ulrich Drepper <drepper@cygnus.com> * manual/io.texi. Fix typos. * manual/stdio.texi: Likewise. Patches by Brian Youmans <3diff@gnu.org>.
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-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * libio/Makefile (routines): Add putwchar and putwchar_u. * libio/putwchar.c: Include <wchar.h> instead of "stdio.h". * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of stdout. Fix parameter name. * libio/getchar.c: Consistently use _IO_stdin instead of stdin. * libio/getchar_u.c: Likewise. * libio/putchar_u.c: Use _IO_stdout instead of stdout. 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * include/features.h (__GNUC_PREREQ): Don't generate `defined' via macro expansion---it's undefined. Properly parenthesize substituted parameters. (__GLIBC_PREREQ): Likewise.
1999-06-21Update.Ulrich Drepper
* Makeconfig (CPPFLAGS): Revert last change. It has too many weird effects.
1999-06-21Update.Ulrich Drepper
* stdlib/longlong.h: Provide __P definition if not already defined.
1999-06-21Update.Ulrich Drepper
1999-06-21 Ulrich Drepper <drepper@cygnus.com> * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
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-20Update.Ulrich Drepper
1999-06-20 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
1999-06-20Update.Ulrich Drepper
1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> * libio/libio.h: Fix last patch.
1999-06-20Update.Ulrich Drepper
1999-06-20 Ulrich Drepper <drepper@cygnus.com> * libio/libio.h (_IO_putwc): Correct type of first argument. * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked, putwc_unlocked, putwchar_unlocked): Likewise. * libio/fputwc.c: Likewise. * libio/fputwc_unlocked.c: Likewise. * libio/putwc.c: Likewise. * libio/putwc_unlocked.c: Likewise. * libio/putwchar.c: Likewise. * libio/putwchar_unlocked.c: Likewise.
1999-06-20* libio/libio.h (_IO_putwc): Correct type of first argument. * ↵Ulrich Drepper
wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked, putwc_unlocked, putwchar_unlocked): Likewise. * libio/fputwc.c: Likewise. * libio/fputwc_unlocked.c: Likewise. * libio/putwc.c: Likewise. * libio/putwc_unlocked.c: Likewise. * libio/putwchar.c: Likewise. * libio/putwchar_unlocked.c: Likewise.
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-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.