about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-04-2813-29/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-04-28 Ulrich Drepper <drepper@cygnus.com> * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0. * argp/argp-parse.c (_argp_hang): Likewise. * argp/argp-pv.c (argp_program_version): Likewise. * argp/argp-pvh.c (argp_program_version_hook): Likewise. * inet/ether_hton.c (ether_hton, startp): Likewise. * inet/ether_ntoh.c (ether_ntoh, startp): Likewise. * inet/getnetgrent_r.c (setup, startp): Likewise. * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise. * intl/localealias.c (string_space, string_space_act, string_space_max, nmap, maxmap): Likewise. * libio/iopopen.c (proc_file_chain): Likewise. * libio/oldiopopen.c (old_proc_file_chain): Likewise. * locale/lc-collate.c (__collate_table, __collate_extra, __collate_element_hash, __collate_element_strings, __collate_element_values): Likewise. * malloc/mcheck.c (mcheck_used): Likewise. * malloc/mtrace.c (added_atexit_handler): Likewise. * malloc/set-freeres.c (already_called): Likewise. * misc/getpass.c (getpass) [buf, bufsize]: Likewise. * misc/syslog.c (LogStat, LogTag): Likewise. * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise. * nss/getXXbyYY_r.c (startp): Likewise. * posix/getopt.c (optarg, __getopt_initialized): Likewise. * posix/regex.c (init_syntax_once) [done]: Likewise. (debug): Likewise. * string/strfry.c (init): Likewise. * sunrpc/svc_run.c (svc_top): Likewise. * posix/euidaccess.c (have_ids): Likewise. * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise. * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise. * time/getdate.c (getdate_err): Likewise. * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps): Likewise. * time/tzset.c (old_tz, is_initialized): Likewise. * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization of static data with zero. * signal/allocrtsig.c (init): Likewise. * string/Makefile (routines): Add strchrnul. * string/Versions [GLIBC_2.1.1]: Add strchrnul. * string/string.c: Add strchrnul prototype. * include/string.h: Add __strchrnul prototype. * sysdeps/generic/strchrnul.c: New file. * sysdeps/i386/strchrnul.S: New file. * sysdeps/i386/bits/string.c: Add strchrnul optimization. * sysdeps/i386/i486/bits/string.c: Likewise. * argp/argp-help.c (argp_args_usage): Use __strchrnul. * inet/ether_line.c (ether_line): Likewise. * nscd/nscd_conf.c (nscd_parse_file): Likewise. * nss/nsswitch.c (nss_parse_file): Likewise. * posix/execvp.c (execvp): Likewise. * posix/fnmatch.c (internal_fnmatch): Likewise. * resolv/res_hconf.c (_res_hconv_init): Likewise. * resolv/res_init.c (res_init): Likewise. * stdlib/fmtmsg.c (init): Likewise. * stdlib/getsubopt.c (getsubopt): Likewise. * catgets/catgets.c (catopen): Only allocate one memory block. (catclose): Only one free call necessary. * catgets/open_catalog.c (__open_catalog): Simplify handling of file descriptor. * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead of real functions. Simplify _tolower and _toupper. * grp/initgroups.c (compat_call): Remove unnecessary use of pointer variable. * iconv/gconv.h (struct gconv_info): Change data element from pointer to array of size 0. * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly. * iconv/gconv_close.c (__gconv_close): Don't free data. * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to insert new alias. * iconv/gconv_db.c (add_derivation): More efficient copying. Check for error while inserting in tree. * include/time.h: Pretty print. * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers in table and lots of relocations. * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid string pointers in table and lots of relocations. * intl/finddomain.c: Remove definition of strchr macro. * io/ftw.c (nftw_arr, ftw_arr): Make const. * locale/loadlocale.c (_nl_load_locale): Optimize string copying. * locale/localeinfo.h (_nl_category_names): Change into an array with fixed width char string elements. * locale/setlocale.c (_nl_category_names): Likewise. (_nl_current): Make global. * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now. * malloc/Makefile (distribute): Add stackinfo.h. * sysdeps/generic/stackinfo.h: New file. * sysdeps/i386/stackinfo.h: New file. * posix/execl.c: Use stackinfo.h in optimizing alloca use. * posix/execle.c: Likewise. * posix/execlp.c: Likewise. * nis/nis_table.c (__create_ib_request): Always use realloc. * posix/execvp.c (execute): Rename to script_execute and keep only code to execute using shell. (execvp): Call execv directly and only fall back on script_execute. * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define and always use xdigits instead. * resolv/res_init.c (res_init): Use rawmemchr instead of strchr where appropriate. * stdlib/fpioconst.h (__tens): New declaration. (struct mp_power): Remove array, add arrayoff element. * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one __tens array and add in _fpioconst_pow10 offsets into __tens. * stdio-common/printf_fp.c: Rewrite to use new __tens array. * stdlib/strtod.c: Likewise. * stdlib/a64l.c (a64l_table): Avoid unnecessary elements. * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end of the list. * stdlib/atexit.c (__exit_funcs): Don't initialize. * stdlib/fmtmsg.c (keywords): Make name element fixed width array. * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use a single and an array with offsets. * sunrpc/des_soft.c (partab): Make it const. * sunrpc/key_call.c (trytimeout, tottimeout): Make const. (__key_encryptsession_pk_LOCAL): Don't initialize with 0. (__key_decryptsession_pk_LOCAL): Likewise. (__key_gendes_LOCAL): Likewise. (MESSENGER): Mark const. (key_call_private_main): Don't initialize with 0. (use_keyenvoy): Don't initialize with 0. (key_call): Rewrite to reverse logic of use_doors variable. * sunrpc/netname.c (OPSYS): Define as array, not pointer. (startp): Don't initialize with zero. * sunrpc/openchild.c (_openchild): Make first argument const. * sunrpc/pmap_rmt.c (timeout): Mark const. * sunrpc/xcrypt.c (hex): Likewise. * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting initialization of global variables. * sysdeps/unix/sysv/linux/getpt.c: Likewise. * sysdeps/unix/sysv/linux/if_index.c: Likewise. * termios/tcgetsid.c: Likewise. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change fxsr to osfxsr. * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory block. Add function to free memory if wanted. * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read. * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers. * wcsmbs/wmemset.c: Little code optimization.
* 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-04-281-28/+7
| | | | | | * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove implementation and just always fail with ENOSYS. This entry point is obsolete. Add link warning to that effect.
* Update.Ulrich Drepper1999-04-279-42/+70
| | | | | | | | | | | | | | | | * include/dirent.h: Remove __getdirentries declaration, add __getdents and __getdents64. * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries. * sysdeps/unix/readdir_r.c: Likewise. * sysdeps/unix/sysv/linux/readdir64.c: Likewise. * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise. * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not __getdirentries. Remove fourth argument. * sysdeps/unix/sysv/linux/getdirentries.c: New file. * sysdeps/unix/sysv/linux/getdirentries64.c: New file. * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines): Add getdirentries and getdirentries64. * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
* Update.Ulrich Drepper1999-04-181-2/+5
| | | | | | | | | | 1999-04-18 Thorsten Kukuk <kukuk@suse.de> * sunrpc/Makefile: Remove special handling of bootparam.x, add rpcsvc/bootparam.h to headers. * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility. * sunrpc/rpcsvc/bootparam.x: Renamed to... * sunrpc/rpcsvc/bootparam_prot.x: ...this.
* Update.Ulrich Drepper1999-04-181-40/+110
| | | | | | | 1999-04-18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to detect and handle invalid descriptors.
* Update.Ulrich Drepper1999-04-163-15/+15
| | | | | | | * sysdeps/unix/sysv/linux/bits/types.h: Correct signed/unsigned-ness of blkcnt and fsblkcnt. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* Update.Ulrich Drepper1999-04-161-1/+5
| | | | | | | 1999-04-16 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM, SOL_AAL, and SOL_IRDA.
* Update.Ulrich Drepper1999-04-161-34/+3
| | | | | | | | 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't include "linux_fsinfo.h". Based on a patch by H.J. Lu <hjl@gnu.org>.
* * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * ↵Richard Henderson1999-04-152-12/+12
| | | | | | | | | sysdeps/sparc/sparc32/strcpy.S: Likewise. 1999-04-15 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6. * sysdeps/sparc/sparc32/strcpy.S: Likewise.
* Update.Ulrich Drepper1999-04-151-1/+1
| | | | | | | 1999-04-15 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing compilation of file.
* Sparc merge from Jakub.Richard Henderson1999-04-145-2/+126
| | | | | | | | | | | | | | | | | 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz> * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-* architectures. * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS instead of CFLAGS. * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS instead of CFLAGS. For gnulib and string directories use -Wa,-Av9a gcc ASFLAGS. * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file. * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-* the same way as sparc-*.
* Update.Ulrich Drepper1999-04-142-11/+46
| | | | | | | | | | | | 1999-04-14 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be restarted after being interrupted by a signal. The parameters on the stack were corrupted by the signal handler. * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be restarted after being interrupted by a signal. The parameters on the stack were corrupted by the signal handler.
* Update.Ulrich Drepper1999-04-128-152/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-04-12 Philip Blundell <philb@gnu.org> * elf/elf.h: Update ARM definitions to match current gas2. * sysdeps/arm/bits/endian.h: Support big endian operation. * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl): Don't bother range checking the port number. * sysdeps/unix/sysv/linux/arm/vfork.S: New file. * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include the syscall name in assembler output for ease of debugging. * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined compiler behaviour. * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal] (sysdep_routines): Add sigrestorer. * string/tester.c (test_strcpy): Add new tests for unaligned arguments. * sysdeps/arm/bits/string.h: Delete inline implementations of strcpy and stpcpy.
* 1999-04-10 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-101-1/+2
| | | | * sysdeps/mach/hurd/Dist: Add clk_tck.c.
* Update.Ulrich Drepper1999-04-101-23/+127
| | | | | | | | | | | 1999-04-10 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to use binary search. Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. 1999-04-07 H.J. Lu <hjl@gnu.org> * manual/install.texi (Reporting Bugs): Add section about reported
* 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>Andreas Schwab1999-04-071-1/+4
| | | | | * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return directly if getdents returns with error set.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-061-2/+0
| | | | | | | | | | | * sysdeps/mach/hurd/bits/time.h: New file. * sysdeps/mach/hurd/getrusage.c: New file. * sysdeps/mach/hurd/clk_tck.c: New file. * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir) = posix] (sysdep_routines): Add clk_tck. * sysdeps/mach/hurd/times.c: Removed, since getrusage is now implemented.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-055-0/+190
| | | | | | | | | | | * sysdeps/mach/hurd/bits/time.h: New file. * sysdeps/mach/hurd/getrusage.c: New file. * sysdeps/mach/hurd/clk_tck.c: New file. * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir) = posix] (sysdep_routines): Add clk_tck. * sysdeps/mach/hurd/times.c: Removed, since getrusage is now implemented.
* Update.Ulrich Drepper1999-04-012-3/+14
| | | | | | | | 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string. * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
* Sparc string routines from Jakub.Richard Henderson1999-03-2964-4/+7781
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc32/sparcv8/Makefile: New file. * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y. * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise. * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise. * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise. * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file. * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file. * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file. * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file. * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/memset.S: New file. * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file. * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file. * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file. * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file. * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file. * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file. * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file. * sysdeps/sparc/sparc32/sparcv9/rem.S: New file. * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file. * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file. * sysdeps/sparc/sparc32/sparcv9/umul.S: New file. * sysdeps/sparc/sparc32/sparcv9/urem.S: New file. * sysdeps/sparc/sparc32/sparcv9/Makefile: New file. * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file. * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file. * sysdeps/sparc/sparc32/bcopy.c: New file. * sysdeps/sparc/sparc32/bzero.c: New file. * sysdeps/sparc/sparc32/memchr.S: New file. * sysdeps/sparc/sparc32/memcpy.S: New file. * sysdeps/sparc/sparc32/memmove.c: New file. * sysdeps/sparc/sparc32/memset.S: New file. * sysdeps/sparc/sparc32/stpcpy.S: New file. * sysdeps/sparc/sparc32/strchr.S: New file. * sysdeps/sparc/sparc32/strrchr.c: New file. * sysdeps/sparc/sparc32/strcpy.S: New file. * sysdeps/sparc/sparc32/strlen.S: New file. * sysdeps/sparc/sparc32/strcat.S: New file. * sysdeps/sparc/sparc32/strcmp.S: New file. * sysdeps/sparc/sparc64/bcopy.c: New file. * sysdeps/sparc/sparc64/bzero.c: New file. * sysdeps/sparc/sparc64/memchr.S: New file. * sysdeps/sparc/sparc64/memcmp.S: New file. * sysdeps/sparc/sparc64/memcpy.S: New file. * sysdeps/sparc/sparc64/memset.S: New file. * sysdeps/sparc/sparc64/stpcpy.S: New file. * sysdeps/sparc/sparc64/strcat.S: New file. * sysdeps/sparc/sparc64/strchr.S: New file. * sysdeps/sparc/sparc64/strcmp.S: New file. * sysdeps/sparc/sparc64/strcpy.S: New file. * sysdeps/sparc/sparc64/strcspn.S: New file. * sysdeps/sparc/sparc64/strlen.S: New file. * sysdeps/sparc/sparc64/strncpy.S: New file. * sysdeps/sparc/sparc64/strpbrk.S: New file. * sysdeps/sparc/sparc64/strrchr.c: New file. * sysdeps/sparc/sparc64/strspn.S: New file. * sysdeps/sparc/sparc64/stpncpy.S: New file. * sysdeps/sparc/sparc64/strncmp.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os): Append -fPIC, don't replace. * configure.in: Recognize sparcv8plus / sparcv9.
* Updated.Andreas Schwab1999-03-291-0/+4
| | | | | | | | | | | | | | | | | | | | 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/obstack.h (obstack_free): Explicitly convert __obj to char * to avoid C++ warning. Patch by yasushi@cs.washington.edu [PR libc/1035]. 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/filesys.texi (Temporary Files): mktemp and mkstemp are declared in stdlib.h, correct return value of mkstemp. Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>. * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines from Linux 2.2.5. * misc/regexp.h (compile): Cast some pointers to (char *) to avoid C++ warning.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-261-1/+4
| | | | | * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script if we build the profiled library.
* Thu Mar 25 23:57:57 1999 Roland McGrath <roland@yaumatei.ai.mit.edu>Roland McGrath1999-03-251-0/+7
| | | | | | * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START. This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
* 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-231-1/+10
| | | | | | | | | | | | * sysdeps/mach/hurd/Makefile: Undo last change. [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so. [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so. * mach/Machrules (+preinit, +postinit, +interp, LDFLAGS-$(interface.so)): Variables removed. Interface libraries get linked just like other shared libraries. (interface.so): Fix typo in defn, so it works. ($(objpfx)$(interface.so)): Make it depend on libc.so.
* 1999-03-21 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-231-1/+1
| | | | | * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on $(link-rpcuserlibs).
* 1999-03-19 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-193-6/+135
| | | | | | | | * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW): Support whole-file locking (only) by using the file_lock RPC. This has very wrong semantics, but is better than nothing for the time being. (Correct POSIX.1 locking will require new RPCs in the Hurd protocols that will be somewhat hairy to specify.)
* 1999-03-19 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-191-0/+1
| | | | | * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for _itoa_word decl.
* 1999-03-18 Philip Blundell <philb@gnu.org> Andreas Schwab1999-03-191-0/+2
| | | | | | | | | * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386 implementation. 1999-03-18 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386 implementation.
* Update.Ulrich Drepper1999-03-171-7/+34
| | | | | | | 1999-03-17 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/segfault.c (write_strsignal): New function. (catch_segfault): Use it instead of calling strsignal.
* Update.Ulrich Drepper1999-03-152-2/+16
| | | | | | | | 1999-03-11 David S. Miller <davem@redhat.com> * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable masks. * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
* * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: AddRoland McGrath1999-03-151-0/+15
| | | | | | | | | | __hurd_sigthread_stack_base, __hurd_sigthread_stack_end, __hurd_sigthread_variables, __hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd, __getpid, __libc_read, __libc_write, __lseek, __mmap, __open, __xstat, _exit, _hurd_intr_rpc_mach_msg and abort. 1999-03-15 Mark Kettenis <kettenis@gnu.org>
* 1999-03-15 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-03-151-31/+38
| | | | | | | | | * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1. 1999-03-15 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
* 1999-03-15 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-151-1/+1
| | | | | * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1.
* Update.Ulrich Drepper1999-03-142-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | 1999-03-13 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check if the opened master pty really is a pty. `isatty' checks for tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE if we are out of pty's. 1999-03-13 Mark Kettenis <kettenis@gnu.org> * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just opened file is closed on exec. * login/utmp_daemon.c (setutent_daemon): Likewise for the just opened socket. 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/llio.texi (File Position Primitive): Reformat @end command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020]. * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no entry is found. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* Update.Ulrich Drepper1999-03-102-0/+466
| | | | | | | | | | | | | 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdio-common/printf_fphex.c: Move to ... * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of extended precision number. * sysdeps/m68k/printf_fphex.c: New file. 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/stdio.texi: Fix typos.
* Update.Ulrich Drepper1999-03-082-0/+43
| | | | | | | | | | | | | | | 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdlib/strtod.c (round_and_return): Fix rounding of denormals. (DENORM_EXP): New define. Use it as the exponent for a denormal. * stdlib/strtold.c: Moved to ... * sysdeps/generic/strtold.c: ... here. * sysdeps/m68k/strtold.c: New file. 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal point if the precision is zero, even if the mantissa is non-zero.
* 1999-03-09 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-081-33/+42
| | | | | | | * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the arguments into the request message buffer inside `send_rpc' subfunction. We must repeat the marshalling when retrying the RPC after a SIGTTOU delivery.
* Update.Ulrich Drepper1999-03-082-28/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change. /dev/pts status may change during runtime. 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last change. /dev/pts status can change during runtime. 1999-03-07 Thorsten Kukuk <kukuk@suse.de> * sunrpc/svc_tcp.c (readtcp): go into fatal error state if poll reports error. * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls, add some more sanity checks. * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for parser prototype. 1999-03-05 Thorsten Kukuk <kukuk@suse.de> * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops, change XDR_GETINT32/XDR_PUTINT32 to sue new functions. * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32. * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32. * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function for x_getint32. * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32. * nis/nis_print.c: Fix ctime argument for platforms where sizeof (time_t) != sizeof (int). 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
* 1999-03-07 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-071-4/+4
| | | | | * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use CLOCKS_PER_SEC instead of CLK_TCK.
* (Tools for Compilation): Update required texinfo version.Ulrich Drepper1999-03-071-4/+0
|
* Update.Ulrich Drepper1999-03-052-21/+31
| | | | | | | * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember whether /dev/pts is available. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of dev_pts_available.
* (__elf_machine_runtime_setup): DT_PLTGOT has already been relocated. ↵Ulrich Drepper1999-03-041-26/+16
| | | | (__elf_machine_fixup_plt): Likewise. Minor cleanups.
* 1999-03-03 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-031-1/+4
| | | | | | | | | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, set O_NOTRANS as well. (__hurd_file_name_lookup_retry): At successful end of lookup, if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if it is a translated node not owned by root. (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash on the file name passed to LOOKUP.
* Update.Ulrich Drepper1999-03-021-1/+1
| | | | | | | 1999-03-02 Philip Blundell <pb@nexus.co.uk> * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.
* Update.Ulrich Drepper1999-03-017-14/+14
| | | | | | | | | | | | | | 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to uc_link which is the right name according to Unix98. Reported by Craig Metz [PR libc/1001]. * sysdeps/arm/sys/ucontext.h (ucontext): Likewise. * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise. * sysdeps/mips/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise. * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
* Update.Ulrich Drepper1999-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of @ifinfo. 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * iconvdata/Makefile: Always include iconv-rules, but disable rule to regenerate it if avoid-generated. * Makeconfig: Always include sys-dirs, but disable rule to regenerate it when avoid-generated. * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around rule to generate sysd-syscalls. * elf/Makefile (generated): Remove $(objpfx) from names.
* 1999-02-28 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-02-285-30/+30
| | | | | | | | | | | * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the actual length if the adress length is smaller than the input value. Change type of *LEN paramater to socklen_t. * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. * sysdeps/mach/hurd/accept.c (accept): Likewise. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN paramater to socklen_t.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-273-48/+9
| | | | | | | | | | | | | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning. * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. * hurd/hurdchdir.c: New file. * hurd/hurdfchdir.c: New file. * sysdeps/mach/hurd/chroot.c: Call _hurd_change_directory_port_from_name to do the work. * sysdeps/mach/hurd/chdir.c: Likewise. * sysdeps/mach/hurd/fchdir.c: Call _hurd_change_directory_port_from_fd to do the work. * hurd/fchroot.c: Likewise. * hurd/hurd.h: Declare them.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-02-271-4/+7
| | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning.
* Update.Ulrich Drepper1999-02-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a non-checked heap is restored when malloc checking was requested by the user. (struct malloc_state): Add using_malloc_checking. (MALLOC_STATE_VERSION): Increment minor. (using_malloc_checking, disallow_malloc_check): New variables. (__malloc_check_init): Use them. (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so that it can the chunk is properly instrumented when malloc checking is enabled. Set the new using_malloc_checking field. (malloc_hook_ini): Correct signature when _LIBC is not defined. 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/i386/dl-librecon.h (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second time. * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main. Don't call elf_get_dynamic_info and _dl_setup_hash a second time if ld.so is the main program. * stdio-common/vfprintf.c (vfprintf): If precision or width is too