aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
AgeCommit message (Collapse)Author
1999-04-28Update.Ulrich Drepper
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-27Update.Ulrich Drepper
* 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.
1999-04-18Update.Ulrich Drepper
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.
1999-04-18Update.Ulrich Drepper
1999-04-18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to detect and handle invalid descriptors.
1999-04-16Update.Ulrich Drepper
* 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.
1999-04-16Update.Ulrich Drepper
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.
1999-04-16Update.Ulrich Drepper
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>.
1999-04-15Update.Ulrich Drepper
1999-04-15 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing compilation of file.
1999-04-14Sparc merge from Jakub.Richard Henderson
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-*.
1999-04-14Update.Ulrich Drepper
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.
1999-04-12Update.Ulrich Drepper
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-071999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>Andreas Schwab
* sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return directly if getdents returns with error set.
1999-04-01Update.Ulrich Drepper
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.
1999-03-29Sparc string routines from Jakub.Richard Henderson
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.
1999-03-29Updated.Andreas Schwab
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-191999-03-18 Philip Blundell <philb@gnu.org> Andreas Schwab
* 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.
1999-03-14Update.Ulrich Drepper
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.
1999-03-08Update.Ulrich Drepper
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-071999-03-07 Mark Kettenis <kettenis@gnu.org> Roland McGrath
* sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use CLOCKS_PER_SEC instead of CLK_TCK.
1999-03-07(Tools for Compilation): Update required texinfo version.Ulrich Drepper
1999-03-05Update.Ulrich Drepper
* 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.
1999-03-01Update.Ulrich Drepper
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.
1999-03-01Update.Ulrich Drepper
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-24Update.Ulrich Drepper
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
1999-02-22Update.Ulrich Drepper
1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat instead of stat and fstat. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1999-02-22Update.Ulrich Drepper
1999-02-22 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/clock.c: Don't test return value of __times [PR libc/990].
1999-02-22Update.Ulrich Drepper
1999-02-21 David S. Miller <davem@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix parentheses in Feb 2 changes. * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1999-02-16Update.Ulrich Drepper
1999-02-03 Jeff Bailey <jbailey@nisa.net> * sysdeps/unix/make_errlist.c: Add i18n and copyright to generated files. * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1999-02-14(__libc_sa_len): Add some missing cases.Ulrich Drepper
1999-02-11Update.Ulrich Drepper
1999-02-10Update.Ulrich Drepper
1999-02-10 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/kernel_stat.h: Define _NO_LFS___PAD1. * sysdeps/unix/sysv/linux/xstatconv.c (xstat64_conv): Don't initialize __pad1 if _NO_LFS___PAD1 is defined. * sysdeps/unix/sysv/linux/bits/stat.h: Remove __pad1 from stat64 definition. * sysdeps/unix/sysv/linux/bits/types.h: Change __ino64_t to 64 bits. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1999-02-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT signal definitions.
1999-02-07Update.Ulrich Drepper
1999-02-03 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME macro, so that architectures which need to add some special offset to stack pointer can share this file. * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common between sparc32 and sparc64. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove. * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common between sparc32 and sparc64. * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove. * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common between sparc32 and sparc64. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove. * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common between sparc32 and sparc64.
1999-02-07Update.Ulrich Drepper
1999-02-07 Ulrich Drepper <drepper@cygnus.com> * Versions.def: New version GLIBC_2.1.1 for libc. * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1. * stdlib/labs.c: Moved to... * sysdeps/generic/labs.c: ...here. * stdlib/llabs.c: Moved to... * sysdeps/generic/llabs.c: ...here. * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other header. Declare _Exit. * sysdeps/generic/_exit.c: Add alias _Exit. * sysdeps/mach/hurd/_exit.c: Likewise. * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. * sysdeps/unix/_exit.c: Likewise. * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare imaxdiv and imaxabs. Declare lldiv_t if necessary. * sysdeps/wordsize-64/inttypes.h: Likewise. * sysdeps/wordsize-32/llabs.c: New file. * sysdeps/wordsize-32/lldiv.c: New file. * sysdeps/wordsize-64/labs.c: New file. * sysdeps/wordsize-64/ldiv.c: New file. * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv. * manual/startup.texi: Document _Exit. 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1999-02-03Update.Ulrich Drepper
1999-02-03 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Set branch prediction correctly. * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Signal takes a pointer to __sigcontext_t. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Do a nop after retl. * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove fork.S.
1999-02-02Update.Ulrich Drepper
1999-02-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is correctly passed to the kernel even on 64bit platforms. Patch by Bruce Elliott <bde@nwlink.com>. * localedata/locales/it_CH: New file. Contributed by Giacomo Amabile Catenazzi <gcatenaz@g26.ethz.ch>.
1999-01-30Update.Ulrich Drepper
1999-01-31 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel doesn't have vfork, resort to using fork. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1999-01-29Update.Ulrich Drepper
* sysdeps/unix/sparc/vfork.S: Correct comment. * sysdeps/unix/sparc/fork.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove vfork. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: No special case for child necessary. * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: New file. Patches by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>. * sysdeps/libm-i387/s_fdim.S: Change fsubp to fsubrp for picky gas.
1999-01-29Update.Ulrich Drepper
1999-01-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/wordsize-32/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, UINT8_C, UINT16_C, UINT32_C, UINT64_C): Remove casts, they must be integer constants. Use ## directly instead of __CONCAT so that the suffix string is not expanded as a macro. * sysdeps/wordsize-64/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C, UINT8_C, UINT16_C, UINT32_C, UINT64_C): Likewise. (INT64_MIN, INT64_MAX, UINT64_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST16_MIN, INT_FAST32_MIN, INT_FAST64_MIN, INT_FAST16_MAX, INT_FAST32_MAX, INT_FAST64_MAX, UINT_FAST16_MAX, UINT_FAST32_MAX, UINT_FAST64_MAX, INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX): Define as long constants, not long long. 1999-01-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * locale/mb_cur_max.c (__ctype_get_mb_cur_max): Correct return type to size_t. * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Likewise. * stdlib/stdlib.h (__ctype_get_mb_cur_max): Likewise. 1999-01-27 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/vfork.S: Deleted.
1999-01-28Update.Ulrich Drepper
* sysdeps/unix/sysv/sysv4/solaris2/configure.in: New file. * sysdeps/unix/sysv/sysv4/solaris2/configure: New file. * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: New file. Patch by Jeff Bailey <jbailey@phn.ca>.
1999-01-28Update.Ulrich Drepper
* libio/genops.c (_IO_un_link): Move #ifdef introduced in last change in right place. * sysdeps/unix/sysv/linux/sys/timex.h: Add MAXTC from kernel header. Suggested by Thomas Quinot <thomas@Cuivre.FR.EU.ORG>. 1999-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * libio/getc_u.c (__getc_unlocked): Avoid compiler warning. 1999-01-28 Ulrich Drepper <drepper@cygnus.com>
1999-01-26Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/clone.S: When not using PIC don't use jecxz since the label might be far away.
1999-01-26Update.Ulrich Drepper
1999-01-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sigaction.c: Update comment to say the __libc_missing_rt_sigs is defined here. * sysdeps/unix/sysv/linux/sigpending.c: Only declare __libc_missing_rt_sigs. * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1999-01-25Update.Ulrich Drepper
1999-01-26 Geoff Keating <geoffk@ozemail.com.au> * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning about potentially uninitialized `flags'. * nss/nss_db/db-alias.c (internal_setent): Likewise. 1999-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/failobj.c: Provide prototype for xyzzy. 1999-01-25 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again.
1999-01-25Correct error check again.Ulrich Drepper
1999-01-24Update.Ulrich Drepper
* po/sv.po: Update from translation team. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork as alias. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. 1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * ctype/ctype.h (toupper,tolower): Use __inline instead of inline, define inline functions only when optimizing for speed and __USE_EXTERN_INLINES is set. 1999-01-24 Ulrich Drepper <drepper@cygnus.com> * ctype/ctype.c (toupper): Correct variable names from last change.
1999-01-241999-01-23 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath
* sysdeps/unix/sysv/linux/sys/mtio.h: Moved to... * sysdeps/gnu/sys/mtio.h: ...here. (_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros. * sysdeps/gnu/Dist: Add sys/mtio.h. * sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] (sysdep_headers): Don't add sys/mtio.h here. * sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it here instead.
1999-01-22Update.Ulrich Drepper
1999-01-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * elf/Makefile: Make dependencies between test modules explicit. (preloadtest-preloads): New variable. ($(objpfx)preloadtest.out): Use it. (preloadtest-ENV): Use it. 1999-01-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/arm/Dist: Undo last change. Not needed. * elf/Makefile: Add missing dependency for preloadtest binary. 1999-01-21 Ulrich Drepper <drepper@cygnus.com>
1999-01-21Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print. * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h. * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h. * posix/Makefile (headers): Add sys/sysmacros.h. * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD. * sysdeps/generic/sys/sysmacros.h: New file. * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and major definition.
1999-01-21Update.Ulrich Drepper
1999-01-20 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/sigaction.c: New file. * sysdeps/unix/sysv/linux/arm/vfork.S: New file. * sysdeps/unix/sysv/linux/arm/Dist: Add vfork.S. * sysdeps/unix/sysv/linux/arm/clone.S: Optimise a little, support 26-bit machines correctly and fix check for returned errors.