kopensolaris-gnu/glibc.git
24 years agoThu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
roland [Fri, 2 Aug 1996 04:55:58 +0000 (04:55 +0000)]
Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.

24 years agoThu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
roland [Fri, 2 Aug 1996 04:52:44 +0000 (04:52 +0000)]
Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
* sysdeps/i386/sysdep.h: New file, broken out of ...
* sysdeps/unix/i386/sysdep.h: ... here.  Generic asm macros moved out.

24 years agoFri Aug 2 00:46:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 2 Aug 1996 04:50:18 +0000 (04:50 +0000)]
Fri Aug  2 00:46:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c (dl_main): For --verify, fail if no dynamic section.

24 years agoMon Jul 29 19:20:05 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 2 Aug 1996 04:50:13 +0000 (04:50 +0000)]
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.

24 years agoThu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
roland [Fri, 2 Aug 1996 04:49:28 +0000 (04:49 +0000)]
Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.

24 years agoThu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
roland [Fri, 2 Aug 1996 04:46:09 +0000 (04:46 +0000)]
Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* 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.

24 years agoThu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
roland [Fri, 2 Aug 1996 04:42:53 +0000 (04:42 +0000)]
Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* sysdeps/stub/socket.c: Fix type of TYPE arg.
* sysdeps/stub/socketpair.c: Likewise.

24 years agoThu Aug 1 14:40:03 1996 Roland McGrath <roland@fast.cs.utah.edu>
roland [Fri, 2 Aug 1996 04:39:35 +0000 (04:39 +0000)]
Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>

* catgets/gencat.c: Include <locale.h>.

24 years ago. libc-960801
roland [Thu, 1 Aug 1996 00:08:31 +0000 (00:08 +0000)]
.

24 years agoWed Jul 31 14:21:36 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 31 Jul 1996 23:47:02 +0000 (23:47 +0000)]
Wed Jul 31 14:21:36 1996  Ulrich Drepper  <drepper@cygnus.com>

* termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
tcgetattr.  We have weak aliases now.
* stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
"optimizations" for random functions.

24 years ago.
roland [Wed, 31 Jul 1996 09:45:04 +0000 (09:45 +0000)]
.

24 years agoMon Jul 29 20:33:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Wed, 31 Jul 1996 09:40:00 +0000 (09:40 +0000)]
Mon Jul 29 20:33:42 1996  Andreas Schwab  <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.

24 years agoMon Jul 29 20:28:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Wed, 31 Jul 1996 09:39:37 +0000 (09:39 +0000)]
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.

24 years ago. libc-960731
miles [Tue, 30 Jul 1996 19:23:39 +0000 (19:23 +0000)]
.

24 years ago(open_file): New function, contents mostly from __open.
miles [Tue, 30 Jul 1996 19:23:06 +0000 (19:23 +0000)]
(open_file): New function, contents mostly from __open.
(__open): Use open_file.
(_dl_sysdep_read_whole_file): New function.

24 years agoTue Jul 30 15:14:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 30 Jul 1996 19:15:53 +0000 (19:15 +0000)]
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.

24 years agoTue Jul 30 15:04:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 30 Jul 1996 19:15:25 +0000 (19:15 +0000)]
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.

24 years agoTue Jul 30 02:48:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 30 Jul 1996 19:06:01 +0000 (19:06 +0000)]
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>.

24 years agoTue Jul 30 13:23:13 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 30 Jul 1996 19:02:29 +0000 (19:02 +0000)]
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.

24 years ago.
miles [Tue, 30 Jul 1996 16:58:05 +0000 (16:58 +0000)]
.

24 years ago(\indexfonts): Make leading be 12pt. Otherwise, it's too crammed.
karl [Mon, 29 Jul 1996 19:08:10 +0000 (19:08 +0000)]
(\indexfonts): Make leading be 12pt. Otherwise, it's too crammed.
(\smalllispx): Remove \setleading{10pt}. That was too small.
(\doprintindex): Do not call \tex ... \Etex.  Index files are Texinfo
source, not TeX source, except for using \ instead of @ as the
escape character (for now).

24 years ago. libc-960730
roland [Mon, 29 Jul 1996 05:54:17 +0000 (05:54 +0000)]
.

24 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
roland [Mon, 29 Jul 1996 05:45:35 +0000 (05:45 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

24 years agoRegenerated: autoconf configure.in
roland [Mon, 29 Jul 1996 05:45:29 +0000 (05:45 +0000)]
Regenerated: autoconf  configure.in

24 years agoMon Jul 29 01:27:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 05:30:07 +0000 (05:30 +0000)]
Mon Jul 29 01:27:07 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
protection.

24 years agoSun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 05:29:56 +0000 (05:29 +0000)]
Sun Jul 28 23:46:14 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* 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.

24 years ago.
roland [Mon, 29 Jul 1996 03:49:00 +0000 (03:49 +0000)]
.

24 years agoSat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 03:48:13 +0000 (03:48 +0000)]
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.

24 years agoSun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 03:47:41 +0000 (03:47 +0000)]
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.

24 years agoSun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 03:47:33 +0000 (03:47 +0000)]
Sun Jul 28 22:40:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

24 years agoSun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 03:47:13 +0000 (03:47 +0000)]
Sun Jul 28 23:46:14 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/strftime.c (strftime: do_number): Initialize PRINTED to
MAXDIGITS in case P is null and so sprintf is never actually called.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:57:46 +0000 (02:57 +0000)]
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.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:48:28 +0000 (02:48 +0000)]
Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/setlocale.c (setlocale): Add cast to avoid warning.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:48:24 +0000 (02:48 +0000)]
Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/loadlocale.c (_nl_load_locale):  Add cast to prevent
warning.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:48:21 +0000 (02:48 +0000)]
Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/Makefile (distribute): Add strlen-hash.h.
(locale-modules): New var.  Additional files for `locale' program.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:48:17 +0000 (02:48 +0000)]
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/programs/locfile.c (write_locale_data): Correct handling
of LC_MESSAGES locale.  Create directory if necessary.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:48:00 +0000 (02:48 +0000)]
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.

24 years agoWed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Mon, 29 Jul 1996 02:47:55 +0000 (02:47 +0000)]
Wed Jul 24 19:10:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* wcsmbs/mbrtowc.c: Remove unused variable.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:47:51 +0000 (02:47 +0000)]
Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* string/string.h: Add prototype for `__strndup'.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:47:47 +0000 (02:47 +0000)]
Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-ctype.c (ctype_output): Add code to make
sure that all tables in binary file are words aligned.

24 years agoMon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 02:47:42 +0000 (02:47 +0000)]
Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years ago.
roland [Mon, 29 Jul 1996 00:18:42 +0000 (00:18 +0000)]
.

24 years agoSat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 00:16:54 +0000 (00:16 +0000)]
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.

24 years agoSat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Mon, 29 Jul 1996 00:13:23 +0000 (00:13 +0000)]
Sat Jul 27 13:02:09 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.
(dl-routines): 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.

24 years agoSun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 00:13:10 +0000 (00:13 +0000)]
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.
(dl-routines): 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.

24 years agoSat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 29 Jul 1996 00:02:09 +0000 (00:02 +0000)]
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.

24 years agoSun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
roland [Sun, 28 Jul 1996 23:43:36 +0000 (23:43 +0000)]
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.

24 years ago(paragraphindent): Move to more reasonable place in the source file.
karl [Sun, 28 Jul 1996 20:57:40 +0000 (20:57 +0000)]
(paragraphindent): Move to more reasonable place in the source file.
(chapfonts, secfonts, subsecfonts, indexfonts): Call \setleading.
(\chfplain, \secheading, \plainsecheading, \subsecheading,
 \subsubheading): Rewrite to properly \hangindent the title.
(\sectionheading): New generic macro to print section titles.

24 years agoInitial revision
karl [Sun, 28 Jul 1996 20:55:30 +0000 (20:55 +0000)]
Initial revision

24 years ago($(common-objpfx)errnos.d): Quote `..' dots in sed search string. libc-960728
miles [Sat, 27 Jul 1996 16:49:26 +0000 (16:49 +0000)]
($(common-objpfx)errnos.d): Quote `..' dots in sed search string.

24 years agoSat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sat, 27 Jul 1996 09:36:38 +0000 (09:36 +0000)]
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.

24 years ago. libc-960727
roland [Sat, 27 Jul 1996 07:29:13 +0000 (07:29 +0000)]
.

24 years agoSat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 27 Jul 1996 07:20:04 +0000 (07:20 +0000)]
Sat Jul 27 02:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* 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/ldd.sh.in: Don't use `rtld --list' but instead
LD_TRACE_LOADED_OBJECTS environment variable to print needed
objects.

24 years agoSat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 27 Jul 1996 07:20:01 +0000 (07:20 +0000)]
Sat Jul 27 02:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* 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.

24 years ago.
roland [Sat, 27 Jul 1996 02:04:33 +0000 (02:04 +0000)]
.

24 years agoFri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sat, 27 Jul 1996 02:01:08 +0000 (02:01 +0000)]
Fri Jul 26 15:24:25 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sat, 27 Jul 1996 00:41:36 +0000 (00:41 +0000)]
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.

24 years agoFri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sat, 27 Jul 1996 00:41:32 +0000 (00:41 +0000)]
Fri Jul 26 18:06:58 1996  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
to here from...
* sunrpc/pmap_rmt.c: ...here.

24 years agoFri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Sat, 27 Jul 1996 00:41:30 +0000 (00:41 +0000)]
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.

24 years ago.
roland [Sat, 27 Jul 1996 00:40:06 +0000 (00:40 +0000)]
.

24 years agoupdates from drepper
roland [Sat, 27 Jul 1996 00:36:38 +0000 (00:36 +0000)]
updates from drepper

24 years agoFri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 27 Jul 1996 00:32:20 +0000 (00:32 +0000)]
Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* ctype/test_ctype.c: Test EOF too.

24 years ago.
miles [Fri, 26 Jul 1996 21:03:47 +0000 (21:03 +0000)]
.

24 years ago(pututline_r): Only call getutid_r if ID has a valid ut_id field.
miles [Fri, 26 Jul 1996 21:02:28 +0000 (21:02 +0000)]
(pututline_r): Only call getutid_r if ID has a valid ut_id field.

24 years ago(getutid_r): Mark UTMP_DATA->loc_utmp invalid if a search fails.
miles [Fri, 26 Jul 1996 21:01:48 +0000 (21:01 +0000)]
(getutid_r): Mark UTMP_DATA->loc_utmp invalid if a search fails.

24 years ago. libc-960726
roland [Fri, 26 Jul 1996 04:37:35 +0000 (04:37 +0000)]
.

24 years agoFri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 26 Jul 1996 04:37:17 +0000 (04:37 +0000)]
Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
<kkojima@info.kanagawa-u.ac.jp>.

24 years ago.
roland [Fri, 26 Jul 1996 04:35:31 +0000 (04:35 +0000)]
.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:34:41 +0000 (04:34 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:34:09 +0000 (04:34 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-time.c (time_add): Correct string constant.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:44 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:26 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:17 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:33:08 +0000 (04:33 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:59 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/locale-spec.c: New file.
* locale/programs/locale.c: Call `locale_special' function if
no other field matches.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:54 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/setlocale.c (new_composite_name): Little optimization.
Use return value of `memcpy'.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:50 +0000 (04:32 +0000)]
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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:46 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
_SC_PAGESIZE for buggy systems (= HP UX) out there.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:42 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/findlocale.c (_nl_find_locale): Little optimization.
Use new function `strndup'.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:32:36 +0000 (04:32 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoThu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 26 Jul 1996 04:32:21 +0000 (04:32 +0000)]
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>

* locale/programs/localedef.c: No need to define `program_name'.
Use global variable `__progname'.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:31:32 +0000 (04:31 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
function instead of writing single bytes.
(encode_char): Also handle little endian.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:31:18 +0000 (04:31 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:31:02 +0000 (04:31 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* 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.

24 years agoFri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 04:30:56 +0000 (04:30 +0000)]
Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/loadlocale.c: Little optimization.  Use constant value
from `_nl_category_num_items' instead of byte-order dependend
value from file.

24 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
roland [Fri, 26 Jul 1996 04:25:12 +0000 (04:25 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

24 years agoFri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 26 Jul 1996 02:48:20 +0000 (02:48 +0000)]
Fri Jul 26 04:41:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* intl/libintl.h: Define optimizing macros is __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'.

24 years agoRegenerated
roland [Fri, 26 Jul 1996 00:34:28 +0000 (00:34 +0000)]
Regenerated

24 years agoThu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
roland [Thu, 25 Jul 1996 23:49:22 +0000 (23:49 +0000)]
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.

24 years ago.
roland [Thu, 25 Jul 1996 22:41:27 +0000 (22:41 +0000)]
.

24 years agoThu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 25 Jul 1996 22:36:38 +0000 (22:36 +0000)]
Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* 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.

24 years agoWed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com> libc-960725
roland [Thu, 25 Jul 1996 04:53:39 +0000 (04:53 +0000)]
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.

24 years agoWed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 25 Jul 1996 04:53:36 +0000 (04:53 +0000)]
Wed Jul 24 17:02:30 1996  Ulrich Drepper  <drepper@cygnus.com>

* time/tzset.c: Undefine `tzset' before function declaration.
Use `weak_function' macro instead of `weak_symbol'.

24 years agoThu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 25 Jul 1996 04:53:32 +0000 (04:53 +0000)]
Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules ($(libdir)/libc.so): Fix typos in generated comment.

24 years agoWed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 24 Jul 1996 17:21:01 +0000 (17:21 +0000)]
Wed Jul 24 18:57:33 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/strtouq.c: Additional weak alias is `strtoull', not
`strotull'.

24 years agoWed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 24 Jul 1996 16:29:46 +0000 (16:29 +0000)]
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.

24 years ago. libc-960724
roland [Tue, 23 Jul 1996 22:18:45 +0000 (22:18 +0000)]
.

24 years agoTue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 23 Jul 1996 22:18:29 +0000 (22:18 +0000)]
Tue Jul 23 18:13:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* 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).

24 years agoThu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 23 Jul 1996 22:07:15 +0000 (22:07 +0000)]
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)'.

24 years ago.
roland [Tue, 23 Jul 1996 21:40:11 +0000 (21:40 +0000)]
.