Ulrich Drepper [Tue, 11 May 1999 13:26:39 +0000 (13:26 +0000)]
Update.
1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* iconvdata/gconv-modules: Fix alias for CP1255. Reported by
Elad Tsur <eladts@post.tau.ac.il>.
Ulrich Drepper [Tue, 11 May 1999 13:00:20 +0000 (13:00 +0000)]
Update.
1999-05-11 Ulrich Drepper <drepper@cygnus.com>
* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
* elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
lazily if LD_BIND_NOW is not set.
* elf/dl-support.c (_dl_lazy): New variable.
(non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
* elf/rtld.c (_dl_lazy): new global variable.
( dl_main): Remove lazy, replace it by _dl_lazy.
1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/setlocale.c (new_composite_name): Check also whether the
first category name differs.
1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
the generic one.
1999-05-11 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
structure; storage suitable for any socket address.
* sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
sockaddr_storage): Likewise.
* inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
platform.
Ulrich Drepper [Mon, 10 May 1999 13:41:57 +0000 (13:41 +0000)]
Add PR information.
_nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
Ulrich Drepper [Mon, 10 May 1999 13:34:57 +0000 (13:34 +0000)]
Update.
1999-05-10 Ulrich Drepper <drepper@cygnus.com>
* hesiod/Versions: Change _nss_hesiod_getpwuid and
_nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
_nss_hesiod_getgrgid_r respectively.
Ulrich Drepper [Mon, 10 May 1999 13:34:35 +0000 (13:34 +0000)]
Change _nss_hesiod_getpwuid and _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and _nss_hesiod_getgrgid_r respectively.
Roland McGrath [Sun, 9 May 1999 10:40:53 +0000 (10:40 +0000)]
1999-05-09 Mark Kettenis <kettenis@gnu.org>
* hurd/get-host.c (_hurd_get_host_config): Return an empty value
if the file is empty.
Roland McGrath [Sun, 9 May 1999 10:40:36 +0000 (10:40 +0000)]
1999-05-09 Mark Kettenis <kettenis@gnu.org>
* hurd/get-host.c (_hurd_get_host_config): Return an empty value
if the file is empty.
Ulrich Drepper [Fri, 7 May 1999 21:11:08 +0000 (21:11 +0000)]
Update.
* elf/do-lookup.h: Fix typo in comment.
Ulrich Drepper [Fri, 7 May 1999 16:58:39 +0000 (16:58 +0000)]
Update.
* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
f_bsize to help some broken programs.
Ulrich Drepper [Fri, 7 May 1999 11:32:00 +0000 (11:32 +0000)]
Update.
1999-05-07 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/tst-printf.c: Add test case for last _itoa problem.
* stdio-common/vfprintf.c: Fix typo.
Ulrich Drepper [Fri, 7 May 1999 00:00:48 +0000 (00:00 +0000)]
Update.
* elf/link.h (struct link_map): New field l_phdr_allocated.
* elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
the program header being part of any loaded segment. If it is not
allocate memory and set l_phdr_allocated flag.
* elf/dl-close.c (_dl_close): Free l_phdr if necessary.
Ulrich Drepper [Thu, 6 May 1999 23:17:13 +0000 (23:17 +0000)]
Update.
1999-05-06 Ulrich Drepper <drepper@cygnus.com>
* nss/digits_dots.c: Correct return value interpretation of
inet_ntoa. Fix PR libc/1109.
Ulrich Drepper [Thu, 6 May 1999 09:18:09 +0000 (09:18 +0000)]
Update.
1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
* sysdeps/sparc/sparc32/sparcv9/Dist: New file.
Ulrich Drepper [Thu, 6 May 1999 09:06:27 +0000 (09:06 +0000)]
Update.
* stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
Ulrich Drepper [Thu, 6 May 1999 08:57:41 +0000 (08:57 +0000)]
Update.
1999-05-06 Thorsten Kukuk <kukuk@suse.de>
* stdlib/fpioconst.c: Move #endif before end of struct.
Ulrich Drepper [Wed, 5 May 1999 23:29:18 +0000 (23:29 +0000)]
Update.
* Versions.def (ld.so): Add GLIBC_2.1.1.
* elf/Makefile (routines): Add dl-origin.
(tests): Add origtest. Add dependencies for the program.
* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
_dl_platformlen, _dl_dst_count and _dl_dst_substitute.
* elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
(_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
DT_AUXILIARY, and DT_FILTER filenames.
* elf/dl-load.c (expand_dynamic_string_token): Explode into
two functions and three macros.
(_dl_dst_count, _dl_dst_substitute): New functions.
* elf/dl-dst.h: New file.
* elf/dl-open.c (_dl_open): Take extra parameter with address of
caller. Pass address in args structure.
(dl_open_worker): Recognize and expand DSTs in filename.
* elf/ldsodefs.h (_dl_open): Adapt prototype.
* elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
(__dlopen_check): Pass caller address to dlopen_doit in args.
* elf/dlopendoit.c: Likewise.
* iconv/gconv_dl.c: Adapt call of _dl_open.
* nss/nsswitch.c: Likewise.
* elf/origtest.c: New file.
* sysdeps/generic/dl-origin.h: Moved to...
* sysdeps/generic/dl-origin.c: ...here.
* sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
* sysdeps/unix/sysv/linux/dl-origin.c: ...here.
Ulrich Drepper [Wed, 5 May 1999 17:08:26 +0000 (17:08 +0000)]
Update.
* stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
with specific bases and only few bits set in second word.
Ulrich Drepper [Wed, 5 May 1999 11:32:24 +0000 (11:32 +0000)]
Update.
1999-05-05 Ulrich Drepper <drepper@cygnus.com>
* timezone/Makefile (install-others): Create target directory
before creating tzfiles.
Ulrich Drepper [Wed, 5 May 1999 11:04:34 +0000 (11:04 +0000)]
Update.
1999-05-05 Thorsten Kukuk <kukuk@suse.de>
* nis/nis_file.c (readColdStartFile): Allocate memory only after
the file is opened successfully.
* nis/nis_table.c: Fix some memory leaks.
Ulrich Drepper [Tue, 4 May 1999 12:24:18 +0000 (12:24 +0000)]
Update.
* elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
variable.
Ulrich Drepper [Tue, 4 May 1999 01:48:08 +0000 (01:48 +0000)]
Update.
1999-05-04 Ulrich Drepper <drepper@cygnus.com>
* elf/dl-load.c (expand_dynamic_string_token): Recognize { }
around DST. Correctly ignore ORIGIN IN SUID binaries.
Ulrich Drepper [Mon, 3 May 1999 23:49:46 +0000 (23:49 +0000)]
Update.
* sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
* sysdeps/generic/strtok.c: Likewise.
Ulrich Drepper [Mon, 3 May 1999 23:44:29 +0000 (23:44 +0000)]
Update.
* string/tester.c: Add test of rawmemchr.
Ulrich Drepper [Mon, 3 May 1999 22:05:54 +0000 (22:05 +0000)]
Update.
* sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
specification. It's not necessary.
Ulrich Drepper [Mon, 3 May 1999 21:59:35 +0000 (21:59 +0000)]
Update.
* elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
* elf/gen-trusted-dirs.awk: New file.
* elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
from SYSTEM_DIRS macro.
(system_dirs_len): New variable. Contains lengths of system_dirs
strings.
(fillin_rpath): Rewrite for systems_dirs being a simple string.
Improve string comparisons. Change parameter trusted to be a flag.
Change all callers.
(_dt_init_paths): Improve using new format for system_dirs.
Ulrich Drepper [Mon, 3 May 1999 18:16:18 +0000 (18:16 +0000)]
Update.
* elf/dl-load.c (expand_dynamic_string_token): Don't expand
$ORIGIN for SUID binaries.
Ulrich Drepper [Mon, 3 May 1999 12:41:01 +0000 (12:41 +0000)]
Update.
1999-05-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
Ulrich Drepper [Mon, 3 May 1999 08:46:13 +0000 (08:46 +0000)]
Update.
1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sunrpc/Makefile: Generate dependencies for all flavors of
librpcsvc objects.
(rpcgen-cmd): Pass -Y flag here and remove it from the macro
invocations.
1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* elf/dlopenold.c: Move #if down after includes to get
dependencies right.
1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/generic/bzero.c: Undefine __bzero.
Ulrich Drepper [Sun, 2 May 1999 21:09:34 +0000 (21:09 +0000)]
Update.
* sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
* sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
* sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
Patch by Craig Small <csmall@scooter.eye-net.com.au>.
Ulrich Drepper [Sun, 2 May 1999 21:03:32 +0000 (21:03 +0000)]
Update.
* sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
parameter to struct gaih_servtuple *. Adapt appropriately.
(gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
This fixes a memory leak.
Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
Ulrich Drepper [Sun, 2 May 1999 19:00:43 +0000 (19:00 +0000)]
Update.
1999-05-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
and fpregset_t definition. They are defined in ucontext.h.
Ulrich Drepper [Sun, 2 May 1999 18:55:59 +0000 (18:55 +0000)]
Update.
1999-04-14 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
and struct ether_header must be packed on the ARM. The default
alignment constraints add padding to the end of the structures.
1999-04-14 Scott Bambrough <scottb@netwinder.org>
* inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
default alignment constraints add padding to the end of the
structure and between members.
Ulrich Drepper [Sun, 2 May 1999 18:29:49 +0000 (18:29 +0000)]
Update.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
_dl_cache_libcmp instead of strcmp.
Ulrich Drepper [Sun, 2 May 1999 18:17:07 +0000 (18:17 +0000)]
Update.
1999-05-02 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
fails on a file.
Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
Ulrich Drepper [Sun, 2 May 1999 17:20:24 +0000 (17:20 +0000)]
Update.
1998-03-30 Joel Klecker <espy@debian.org>
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
(sysdep-others,install-bin): Add lddlibc4.
Ulrich Drepper [Sun, 2 May 1999 11:05:14 +0000 (11:05 +0000)]
Update.
1999-05-02 H.J. Lu <hjl@gnu.org>
* timezone/zic.c (dolink): Remove the symlink destination first.
* catgets/open_catalog.c (__open_catalog): Set catalog->status
to "nonexisting" if failed to open the file.
Ulrich Drepper [Sat, 1 May 1999 09:59:45 +0000 (09:59 +0000)]
Update.
* string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
gcc3.
Ulrich Drepper [Sat, 1 May 1999 00:16:16 +0000 (00:16 +0000)]
Update.
1999-05-01 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
Prevent warnings from multiplication with 0x01010101 by another cast.
Ulrich Drepper [Fri, 30 Apr 1999 17:44:43 +0000 (17:44 +0000)]
Update.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* string/bits/string2.h (memset): Revert to previous version if
unaligned writes are not available.
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
better code in presence of the asm.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* stdlib/fmtmsg.c (keywords): Increase array size for faster
indexing.
* locale/localeinfo.h (_nl_category_names): Increase array element
size for faster indexing.
* locale/setlocale.c (_nl_category_names): Adjusted.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* iconv/gconv_conf.c (add_alias): Remove wrong cast.
Ulrich Drepper [Fri, 30 Apr 1999 17:37:52 +0000 (17:37 +0000)]
(__memset_gc): Help generating better code in presence of the asm.
Andreas Schwab [Fri, 30 Apr 1999 17:33:00 +0000 (17:33 +0000)]
1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* sysdeps/m68k/stackinfo.h: New file.
Andreas Schwab [Fri, 30 Apr 1999 17:27:14 +0000 (17:27 +0000)]
New file.
Ulrich Drepper [Fri, 30 Apr 1999 17:12:16 +0000 (17:12 +0000)]
Update.
* string/tester.c (test_strchrnul): New function.
(test_memset): Test one more special case.
* sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
Ulrich Drepper [Fri, 30 Apr 1999 16:53:27 +0000 (16:53 +0000)]
Update.
* sysdeps/i386/strchrnul.S: Fix bugs which let to wrong results in
25% of all cases.
Ulrich Drepper [Fri, 30 Apr 1999 16:26:39 +0000 (16:26 +0000)]
Update.
* sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
base types.
Ulrich Drepper [Fri, 30 Apr 1999 15:48:19 +0000 (15:48 +0000)]
Update.
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Fix bugs I introduced in last change.
* sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
register stall.
Extend memset optimization.
Correct i686 version of memchr.
Ulrich Drepper [Fri, 30 Apr 1999 15:43:09 +0000 (15:43 +0000)]
Fix bugs I introduced in last change.
Roland McGrath [Fri, 30 Apr 1999 14:38:02 +0000 (14:38 +0000)]
* sysdeps/i386/bzero.c: Add #undef __bzero.
Roland McGrath [Fri, 30 Apr 1999 14:36:46 +0000 (14:36 +0000)]
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/i386/bzero.c: Add #undef __bzero.
Ulrich Drepper [Fri, 30 Apr 1999 14:07:17 +0000 (14:07 +0000)]
Improve last change a bit.
Roland McGrath [Fri, 30 Apr 1999 13:53:34 +0000 (13:53 +0000)]
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
exec server simulated a SIGTRAP before we even started up, so gdb is
already happy.
Roland McGrath [Fri, 30 Apr 1999 13:52:59 +0000 (13:52 +0000)]
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
exec server simulated a SIGTRAP before we even started up, so gdb is
already happy.
Ulrich Drepper [Fri, 30 Apr 1999 13:45:27 +0000 (13:45 +0000)]
Update.
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* nss/digits_dots.c: Always initialize not_ok.
Ulrich Drepper [Fri, 30 Apr 1999 09:36:37 +0000 (09:36 +0000)]
Update.
1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* string/bits/string2.h (memset): Avoid arithmetic overflow at
compile time, which produces obnoxious warnings. If GCCv2 is
in use, map __bzero to __builtin_memset to enable that
optimization.
Ulrich Drepper [Thu, 29 Apr 1999 18:28:07 +0000 (18:28 +0000)]
Update.
* string/bits/string2.h: Add more memset optimizations.
Ulrich Drepper [Thu, 29 Apr 1999 18:20:05 +0000 (18:20 +0000)]
Update.
* resolv/inet_addr.c (inet_aton): Optimize switch statement away.
Ulrich Drepper [Thu, 29 Apr 1999 16:26:38 +0000 (16:26 +0000)]
Update.
* resolv/inet_pton.c (inet_pton4): Little optimizations.
(inet_pton6): Likewise.
Ulrich Drepper [Thu, 29 Apr 1999 15:04:27 +0000 (15:04 +0000)]
Update.
* Makefile (install-locales): Allow specifying charset in locale
name but omit it in locale definition file.
Ulrich Drepper [Thu, 29 Apr 1999 14:56:45 +0000 (14:56 +0000)]
Update.
* SUPPORTED: Don't generate ru_SU.
* locales/ru_SU: Removed.
Ulrich Drepper [Thu, 29 Apr 1999 13:19:45 +0000 (13:19 +0000)]
Update.
1999-04-29 Ulrich Drepper <drepper@cygnus.com>
* nss/getXXbyYY_r.c: Include assert.h.
* nss/getXXbyYY.c: Likewise.
Ulrich Drepper [Thu, 29 Apr 1999 12:43:25 +0000 (12:43 +0000)]
Update.
1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* termios/tcgetsid.c (tcgetsid): Rename variable to
tiocgsid_does_not_work.
Ulrich Drepper [Thu, 29 Apr 1999 12:41:52 +0000 (12:41 +0000)]
Update.
1999-04-29 Ulrich Drepper <drepper@cygnus.com>
* inet/getnameinfo.c (nrl_domainname): Fix last patch.
Ulrich Drepper [Thu, 29 Apr 1999 12:18:08 +0000 (12:18 +0000)]
Update.
1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
This allows e.g. gethostbyname to accept "10.1234".
Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
* nss/test-netdb.c (test_hosts): Add test for gethostbyname and
non quad IPv4 numbers.
loaded shared object with all loaded objects. Initialize l_ino
Ulrich Drepper [Thu, 29 Apr 1999 10:56:31 +0000 (10:56 +0000)]
Update.
1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
Ulrich Drepper [Wed, 28 Apr 1999 23:13:52 +0000 (23:13 +0000)]
Update.
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.
Ulrich Drepper [Wed, 28 Apr 1999 21:58:40 +0000 (21:58 +0000)]
Update.
* sysdeps/pthread/bits/libc-lock.h (__libc_lock_define_initialized):
Don't use initializer since it is all zeroes.
(__libc_once_define): Likewise.
Ulrich Drepper [Wed, 28 Apr 1999 21:56:46 +0000 (21:56 +0000)]
Update.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_allocate_stack): Optimize initialization of new
thread descriptor.
Ulrich Drepper [Wed, 28 Apr 1999 16:04:58 +0000 (16:04 +0000)]
Fix typos.
1999-04-23 Paul Eggert <eggert@twinsun.com>
prefers loopback device.
Ulrich Drepper [Wed, 28 Apr 1999 15:52:17 +0000 (15:52 +0000)]
Update.
1999-04-23 Paul Eggert <eggert@1twinsun.com>
* stdlib/strtoull.c: Surround strong_alias and weak_alias with
ifdef _LIBC.
Ulrich Drepper [Wed, 28 Apr 1999 15:29:01 +0000 (15:29 +0000)]
Surround strong_alias and weak_alias with ifdef _LIBC.
Roland McGrath [Wed, 28 Apr 1999 12:03:33 +0000 (12:03 +0000)]
1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
implementation and just always fail with ENOSYS. This entry point is
obsolete. Add link warning to that effect.
Roland McGrath [Wed, 28 Apr 1999 11:10:11 +0000 (11:10 +0000)]
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/get-host.c: Include <hurd/lookup.h>.
Roland McGrath [Wed, 28 Apr 1999 11:09:53 +0000 (11:09 +0000)]
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/get-host.c: Include <hurd/lookup.h>.
Ulrich Drepper [Wed, 28 Apr 1999 10:20:18 +0000 (10:20 +0000)]
Update.
* malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
is != NULL.
1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
ISO C9x and Unix98.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Wed, 28 Apr 1999 10:00:35 +0000 (10:00 +0000)]
Update.
* libio/iofopncook.c (_IO_cookie_seek): Correct return value.
Patch by Peter Miller <millerp@canb.auug.org.au>.
1999-04-27 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/pmap_clnt.c: Add own get_myaddress function, which
prefers loopback device.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Wed, 28 Apr 1999 09:23:09 +0000 (09:23 +0000)]
Update.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Finish incomplete
no_leading_period change.
* posix/testfnm.c: More test cases.
Ulrich Drepper [Tue, 27 Apr 1999 13:06:39 +0000 (13:06 +0000)]
Update.
* 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.
Ulrich Drepper [Tue, 27 Apr 1999 09:15:56 +0000 (09:15 +0000)]
Update.
* posix/testfnm.c: Add more test cases.
Ulrich Drepper [Tue, 27 Apr 1999 09:04:24 +0000 (09:04 +0000)]
Update.
1999-04-27 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Correctly reset string
pointer in case of an invalid [[: expression.
Ulrich Drepper [Tue, 27 Apr 1999 09:01:47 +0000 (09:01 +0000)]
(internal_fnmatch): Correctly reset string pointer in case of an invalid [[: expression.
Roland McGrath [Tue, 27 Apr 1999 01:28:50 +0000 (01:28 +0000)]
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
set, pass EXEC_SIGTRAP flag in exec RPC.
Roland McGrath [Tue, 27 Apr 1999 01:26:54 +0000 (01:26 +0000)]
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
set, pass EXEC_SIGTRAP flag in exec RPC.
Ulrich Drepper [Mon, 26 Apr 1999 23:21:01 +0000 (23:21 +0000)]
Update.
1999-04-26 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
extra parameter. Fix several more bugs involving wildcard and
ranges.
(fnmatch): New function. Call internal_fnmatch.
* posix/testfnm.c: More test cases.
Ulrich Drepper [Mon, 26 Apr 1999 16:31:24 +0000 (16:31 +0000)]
Update.
1999-04-26 Ulrich Drepper <drepper@cygnus.com>
* charmaps/SAMI-WS2: Add one more alias.
Ulrich Drepper [Mon, 26 Apr 1999 14:02:38 +0000 (14:02 +0000)]
Update.
1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Explain that
files are changed in the source directory.
Closes PR libc/981.
(Configuring and compiling): Explain situation with PARALLELMFLAGS
in the source directory.
1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-ctype.c: Spelling fixes.
(ctype_finish): Fix argument of error message format.
* locale/programs/ld-messages.c: Spelling fixes.
* locale/programs/ld-monetary.c: Spelling fixes.
* locale/programs/ld-time.c (time_finish): Make sure that name and
format of era_entries are adjacent.
(time_output): Reduce the size of the io vector.
1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/filesys.texi (Attribute Meanings): Move a misplaced
paragraph.
1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-collate.c (collate_output): Convert
undefined_offset to an array index. Fix computation of other
endian extra table.
Ulrich Drepper [Mon, 26 Apr 1999 14:00:56 +0000 (14:00 +0000)]
(collate_output): Convert undefined_offset to an array index. Fix computation of other endian extra table.
Roland McGrath [Mon, 26 Apr 1999 13:44:45 +0000 (13:44 +0000)]
1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
return success with empty value.
Roland McGrath [Mon, 26 Apr 1999 13:37:43 +0000 (13:37 +0000)]
1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
return success with empty value.
Ulrich Drepper [Mon, 26 Apr 1999 12:46:44 +0000 (12:46 +0000)]
(Attribute Meanings): Move a misplaced paragraph.
Ulrich Drepper [Mon, 26 Apr 1999 07:50:45 +0000 (07:50 +0000)]
Update.
1999-04-26 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c: Include string.h also for glibc.
(fnmatch, case '?'): Optimize if cascades a bit.
(fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
* posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
Ulrich Drepper [Sat, 24 Apr 1999 22:58:57 +0000 (22:58 +0000)]
Update.
1999-04-24 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
* iconv/gconv_int.h: Declare UTF16 functions.
* iconv/gconv_simple.c: Add UTF16 conversion functions.
* timezone/zic.c (dolink): Append complete path not only filename
Ulrich Drepper [Tue, 20 Apr 1999 08:54:33 +0000 (08:54 +0000)]
Update.
1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* posix/wordexp.c (parse_param): Fix type of offset to allow it to
be used correctly as parameter for parse_dollars/parse_tilde.
Ulrich Drepper [Mon, 19 Apr 1999 16:49:35 +0000 (16:49 +0000)]
Update.
1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/conf.texi (Utility Limits): Remove duplicate description
of BC_DIM_MAX.
Ulrich Drepper [Mon, 19 Apr 1999 07:44:20 +0000 (07:44 +0000)]
Update.
1999-04-19 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
outbufend for dst==NULL.
Ulrich Drepper [Sun, 18 Apr 1999 17:11:12 +0000 (17:11 +0000)]
Update.
* wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
for dst==NULL.
Fixes PR libc/1084.
Ulrich Drepper [Sun, 18 Apr 1999 16:37:49 +0000 (16:37 +0000)]
Update.
1999-04-18 Ulrich Drepper <drepper@cygnus.com>
* socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
Fixes PR libc/1083.
Ulrich Drepper [Sun, 18 Apr 1999 10:21:47 +0000 (10:21 +0000)]
Update.
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.
Ulrich Drepper [Sun, 18 Apr 1999 01:01:00 +0000 (01:01 +0000)]
Update.
1999-04-18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
detect and handle invalid descriptors.
Ulrich Drepper [Sat, 17 Apr 1999 09:39:56 +0000 (09:39 +0000)]
Update.
1999-04-17 Thorsten Kukuk <kukuk@suse.de>
* timezone/zic.c (dolink): Append complete path ot only filename
to ../ list.
Ulrich Drepper [Sat, 17 Apr 1999 09:34:27 +0000 (09:34 +0000)]
Update.
1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.