summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
1996-08-06Another correction.cvs/libc-ud-960805cvs/libc-960807cvs/libc-960806Ulrich Drepper
tcgetattr. We have weak aliases now. * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove "optimizations" for random functions.
1996-08-06Correction.Ulrich Drepper
tcgetattr. We have weak aliases now. * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove "optimizations" for random functions.
1996-08-06Update.Ulrich Drepper
Tue Aug 6 01:13:56 1996 Ulrich Drepper <drepper@cygnus.com> Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1. This requires to rename several functions to use __ protected names. * dirent/dirent.h: Add prototypes of __opendir, __closedir, and __readdir. * sysdeps/mach/hurd/closedir.c: Prepend function name with __ and make old name a weak alias. * sysdeps/mach/hurd/getrlimit.c: Likewise. * sysdeps/mach/hurd/opendir.c: Likewise. * sysdeps/mach/hurd/readdir.c: Likewise. * sysdeps/stub/closedir.c: Likewise. * sysdeps/stub/opendir.c: Likewise. * sysdeps/stub/readdir.c: Likewise. * sysdeps/unix/closedir.c: Likewise. * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/readdir.c: Likewise. * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'. * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir', `__closedir' instead of unprotected names. * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty' instead of `isatty' since later is not part of ISO C. * libio/fileops.c (_IO_file_fopen): Call `__open' instead of `open' since later is not part of ISO C. * login/endutent.c (endutent): Call `__endutent_r', not `endutent_r'. * login/endutent_r.c: Rename defined function to `__endutent_r', make `endutent_r' weak alias. * login/getutent.c (getutent): Call `__getutent_r', not `getutent_r'. * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'. * login/getutid_r.c: Rename defined function to `__getutent_r', make `getutent_r' weak alias. * login/getutline.c (getutline): Call `__getutline_r', not `getutline_r'. * login/getutline_r.c: Rename defined function to `__getutline_r', make `getutline_r' weak alias. * login/pututline_r.c: Rename defined function to `__pututline_r', make `pututline_r' weak alias. * login/setutent.c (setutent): Call `__setutline_r', not `setutline_r'. * login/setutent_r.c: Rename defined function to `__setutline_r', make `setutline_r' weak alias. Rename `utmpname' to `__utmpname' and make former weak alias. (__utmpname): Call `__strdup', not `strdup'. * login/utmp.h: Add prototypes for name space clean reentrant versions. * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r', and `__endutent_r' instead of unprotected names. * math/math.h: Add prototype for `__matherr'. * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead of `matherr'. * nss/getXXbyYY.c: Call __ protected reentrant function. * nss/getXXent.c: Likewise. * nss/getXXbyYY_r.c: Define `get*' function with __ protected name. Make usual name a weak alias. * nss/getXXent_r.c: Likewise. * posix/unistd.h: Add prototype for `__ttyname_r'. * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r' and make `ttyname_r' a weak alias. * resource/sys/resource.h: Add prototype for `__getrlimit'. * sysdeps/stub/getrlimit.c: Prepend function name with __ and make old name a weak alias. * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit' and make `getrlimit' weak alias. * libc/stdio/stdio.h: Add prototype for `__vscanf'. * libc/stdio/vscanf.c: De-ANSI-fy. Rename function to `__vscanf' and make `vscanf' a weak alias. * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead of `vscanf'. * stdio-common/reg-printf.c: De-ANSI-fy. Rename function to `__register_printf_function' and make `register_printf_function' weak alias. * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of `wcsrtombs'. * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'. * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'. * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'. * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'. * wcsmbs/mbrtowc.c: Prepend function name with __ and make old name a weak alias. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wchar.h: Add prototypes for __ protected versions. * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask' instead of `sigprocmask'. * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant version getgrent_r, getgrgid_r, and getgrnam_r. * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant version getpwent_r, getpwuid_r, getpwnam_r and __ protected names. * resolv/netdb.h: Complete rewrite. No more BSD ugliness. * misc/error.c (private_strerror): Translate messages from table, too. * io/fcntl.h: Pretty printing. * misc/fstab.h: Likewise. * misc/ttyent.h: Likewise. * resource/sys/resource.h: Likewise. * string/argz.h: Likewise. * string/envz.h: Likewise. Add support for symbols from POSIX.1c (POSIX threads). * posix/getconf.c: Handle new sysconf symbols. * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and _POSIX_LOGIN_NAME_MAX with minimal maximal values. * sysdeps/generic/confname.h: Define new symbols. * sysdeps/posix/sysconf.c: Handle new symbols. * sysdeps/stub/sysconf.c: Ditto. * sysdeps/unix/sysv/linux/sysconf.c: Removed. Generic version is ok now. * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to have real prototype. * sysdeps/generic/resourcebits.h: Add macro definition for RLIMIT_* values. Some sources test using #ifdef whether specific limit is available. * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto. * sysdeps/unix/sysv/linux/resourcebits.h: Removed. We need separate files for the architectures. * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file. * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file. * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file. * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file. * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function and only default on `OPEN_MAX'. * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed. Default is already the POSIX version. * time/Makefile (routines): Add ctime_r. * time/asctime.c: Add implementation of `asctime_r'. Make `asctime' implementation based on reentrant version. * time/ctime_r.c: New file. * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r' and `ctime_r'. Sat Aug 3 18:41:36 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry. (_nl_C_LC_CTYPE): Fix ordering. * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix typo. Sat Aug 3 12:31:06 1996 Richard Henderson <rth@tamu.edu> * csu/initfini.c: Discover the maximum alignment generated by the compiler when emitting a function. (_init): Make sure the end of the crti fragment is aligned. (_fini): Likewise. Fri Aug 2 03:12:40 1996 Ulrich Drepper <drepper@cygnus.com> * initfini.c: (__libc_is_static): New variable. Will be initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. * sysdeps/unix/sysv/linux/init-first.c (init): Use `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. * locale/setlocale.c (setlocale): Use global variable `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. Fri Aug 2 14:40:22 1996 Roland McGrath <roland@fast.cs.utah.edu> * Version 1.93 test release. * manual/Makefile: Use -include for chapters-incl too. * Makeconfig (+link): Add back start.o, mistakenly removed in last change. Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * nss/Makefile (generated): Add db-*.c. * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of using #include_next. * configure.in (--enable-add-ons): Quote m4 macro args. * elf/rtld.c (dl_main): For --verify, fail if no dynamic section. Thu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu> * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc. * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there. * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here. (+link): Not here. * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress warning when inline function is elided. * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise. (elf_machine_runtime_setup): Likewise. * elf/dynamic-link.h (elf_get_dynamic_info): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise. (elf_machine_load_address): Likewise. * catgets/gencat.c: Include <locale.h>. * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS. * login/logwtmp.c (logwtmp): Call time, not __time. * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro. * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member. * login/logwtmp.c (logwtmp): Likewise. * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if comparing ioctl macro values. * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'. * manual/Makefile: Use -include for chapters to suppress warning. * sysdeps/stub/socket.c: Fix type of TYPE arg. * sysdeps/stub/socketpair.c: Likewise. * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword. * sysdeps/generic/sysdep.h: New file, broken out of ... * sysdeps/unix/sysdep.h: ... here. (C_LABEL): Moved out. * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax; stick to sed. Do `exit 0' at end because while returns nonzero. * sysdeps/i386/sysdep.h: New file, broken out of ... * sysdeps/unix/i386/sysdep.h: ... here. Generic asm macros moved out. * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed. They are defined unconditionally in libio/stdio.h. * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn. * elf/dl-cache.c: Likewise. Mon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc] (sysdep_headers): Add sys/sysmacros.h. * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file. tcgetattr. We have weak aliases now. * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove "optimizations" for random functions.
1996-08-01Wed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>cvs/libc-960801Roland McGrath
* termios/termios.h [__OPTIMIZE__]: Remove "optimization" for tcgetattr. We have weak aliases now. * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove "optimizations" for random functions.
1996-07-31Mon Jul 29 20:33:42 1996 Andreas Schwab ↵Roland McGrath
<schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl, htons) [__BIG_ENDIAN]: #undef them before defining to avoid redefinition warning. Mon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * time/time.h: Don't optimize tzset() to __tzset() which bypasses the __tzset_lock. Tue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion protection. Tue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com> * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t' to be 64-bit clean. Reported by Richard Henderson <rth@tamu.edu>. Tue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * locale/programs/ld-collate.c (collate_output): Fix typo reported by David Miller. Tue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com> * locale/setlocale.c (setlocale): Don't try to free C locale data. Reported by Matthias Urlichs.
1996-07-30Tue Jul 30 14:35:17 1996 Miles Bader <miles@gnu.ai.mit.edu>cvs/libc-960731Miles Bader
* sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file. (open_file): New function, contents mostly from __open. (_dl_sysdep_read_whole_file): New function.
1996-07-30Sat Jul 27 11:23:59 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader
* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote `..' dots in sed search string.
1996-07-29Mon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960730cvs/libc-960729Roland McGrath
* sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion protection. * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure in those directories. * config.make.in (add-ons): New varaible, set from @subdirs@. * Makefile (subdirs): Added $(add-ons) at the end.
1996-07-29Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* time/strftime.c (strftime: do_number): Initialize PRINTED to MAXDIGITS in case P is null and so sprintf is never actually called. Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com> Add support for the to-be-written internationalized regexp. This code must be able to use collation symbols and collation equivalent classes. * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash, _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes): New global variables for collation classes. * locale/categories.def: Add new descriptions for collation symbols and collation classes. * locale/langinfo.h: Add constants for collation symbols and collation classes. * locale/lc-collate.c: Add new global variables for collation symbols and collation classes. (_nl_postload_collate): Initialize new variables. * locale/programs/ld-collate.c: Add code to emit tables for collation symbols and collation classes. * locale/programs/locales.h: Change prototype for `collate_output'. * locale/programs/locfile.c (write_all_categories): Call `collate_output' with new argument. * locale/localeinfo.h: Add declaration for new global vars. (union locale_data_value): New member wstr for `wchar_t' strings. * locale/programs/locale-spec.c: Handle `collate-classes' keyword and print information about available collation classes. * locale/strlen-hash.h: New file. Simple hashing function which takes a string with known length. * locale/Makefile (distribute): Add strlen-hash.h. (locale-modules): New var. Additional files for `locale' program. * locale/C-ctype.c: Rewrite to avoid using string for giving values which are of type `u_int32_t'. Correct entry for EOF in toupper and tolower tables. * locale/loadlocale.c (_nl_load_locale): Add cast to prevent warning. * locale/programs/ld-ctype.c (ctype_output): Add code to make sure that all tables in binary file are words aligned. * locale/programs/locfile.c (write_locale_data): Correct handling of LC_MESSAGES locale. Create directory if necessary. * locale/setlocale.c (setlocale): Add cast to avoid warning. * string/string.h: Add prototype for `__strndup'. Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * wcsmbs/mbrtowc.c: Remove unused variable. Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to 2.0.10; some problems were reported with an earlier version, and this one is known to work. * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable. * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1996-07-29Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>Roland McGrath
* elf/rtld.c (dl_main): Ignore arguments when environment variable LD_TRACE_LOADED_OBJECTS is set. Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize __libc_enable_secure instead of _dl_secure. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise. * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead of _dl_secure. * elf/Makefile (routines): Add enbl-secure. (elide-routines.so): Here too. * sysdeps/generic/enbl-secure.c: New file. * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag. * elf/dl-support.c (_dl_secure): Variable removed. * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure. Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com> * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Declare _dl_runtime_resolve with __attribute__ ((unused)) so the compiler doesn't elide it. (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
1996-07-27Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960727Roland McGrath
* elf/rtld.c (dl_main): Take new option --verify when run directly. In verify mode, exit with status zero iff the argument object's PT_INTERP matches argv[0]. * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it exits with zero status. This makes `ldd' secure again. Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com> * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS environment variable handling. This makes the dynamic linker only print loaded libraries and quit. * elf/ldd.sh.in: Don't use `rtld --list' but instead LD_TRACE_LOADED_OBJECTS environment variable to print needed objects. Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * db/makedb.c (main): Print version on stdout, not stderr. Don't exit after printing version until after doing usage for --help. (long_options, main, usage): Rename -l/--lowercase option to -f/--fold-case (-f matches sort). Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com> * db/makedb.c: New file. Implement program to create simple <db.h> database from textual input. This will be used for nss_db. Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/auth.h: Likewise. * sunrpc/rpc/pmap_rmt.h: Likewise. * sunrpc/rpc/rpc_msg.h: Likewise. Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com> * string/string.h (strndupa): Change to use return value of `memcpy' for more performance. * string/strndup.c: Likewise. * string/string.h (strdupa): Don't call __builtin_alloca in argument. This might lead to problems. (strndupa): Likewise.
1996-07-27Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>Roland McGrath
* sunrpc/rpc/auth.h: Add protection against multiple inclusion and change K&R prototypes to ANSI prototypes. * sunrpc/rpc/auth_unix.h: Ditto. * sunrpc/rpc/clnt.h: Ditto. * sunrpc/rpc/pmap_clnt.h: Ditto. * sunrpc/rpc/pmap_prot.h: Ditto. * sunrpc/rpc/pmap_rmt.h: Ditto. * sunrpc/rpc/rpc_msg.h: Ditto. * sunrpc/rpc/svc.h: Ditto. * sunrpc/rpc/svc_auth.h: Ditto. * sunrpc/rpc/xdr.h: Ditto. Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com> * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS. * sunrpc/rpc/auth_unix.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * sunrpc/rpc/netdb.h: Likewise. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/pmap_prot.h: Likewise. * sunrpc/rpc/rpc_msg.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/svc_auth.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t' to here from... * sunrpc/pmap_rmt.c: ...here.
1996-07-27Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* ctype/test_ctype.c: Test EOF too.
1996-07-26Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader
* login/pututline_r.c (pututline_r): Only call getutid_r if ID has a valid ut_id field. * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid if a search fails.
1996-07-26Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960726Roland McGrath
* sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
1996-07-26Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>Roland McGrath
* intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is defined, not __OPTIMIZED. (_nl_msg_cat_cntr): Move declaration outside macro definition to prevent "nested extern" warning. (dcgettext): Rename local variable `result' to `__result'. Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * locale/programs/localedef.c (__progname): Remove decl. (main): Use program_invocation_short_name instead of __progname. (usage): Use program_invocation_name instead of __progname. Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com> * catgets/gencat.c: Use "libc" instead of PACKAGE. * locale/localedef.c: Ditto. * locale/locale.c: Ditto. * locale/findlocale.c (_nl_find_locale): Little optimization. Use new function `strndup'. * locale/loadlocale.c: Little optimization. Use constant value from `_nl_category_num_items' instead of byte-order dependend value from file. * locale/programs/ld-time.c (time_add): Correct string constant. * locale/programs/locale-spec.c: New file. * locale/programs/locale.c: Call `locale_special' function if no other field matches. * locale/programs/localedef.c: No need to define `program_name'. Use global variable `__progname'. * locale/programs/locfile.c (write_locale_data): Always write LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is necessary since message catalogs are also installed in the LC_MESSAGES/ directory. * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char' function instead of writing single bytes. (encode_char): Also handle little endian. * locale/setlocale.c (new_composite_name): Little optimization. Use return value of `memcpy'. * misc/ttyent.h: Pretty print prototypes, add missing parameter names, prepend parameter names with __ and use `__const' instead of `const'. * posix/unistd.h: Ditto. * stdlib/stdlib.h: Ditto. * string/string.h: Ditto. * posix/getconf.c: De-ASNI-fy. Recognize POSIX.2 constant names. Use `error' function instead of doing it by hand. * sysdeps/posix/sysconf.c: De-ANSI-fy. Handle _SC_COLL_WEIGHTS_MAX. * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF since these do depend on the platform. Add POSIX.4 symbols. * posix/posix2_lim.h: Add missing definition of _POSIX2_COLL_WEIGHTS_MAX. Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX to high values since we have no fixed limit. * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for _SC_PAGESIZE for buggy systems (= HP UX) out there. * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs. * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation. * wcsmbs/wcsnrtombs.c: Ditto. * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and wcsnrtombs. Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu> * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of course. * nss/getXXent_r.c: Likewise. * nss/nsswitch.c: Likewise. * nss/nss_files/files-XXX.c: Likewise. * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise. * sysdeps/unix/bsd/telldir.c (struct record): Likewise. * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
1996-07-25Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New macro, now put the needed Linux version just once, here; update to needing linux-2.0.3 headers. (libc_cv_linuxVER): New macro derived from that. (kernel header check): Use those macros and some m4 magic to replace hard-coded `201' and `2.0.1' in several places. * Makerules ($(libdir)/libc.so): Fix typos in generated comment. Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com> * time/localtime.c: Move lock variable declaration to end of variable declarations since if is a dummy macro the ; at the end terminates the variable section of the function. * time/tzset.c: Undefine `tzset' before function declaration. Use `weak_function' macro instead of `weak_symbol'. Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com> * stdlib/strtouq.c: Additional weak alias is `strtoull', not `strotull'. Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com> * locale/C-ctype.c: Increment number of fields after change from Wed Jun 19 03:24:58 1996.
1996-07-23Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960725cvs/libc-960724Roland McGrath
* sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable. ($(common-objpfx)libc.so): Move deps into that, use it. [$(subdir) = elf] ($(objpfx)librtld.so): Depend on $(rpcuserlibs:.so=_pic.a). * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't use $(LDLIBS-c.so). Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s, n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
1996-07-23Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>Roland McGrath
* locale/iso-4217.def: Add India to comment for symbol "INR ". Reported by Raja R Harinath <harinath@cs.umn.edu>. Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus #undef RESOLVE. * time/tzset.c: Include <libc-lock.h>. (__tzset_lock): New lock variable. (tzset): New function (weak defn), no longer weak alias for __tzset. Call __tzset while holding __tzset_lock. * time/localtime.c: Include <libc-lock.h>. (__localtime_r): Hold __tzset_lock while doing the work.
1996-07-21Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960723cvs/libc-960722Roland McGrath
* sysdeps/generic/setenv.c (__environ): Change conditional for #define from [!HAVE_GNU_LD] to [!_LIBC]. [_LIBC]: Include <libc-lock.h> and define a lock. (LOCK, UNLOCK): New macros, no-ops for [! _LIBC]. (setenv, unsetenv): Use them. Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> Win32 hacks from <Rob_Tulloh@tivoli.com>. * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino; use void * for my_realloc; include <malloc.h> for alloca. (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable. * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__]. * posix/glob.h: Likewise.
1996-07-21Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>cvs/libc-960721Miles Bader
* locale/programs/locfile.c (write_locale_data): Deal with missing UIO_MAXIOV. * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
1996-07-21<unistd.h>: New include.Miles Bader
1996-07-21* sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.Miles Bader
1996-07-21* sysdeps/mach/libc-lock.h (__libc_lock_define): BackslashifyMiles Bader
continuation line.
1996-07-20Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader
* sysdeps/mach/hurd/select.c (__select): Don't poll on the last call __io_select unless there's only a single descriptor, as each descriptor now has its own reply port. If there is only a single descriptor, just use its reply port for everything and don't bother creating the port set.
1996-07-20Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Rules (dummy.o, empty.o): Targets removed. (dummy.c, empty.c): New targets replace them. See ChangeLog.5 for earlier changes.
1996-07-20Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>Roland McGrath
* locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene operator to yesexpr and noexpr string.
1996-07-20Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export from the USA any software that even makes it easy to drop in an encryption module of foreign origin. * Makerules (cryptobjdir): Variable removed. ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version). * Makefile (subdirs): Remove crypt. Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com> * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the old code would have failed on a big-endian 64-bit architecture). * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto. * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case. (xdr_u_long): Use switch instead of chain of if-statements. Remove gratitous parentheses around return expressions. (xdr_enum): Open code case where INT_MAX<LONG_MAX. * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS. * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long, not int. Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * dlfcn.h, db.h: New wrapper headers. * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA] for `struct stat;' forward decl. Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com> * locale/iso-4217.def: Add some more standardized currency symbols.
1996-07-19Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960720Roland McGrath
* hurd/report-wait.c (describe_number): Use unsigned long int for J. (subdir): Fix name.
1996-07-18Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960719Roland McGrath
* crypt/Makefile (lib-noranlib): Depend on $(objpfx)libcrypt.so$(libcrypt.so-version). * sysdeps/stub/ustat.c: Ditto. * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... * sysdeps/alpha/elf/start.S: here.
1996-07-18Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>cvs/libc-960718Roland McGrath
* sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0 check. mib's clueless hacking broke it. Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir). Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/alpha/start.S: Move to ... * sysdeps/alpha/elf/start.S: here. * misc/sys/ustat.h: New file. * misc/ustat.h: Ditto. * sysdeps/generic/ustatbits.h: Ditto. * libc-orig/sysdeps/stub/ustat.c: Ditto. * sysdeps/unix/sysv/linux/ustatbits.h: Ditto. * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and ustatbits.h. (routines): Mention ustat. * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in alphabetically correct place. Mention ustat. * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a common symbol (makes errno accessible from gdb). * login/pututline_r.c (pututline_r): Test ut_id in repositioning test, not ut_type. * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in separate loop from search for UT_ID. Fix code so it is in sync with Unix man page. * login/getutline_r.c (getutline_r): Stop searching only if ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to avoid duplicate declarations. Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com> * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux and alpha-gnu-linuxecoff targets. Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport(). Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com> * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead of int. * resolv/res_comp.c (res_hnok): Use empty statement in place of NULL (which generates a "useless expression" warning in gcc).
1996-07-18Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../ with $(..) in output.
1996-07-17Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* elf/Makefile (dl-routines): Add dl-cache. * elf/dl-cache.c: New file. * elf/dl-load.c (_dl_map_object): Check cache before default path.
1996-07-17Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>Roland McGrath
* stdio-common/vfscanf.c: Major change. Now read character from stream only if needed. Before it was read after the previous character was used. Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE> * stdio-common/tstscanf.c: Change test program so that return value is != 0 if one test failed. * sysdeps/m68k/Makefile (crypt): Variable removed. * sysdeps/sparc/Makefile: Likewise.
1996-07-17Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* version.h (VERSION): Update to 1.93. * Makerules ($(libdir)/libc.so): Depend on $(common-objpfx)libcrypt.so$(libcrypt.so-version). * crypt/nocrypt.c: New file. * Makefile (subdirs): Add crypt. * crypt/Makefile: New file. * Makerules (soversions.mk): Move this target, include of it, and include of version.mk to ... * Makeconfig: ... here. (soversions.mk): Depend on Makeconfig instead of Makerules. * shlib-versions (*-*-*): Set libcrypt=0. Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * shlib-versions (*-*-gnu*): Set libc=0.0 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in sysdeps/i386/dl-machine.h. Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores to the strong name, not the file name. * csu/initfini.c: More magic. Detect if .end is produced and put it in the output iff the compiler does.
1996-07-17Merge linewrap changesMiles Bader
Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu> * stdio/linewrap.c (lwupdate): Fix boundary condition where a word extends right up to rmargin. * stdio/linewrap.c (lwupdate): When we've done a word wrap and output the wrap margin, set point_col to wmargin. Use negative point_col to deal with a wmargin of 0. (line_wrap_point): Return 0 for a negative point_col. (line_wrap_stream): Make wmargin ssize_t. * stdio/linewrap.h (struct line_wrap_data): Make wmargin & point_col ssize_t. (line_wrap_stream): Make wmargin ssize_t. (line_wrap_point): Return 0 for a negative point_col. Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu> * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp to fiddle __put_limit in conjunction with __linebuf_active.
1996-07-17* elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto arrayRoland McGrath
because that is broken on alpha.
1996-07-16Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map call as in first. * Makerules (make-link): Install the new link with atomic mv -f in case ln itself requires the library being installed.
1996-07-16Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>cvs/libc-960716Roland McGrath
* sysdeps/alpha/dl-machine.h: Mirror Roland's changes to i386/dl-machine.h of 960713. * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>. (_dl_sysdep_read_whole_file): Fix result variable declaration. Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the `nodename' member. Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec with pointer to local variable instead of NULL. 1996-07-15 Paul Eggert <eggert@twinsun.com> * time/strftime.c (strftime): Don't pass empty macro argument to `add'. Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names that are already added by other means. * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the caller column to get those syscalls added automagically. * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro instead of setting the DT_DEBUG pointer. * csu/initfini.c (_init, _fini): Generate .end directives after standalone prologues and filter them out from epilogues.
1996-07-15Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader
* login/logout.c (logout): Initialize DATA to a state that will make setutent_r happy.
1996-07-15* Makeconfig (rtld-installed-name): Set to ld.so.1.cvs/libc-960715Roland McGrath
* sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable removed. * manual/Makefile (glibc-targets): Remove subdir_ from elts. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
1996-07-14* MakeTAGS (extract): Pass --add-comments=TRANS.Roland McGrath
* sysdeps/gnu/errlist.awk: Write comments into the output with the descriptive paragraphs from the manual preceded by TRANS.
1996-07-14* elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!Roland McGrath
(_dl_start): Move RESOLVE defn inside this function and #include "dynamic-link.h" a second time there. [RTLD_START]: Move use of this after _dl_start function.
1996-07-14* elf/dl-reloc.c: Include "dynamic-link.h" at file scope.Roland McGrath
* elf/rtld.c: Include <string.h>. * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument. Conditionalize defns on [RESOLVE]. * elf/do-rel.h (elf_dynamic_do_rel): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. Instead use RESOLVE macro with same args. (elf_machine_rel): Conditionalize defn on [RESOLVE]. * elf/dl-reloc.c (RESOLVE): New macro, define before including "dynamic-link.h". It replaces `resolve' local function. * elf/dl-runtime.c: Likewise. * elf/rtld.c: Likewise.
1996-07-14* elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.Roland McGrath
* elf/dl-open.c (_dl_open): Force an indirect call for _dl_relocate_object so there is no chance a PLT fixup will be done and clobber _dl_global_scope before our call happens. * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u to =t; must operate on top of fp reg stack, not second from top. Correct input constraint to 0 from t; must be explicit when input and output are the same register. (floor): Use __volatile instead of volatile. (ceil): Likewise. * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from other targets.
1996-07-14Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960714Roland McGrath
* manual/Makefile (glibc-targets): Variable and targets removed. Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * manual/Makefile (lib): New phony target. Depend on stamp files. ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary. 1996-07-13 Paul Eggert <eggert@twinsun.com> * time/strftime.c (strftime): Use space padding for %e, %k, %l, to match Emacs format-time-string specification. (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD. Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and NPRELOADS, vector of `struct link_map *'s; add them to the searchlist between MAP and its deps. * elf/link.h: Fix decl. * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for colon-separated list of names, map those and pass vector of ptrs as PRELOADS list to _dl_map_object_deps. * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to _dl_map_object_deps with empty preload list. * elf/dl-open.c (_dl_open): Likewise. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function removed. (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON). * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Conditionalize defn on [! MAP_ANON]. * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd on [! MAP_ANON]. * elf/rtld.c (dl_main): Likewise. * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON]. (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd. * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself. Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com> * stdlib/random.c (__random): Declare as int32_t to be in sync with declaration. * socket/Makefile (headers): Add socketbits.h. * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does it that way. * grp/initgroups.c (initgroups): Add groups that user is a member of, not the ones he is _not_ a member of. * nss/nsswitch.c (known_compare): Make known_compare() a static instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in place of sizeof (dev). The size of a literal string includes the NUL byte. * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1. Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com> * misc/mntent.c (addmntent): Seek to end of file before writing entry. Return 1 on error, not -1. Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA syscall. Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com> * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size shift amount for Jensen must be 5 not 4. Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * socket/sys/socket.h (struct osockaddr): New type. Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com> * misc/Makefile (routines): Add qefgcvt and qefgcvt_r. * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double' and `long double' versions can be generated. * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros so that included efgcvt{,_r}.c file generate `long double' versions. * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r() functions. * manual/startup.texi: Document new getsubopt function. * manual/examples/subopt.c: New example program for documenting getsubopt function. Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com> * stdlib/Makefile (routines): Add getsubopt. * stdlib/stdlib.h: Add prototype for getsubopt. * stdlib/getsubopt.c: New file. Implement getsubopt function to handle suboption parsing.
1996-07-12* inet/getnetent_r.c: Define NEED_H_ERRNO.cvs/libc-960713cvs/libc-960712Roland McGrath
* inet/getnetbynm_r.c: Likewise. * inet/getnetent.c: Likewise. * inet/getnetbyad_r.c: Likewise. * inet/getnetbyad.c: Likewise. * inet/getnetbynm.c: Likewise. * sysdeps/generic/pselect.c: Include <sys/time.h>. * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for `struct timespec'.
1996-07-12* math/Makefile (calls): Add s_frexp, s_ldexp.Roland McGrath
(routines): Remove them and &f from here. * sys/socket.h: New file, wrapper for socket/sys/socket.h. Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double' implementation of frexp() function. * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double' implementation of ldexp() function. * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one out before or'ing.
1996-07-12Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath
* nss/nss_files/files-service.c (getservbyname): Take second arg PROTO and check it. * nss/nss_files/files-XXX.c: Comment fix. Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com> * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name of reentrant function. (setup): Pass additional argument with function name we are looking for. (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with new argument {SET,END,GET}FUNC_NAME_STRING. * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because we return a pointer. Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * nss/nss_files/files-parse.c: Add comment about things to #define. * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it. * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before terminator char as an error. * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno. Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com> * catgets/gencat.c (write_out): Move code to determine new best size out of inner loop. Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com> * misc/mntent.c: Include <sys/types.h>. (endmntent): Return 1 one success, 0 on failure. (getmntent): Chop newline and ignore empty lines. Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP]. (elf_machine_rela): Use it instead of the fn ptr arg directly.
1996-07-09* posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,cvs/libc-960710Roland McGrath
__glob_closedir_hook): Remove decls. * sysdeps/generic/machine-gmon.h: Declare mcount_internal. * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases for send and connect syscalls. * socket/sys/socket.h: New file, taken from non-sysdep parts of linux/sys/socket.h; break sysdeps parts out into socketbits.h. Declare __ names for send and connect. * sysdeps/generic/socketbits.h: New file. * sysdeps/unix/sysv/linux/socketbits.h: New file. * sysdeps/unix/sysv/linux/sys/socket.h: File removed. * sysdeps/generic/sys/socket.h: File removed. * sysdeps/mach/hurd/connect.c: Define __ name and weak alias. * sysdeps/mach/hurd/send.c: Likewise.