Ulrich Drepper [Sun, 7 May 2000 22:00:43 +0000 (22:00 +0000)]
Update.
* iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
empty input buffer over full output buffer.
Ulrich Drepper [Sun, 7 May 2000 21:58:34 +0000 (21:58 +0000)]
Update.
2000-05-07 Ulrich Drepper <drepper@redhat.com>
* iconv/Makefile (tests): Add tst-iconv1.
* iconv/tst-iconv1.c: New file.
Reported by yaoz@nih.gov.
Ulrich Drepper [Sun, 7 May 2000 21:23:56 +0000 (21:23 +0000)]
Update.
2000-05-06 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
returned != __GCONV_OK, there is nothing to clean up.
2000-05-06 Bruno Haible <haible@clisp.cons.org>
* intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
OUTPUT_CHARSET environment variables.
2000-05-06 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/dl-cache.h (struct file_entry_new): New.
(struct cache_file_new): New.
(struct file_entry): New (moved from cache.c).
(struct cache_file): New (moved from cache.c).
* sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
from _dl_load_cache_lookup.
(_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
the different cache formats.
New variable cache_new for new format.
* elf/ldconfig.h: Change according to changes in cache.c and
ldconfig.c; remove cache_libcmp; add opt_format.
* elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
stuff that's defined in those headers.
Add hwcap to struct lib_entry.
(opt_format): New variable to select cache format.
(options): Add format parameter.
(is_hwcap): New function.
(path_hwcap): New function.
(parse_opt): Handle new format parameter.
(search_dir): Handle hwcap, search also subdirectories with hwcap.
* elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
ldconfig is part of glibc.
Include dl-cache.h and remove stuff that's defined there.
(struct cache_entry): Add new member hwcap.
(print_entry): Print hwcap, cleanup a bit.
(print_cache): Print new and old formats.
(compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
(save_cache): Save new and old formats.
(add_to_cache): Handle hwcap.
* sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
* sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
* sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
* sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
* sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
* sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
2000-05-05 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c (alignof): New macro.
(_nl_find_msg): Use it instead of __alignof__. Pass correct output
buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
freemem_size to 0.
2000-05-05 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
return value.
Ulrich Drepper [Sun, 7 May 2000 19:32:30 +0000 (19:32 +0000)]
(dcigettext): Fix interpretation of tsearch return value.
Andreas Jaeger [Sun, 7 May 2000 14:13:21 +0000 (14:13 +0000)]
Removed conflict marker.
Ulrich Drepper [Sat, 6 May 2000 17:57:43 +0000 (17:57 +0000)]
Update.
2000-05-06 Ulrich Drepper <drepper@redhat.com>
* intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
(mempcpy): Correct typo is parameter list.
Ulrich Drepper [Sat, 6 May 2000 17:54:58 +0000 (17:54 +0000)]
(DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo is parameter list.
Andreas Jaeger [Sat, 6 May 2000 07:46:31 +0000 (07:46 +0000)]
Update.
2000-05-06 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
functions unless -ffast-math is given to gcc.
Andreas Jaeger [Sat, 6 May 2000 07:46:06 +0000 (07:46 +0000)]
2000-05-06 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
functions unless -ffast-math is given to gcc.
Ulrich Drepper [Sat, 6 May 2000 07:07:02 +0000 (07:07 +0000)]
Update.
2000-05-06 Ulrich Drepper <drepper@redhat.com>
* po/ko.po: Update from translation team.
Ulrich Drepper [Sat, 6 May 2000 07:06:27 +0000 (07:06 +0000)]
New version from translator.
Andreas Jaeger [Fri, 5 May 2000 21:32:19 +0000 (21:32 +0000)]
2000-05-05 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
(pthread_getcpuclockid): Correct test for ourselves.
2000-05-05 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
(pthread_getcpuclockid): Correct test for ourselves.
Ulrich Drepper [Fri, 5 May 2000 20:48:16 +0000 (20:48 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
Ulrich Drepper [Fri, 5 May 2000 20:03:03 +0000 (20:03 +0000)]
Update.
2000-05-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
* sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
* sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
* sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
* sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
* sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
* sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
* sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
* sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
* sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
* sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
* sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
* sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
* sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
Ulrich Drepper [Fri, 5 May 2000 16:49:44 +0000 (16:49 +0000)]
Update.
2000-05-05 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
* sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
* sysdeps/ia64/Implies: New file.
* sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
* sysdeps/ia64/Makefile: New file.
* sysdeps/ia64/gmp-mparam.h: New file,
* sysdeps/ia64/elf/start.S: New file.
* sysdeps/ia64/bits/fenv.h: New file.
2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
* sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
ia64 has 64 bit .hash entries just as the Alpha.
2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
* sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
* sysdeps/ia64/fpu/fclrexcpt.c: New file.
* sysdeps/ia64/fpu/fedisblxcpt.c: New file.
* sysdeps/ia64/fpu/feenablxcpt.c: New file.
* sysdeps/ia64/fpu/fegetenv.c: New file.
* sysdeps/ia64/fpu/fegetexcept.c: New file.
* sysdeps/ia64/fpu/fegetround.c: New file.
* sysdeps/ia64/fpu/feholdexcpt.c: New file.
* sysdeps/ia64/fpu/fesetenv.c: New file.
* sysdeps/ia64/fpu/fesetround.c: New file.
* sysdeps/ia64/fpu/feupdateenv.c: New file.
* sysdeps/ia64/fpu/fgetexcptflg.c: New file.
* sysdeps/ia64/fpu/fraiseexcpt.c: New file.
* sysdeps/ia64/fpu/fsetexcptflg.c: New file.
* sysdeps/ia64/fpu/ftestexcept.c: New file.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
(_DL_HWCAP_COUNT): New.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
(_DL_HWCAP_COUNT): New.
Ulrich Drepper [Fri, 5 May 2000 16:41:26 +0000 (16:41 +0000)]
Additional directories to use for IA-64.
Andreas Jaeger [Fri, 5 May 2000 15:33:39 +0000 (15:33 +0000)]
Update.
* sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
(_dl_string_hwcap): New, does nothing.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT):
New.
(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
(_dl_string_hwcap): New function, converts from string to hwcap
encoding.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_DL_HWCAP_COUNT):
New.
(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
(_dl_string_hwcap): New function, converts from string to hwcap
encoding.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_DL_HWCAP_COUNT):
New.
(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
(_dl_string_hwcap): New function, converts from string to hwcap
encoding.
Andreas Jaeger [Fri, 5 May 2000 15:29:58 +0000 (15:29 +0000)]
2000-05-05 Andreas Jaeger <aj@suse.de>
* misc/tst-tsearch.c (main): Correct type for initstate argument.
2000-05-05 Andreas Jaeger <aj@suse.de>
* misc/tst-tsearch.c (main): Correct type for initstate argument.
Ulrich Drepper [Fri, 5 May 2000 08:07:07 +0000 (08:07 +0000)]
Update.
* elf/Makefile (distribute): Add dl-lookupcfg.h.
* sysdeps/ia64/Dist: New file.
Ulrich Drepper [Fri, 5 May 2000 07:15:29 +0000 (07:15 +0000)]
Update.
2000-05-05 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
parameter to mprotect and for variable assignments.
2000-05-03 Jes Sorensen <jes@linuxcare.com>
* sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
validity of map before dereferencing it.
* elf/dl-reloc.c (RESOLVE_MAP): Define.
2000-05-02 Jes Sorensen <jes@linuxcare.com>
* elf/dl-runtime.c (fixup): Add the value returned in the symbol
lookup to the arguments to elf_machine_fixup_plt().
* sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
of the symbol being resolved to input argument list and make the
function return the pointer to the reloc.
* sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
return valuie to lookup_t and return the value.
* sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
* sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
* sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
Make it an inline function returning value after calling
__elf_machine_fixup_plt().
* elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
symbol address.
* elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
obtain the symbol address.
* sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
* sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
_dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
inline on non ia64.
2000-04-28 Jes Sorensen <jes@linuxcare.com>
* elf/dl-runtime.c (fixup): Use the portable macros to get the
symbol address of an object.
* elf/dl-runtime.c (fixup-profile): Use the portable macros to get
the symbol address of an object.
* elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
* elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
2000-04-27 Jes Sorensen <jes@linuxcare.com>
* elf/rtld.c (_dl_start): Get the function pointer return address
via _dl_start_address for architectures that need a function
pointer descriptor rather than just a pointer (ia64).
* sysdeps/generic/dl-lookupcfg.h: New file.
* sysdeps/ia64/dl-lookupcfg.h: New file.
* sysdeps/ia64/dl-machine.h: New file.
* sysdeps/ia64/dl-symaddr.c: New file.
* sysdeps/ia64/dl-fptr.c: New file.
* elf/elf.h: Add IA-64 specific definitions.
Ulrich Drepper [Fri, 5 May 2000 05:47:53 +0000 (05:47 +0000)]
Update.
2000-05-04 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
end of enum.
2000-05-04 Jakub Jelinek <jakub@redhat.com>
* iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
happy.
Ulrich Drepper [Fri, 5 May 2000 04:07:40 +0000 (04:07 +0000)]
Update.
2000-05-04 Ulrich Drepper <drepper@redhat.com>
* tst-fmon.c (main): Print the locale name as well in the error
message.
Ulrich Drepper [Fri, 5 May 2000 04:07:18 +0000 (04:07 +0000)]
(main): Print the locale name as well in the error message.
Geoff Keating [Thu, 4 May 2000 23:12:19 +0000 (23:12 +0000)]
Update sysdeps/powerpc/dl-start.S.
2000-04-11 Geoff Keating <geoffk@cygnus.com>
* sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
symbol. Call _dl_init rather than the old way.
>>>>>>> 1.3514
Ulrich Drepper [Thu, 4 May 2000 15:48:44 +0000 (15:48 +0000)]
Update.
2000-05-04 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
test for pointer in range of DSO address space.
* nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
Ulrich Drepper [Thu, 4 May 2000 15:47:12 +0000 (15:47 +0000)]
(dl_open_worker): Use l_map_start and l_map_end to test for pointer in range of DSO address space.
Andreas Jaeger [Thu, 4 May 2000 13:22:03 +0000 (13:22 +0000)]
Update.
2000-05-04 Andreas Jaeger <aj@suse.de>
* nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence
GCC.
Andreas Jaeger [Thu, 4 May 2000 13:21:38 +0000 (13:21 +0000)]
2000-05-04 Andreas Jaeger <aj@suse.de>
* nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence
GCC.
Ulrich Drepper [Thu, 4 May 2000 04:11:22 +0000 (04:11 +0000)]
Update.
* locale/findlocale.c (_nl_find_locale): Add new parameter to
calls of _nl_make_l10nflist.
Ulrich Drepper [Thu, 4 May 2000 02:46:54 +0000 (02:46 +0000)]
Update.
* libio/stdio.h: Make fseeko and ftello prototypes available is
__USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
* sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
real unsetenv implementation from 1999-07-29 [PR libc/1714].
2000-05-03 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
before calling tfind.
2000-03-05 Jakub Jelinek <jakub@redhat.com>
* resolv/resolv.h (res_querydomain): Remove redefinition to
__res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
2000-05-03 Ulrich Drepper <drepper@redhat.com>
* po/gl.po: Update from translation team.
* manual/intro.texi (Program Basics): Change section title.
* manual/process.texi: Fix reference.
(Executing a File): Add reference exec in other section.
* manual/signal.texi: Fix reference.
* manual/startup.texi: Document syscall function.
Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2000-04-29 Bruno Haible <haible@clisp.cons.org>
* intl/libintl.h (bind_textdomain_codeset): New declaration.
* intl/bindtextdom.c (set_binding_values): New function.
(bindtextdomain): Call it.
(bind_textdomain_codeset): New function.
* intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
(free_mem): Free each binding's codeset.
* intl/gettextP.h (struct binding): Add codeset field.
(_nl_find_domain): Add domainbinding argument.
* intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
Pass it to _nl_make_l10nflist.
* intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
(_nl_make_l10nflist): Add domainbinding argument.
* intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
* intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
locale_charset().
* manual/message.texi: New node "Charset conversion in gettext".
2000-04-30 Bruno Haible <haible@clisp.cons.org>
* catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
appropriate. Handle possible __read error.
2000-04-29 Bruno Haible <haible@clisp.cons.org>
* intl/gettextP.h (__builtin_expect): Define as empty if not a
compiler builtin.
* intl/loadinfo.h (__builtin_expect): Likewise.
* intl/dcigettext.c (dcigettext, _nl_find_msg): Use
__builtin_expect where appropriate.
* intl/loadmsgcat.c (_nl_load_domain): Likewise.
* intl/localealias.c (extend_alias_table): Return an error indicator.
(read_alias_file): Bail out if extend_alias_table fails.
2000-04-29 Bruno Haible <haible@clisp.cons.org>
* intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
* intl/localealias.c: Likewise.
2000-05-01 Bruno Haible <haible@clisp.cons.org>
* intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
Initialize domain->plural and domain->nplurals even if there is no
nullentry.
2000-05-01 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
In case of failure, goto converted.
2000-05-01 Bruno Haible <haible@clisp.cons.org>
* wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
* iconv/gconv_int.h (norm_add_slashes): Move to here.
* intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
__gconv_open.
2000-04-29 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c (transcmp): Compare the domains as well.
(dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
not before.
* intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
<errno.h>.
2000-05-03 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Thu, 4 May 2000 00:56:16 +0000 (00:56 +0000)]
Update.
2000-05-03 Ulrich Drepper <drepper@redhat.com>
* string/bits/string2.h: Declare __strdup and __strndup if necessary.
Reported by Bruno Haible.
2000-04-29 Bruno Haible <haible@clisp.cons.org>
* manual/arith.texi: Remove @w from @itemize.
Ulrich Drepper [Thu, 4 May 2000 00:41:05 +0000 (00:41 +0000)]
Remove @w from @itemize.
Andreas Jaeger [Tue, 2 May 2000 19:09:48 +0000 (19:09 +0000)]
Update.
* conform/data/tar.h-data: Add some checks for specific values.
* conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
and RAND_MAX.
* conform/data/stdio.h-data: Add checks for value of TMP_MAX and
FOPEN_MAX.
* conform/data/netinet/in.h-data: Add exact checks for the values
fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
* conform/data/float.h-data: Add some minimal values.
Andreas Jaeger [Tue, 2 May 2000 18:18:59 +0000 (18:18 +0000)]
Update.
2000-05-02 Andreas Jaeger <aj@suse.de>
* conform/conformtest.pl: Test for macros with string constants,
check for minimum and maximum values.
Add limits.h to headers.
* conform/data/cpio.h-data: Test for value of MAGIC.
* conform/data/limits.h-data: New file.
Andreas Jaeger [Tue, 2 May 2000 13:52:57 +0000 (13:52 +0000)]
Update.
2000-04-30 Bruno Haible <haible@clisp.cons.org>
* math/Makefile (headers): Add bits/fenvinline.h.
Andreas Jaeger [Tue, 2 May 2000 13:52:36 +0000 (13:52 +0000)]
2000-04-30 Bruno Haible <haible@clisp.cons.org>
* math/Makefile (headers): Add bits/fenvinline.h.
Ulrich Drepper [Mon, 1 May 2000 23:44:22 +0000 (23:44 +0000)]
Update.
* sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
* sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
Ulrich Drepper [Mon, 1 May 2000 22:00:00 +0000 (22:00 +0000)]
Update.
* conform/data/spawn.h-data: Likewise.
Ulrich Drepper [Mon, 1 May 2000 20:52:11 +0000 (20:52 +0000)]
Update.
2000-05-01 Ulrich Drepper <drepper@redhat.com>
* posix/Versions: Change posix_spawnattr_getdefault and
posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
and posix_spawnattr_setsigdefault respectively.
* posix/spawn.h: Likewise.
* posix/spawnattr_getdefault.h: Likewise.
* posix/spawnattr_setdefault.h: Likewise.
Ulrich Drepper [Mon, 1 May 2000 20:52:04 +0000 (20:52 +0000)]
Change posix_spawnattr_getdefault and posix_spawnattr_setdefault to posix_spawnattr_getsigdefault and posix_spawnattr_setsigdefault respectively.
Andreas Jaeger [Mon, 1 May 2000 11:54:34 +0000 (11:54 +0000)]
Update.
2000-05-01 Andreas Jaeger <aj@suse.de>
* nscd/nscd.c: Include <grp.h> for setgroups prototype.
Andreas Jaeger [Mon, 1 May 2000 11:54:14 +0000 (11:54 +0000)]
2000-05-01 Andreas Jaeger <aj@suse.de>
* nscd/nscd.c: Include <grp.h> for setgroups prototype.
Ulrich Drepper [Sun, 30 Apr 2000 20:53:48 +0000 (20:53 +0000)]
Update.
* manual/sysinfo.texi: Document getdomainname, setdomainname
and sysctl.
Ulrich Drepper [Sun, 30 Apr 2000 17:56:00 +0000 (17:56 +0000)]
Update.
2000-04-30 Ulrich Drepper <drepper@redhat.com>
* manual/string.texi: Fix typo.
* manual/terminal.texi: Document gtty and stty.
Patch by Bryan Henderson <bryanh@giraffe-data.com>.
Ulrich Drepper [Sun, 30 Apr 2000 17:03:03 +0000 (17:03 +0000)]
Update.
2000-04-30 Andreas Jaeger <aj@suse.de>
* posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
accordance with Austin Draft.
Ulrich Drepper [Sun, 30 Apr 2000 10:22:19 +0000 (10:22 +0000)]
Update.
* catgets/gencat.c (read_input_file): Use isblank and not isspace
to recognize second character in comment line.
Ulrich Drepper [Sun, 30 Apr 2000 09:40:55 +0000 (09:40 +0000)]
Update.
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
ENOBUFS if we are out of memory.
Ulrich Drepper [Sun, 30 Apr 2000 07:17:24 +0000 (07:17 +0000)]
Update.
2000-04-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
available if __USE_XOPEN2K.
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.
* sysdeps/unix/common/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
Ulrich Drepper [Sun, 30 Apr 2000 06:52:59 +0000 (06:52 +0000)]
Update.
* iconv/iconv_prog.c (main): Handle input file name "-" correctly.
Recognize option -s, -c, and -l.
2000-04-20 Thorsten Kukuk <kukuk@suse.de>
* nscd/nscd.c: Start new session for nscd, drop privilegs
to configured user if requested and no -S parameter are used.
* nscd/nscd.conf: Add new option "server-user".
* nscd/nscd_conf.c: Add support for new "server-user" option.
* nscd/nscd.h: Add declaration for server_user variable.
Based on patch by Chris Wing <wingc@engin.umich.edu>
2000-04-29 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
that changing the __restore and __restore_rt signal return code
will break GDB.
2000-04-29 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
<sys/user.h>.
2000-04-29 Mark Kettenis <kettenis@gnu.org>
* conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
2000-04-29 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Sun, 30 Apr 2000 04:17:35 +0000 (04:17 +0000)]
Update.
* conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
arpa/inet.h.
* conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
posix_fallocate, and posix_madvise.
* conform/data/netdb.h-data: New file.
* conform/data/pthread.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, pthread_barrier_destroy,
pthread_barrier_init, pthread_barrier_wait,
pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
pthread_barrierattr_init, pthread_barrierattr_setpshared,
pthread_condattr_getclock, pthread_condattr_setclock,
pthread_getcpuclockid, pthread_mutex_timedlock,
pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
* conform/data/sched.h-data: Add sched_ss_low_priority,
sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
SCHED_SPORADIC.
* conform/data/semaphore.h-data: Add sem_timedwait.
* conform/data/signal.h-data: Add SIGIO.
* conform/data/spawn.h-data: New file.
* conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
* conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
Fix typo in gmtime_r definition.
* conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
_POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
_POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
_POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
_POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
_XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
_POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
_POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
_SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
_SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
_SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
_SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
_SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
_SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
_SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
_SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
_SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
_SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
_SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
_PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
typo in off_t definition.
* conform/data/net/if.h-data: New file.
* conform/data/netinet/in.h-data: New file.
* conform/data/netinet/tcp.h-data: New file.
* conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
and posix_typed_mem_open.
* conform/data/sys/socket.h-data: New file.
* conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
* conform/data/sys/types.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, and pthread_spinlock_t.
* conform/data/sys/un.h-data: New file.
* conform/data/sys/utsname.h-data: New file.
* include/netdb.h (__gethostbyaddr_r): Fix types of first and second
parameter.
* inet/gethstbyad.c (gethostbyname): Likewise.
* inet/gethstbyad_t.c (gethostbyname_r): Likewise.
* inet/getipnodebyad.c (getipnodebyad): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
Likewise.
* nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
* nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
* resolv/gethnamaddr.c (gethostbyname): Likewise.
* resolv/netdb.h (struct hostent): Fix type of h_length member.
(gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
and second parameter.
2000-04-29 Andreas Jaeger <aj@suse.de>
* conform/data/arpa/inet.h-data: New file.
Ulrich Drepper [Sat, 29 Apr 2000 07:01:36 +0000 (07:01 +0000)]
Update.
2000-04-29 Ulrich Drepper <drepper@redhat.com>
* wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
== NULL.
Ulrich Drepper [Sat, 29 Apr 2000 07:00:59 +0000 (07:00 +0000)]
(__mbrtowc): Set end of buffer correctly if s == NULL.
Andreas Jaeger [Fri, 28 Apr 2000 16:44:44 +0000 (16:44 +0000)]
Update.
2000-04-28 Geoff Clare <gwc@unisoft.com>
* io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
path passed to ftw() or nftw() is an empty string.
Closes PR libc/1710.
Andreas Jaeger [Fri, 28 Apr 2000 16:44:25 +0000 (16:44 +0000)]
2000-04-28 Geoff Clare <gwc@unisoft.com>
* io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
path passed to ftw() or nftw() is an empty string.
Closes PR libc/1710.
Ulrich Drepper [Fri, 28 Apr 2000 06:30:45 +0000 (06:30 +0000)]
Update.
* localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
(do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
* localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
* localedata/tst-mbswcs4.c: New file.
* localedata/tst-mbswcs5.c: New file.
Ulrich Drepper [Fri, 28 Apr 2000 06:14:43 +0000 (06:14 +0000)]
Update.
* wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
== NULL. Little optimization.
* elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
DT_PREINIT_ARRAYSZ).
Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
Ulrich Drepper [Fri, 28 Apr 2000 05:14:38 +0000 (05:14 +0000)]
Fix typos.
2000-04-23 Bruno Haible <haible@clisp.cons.org>
2000-04-23 Bruno Haible <haible@clisp.cons.org>
2000-04-23 Bruno Haible <haible@clisp.cons.org>
after a hash collision or through binary search. Store the maximum
index together with the converted message. Use iconv() when available.
Ulrich Drepper [Fri, 28 Apr 2000 05:12:30 +0000 (05:12 +0000)]
Update.
2000-04-27 Ulrich Drepper <drepper@redhat.com>
* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
overflows in conversion from ASCII.
2000-04-26 Jakub Jelinek <jakub@redhat.com>
* Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
* Makerules (full_config_sysdirs): Likewise.
* MakeTAGS (full_config_sysdirs): Likewise.
2000-04-26 Jakub Jelinek <jakub@redhat.com>
* .cvsignore: Remove linuxthreads.
* po/.cvsignore: Remove *.pot.
* posix/glob/.cvsignore: Removed.
* sysdeps/unix/bsd/osf/.cvsignore: Removed.
2000-04-25 Andreas Jaeger <aj@suse.de>
* conform/Makefile (distribute): Also distribute contents of
subdirectories.
* Makerules (no_deps): Remove abi-versions.h.
* nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
2000-04-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/elf/Dist: Remove.
* sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
* sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
* sysdeps/sparc/sparc64/elf/crtend.S: Remove.
* sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
* sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
objects.
2000-04-25 Thorsten Kukuk <kukuk@suse.de>
* nscd/grpcache.c: Fix gr_name pointer [PR/1702].
2000-04-23 Bruno Haible <clisp.cons.org>
* intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
* intl/l10nflist.c: Likewise.
2000-04-23 Bruno Haible <clisp.cons.org>
* intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
__libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
* intl/textdomain.c [!_LIBC]: Likewise.
* intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
__libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
* intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
syntax error.
2000-04-23 Bruno Haible <clisp.cons.org>
* intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
character set conversion also in the case the translation was found
after a hash collision or through binary search. Store the maximum
index together with the converted message. Use iconv() when available.
In case of out of memory during conversion, return the unconverted
translated string, not NULL.
Ulrich Drepper [Fri, 28 Apr 2000 03:27:50 +0000 (03:27 +0000)]
Update.
2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
* shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
to avoid name clashes with the ia32 linker.
2000-04-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
handling.
* manual/string.texi: Document strcasestr, strchrnul, strtoimax,
strtoumax, strfry, and memfrob.
* manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
Patch by Bryan Henderson <bryanh@giraffe-data.com>.
Ulrich Drepper [Thu, 27 Apr 2000 20:18:02 +0000 (20:18 +0000)]
Update.
2000-04-27 Ulrich Drepper <drepper@redhat.com>
* elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
if this function is available.
* sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
all values.
<haible@clisp.cons.org>.
Ulrich Drepper [Thu, 27 Apr 2000 18:26:29 +0000 (18:26 +0000)]
(td_thr_get_info): Set ti_state to TD_THR_ACTIVE instead of TD_THR_RUN. If the thread is no longer running but is still joinable, set it to TD_THR_ZOMBIE. Otherwise set it to TD_THR_UNKNOWN.
Andreas Jaeger [Thu, 27 Apr 2000 09:16:34 +0000 (09:16 +0000)]
Update.
2000-04-27 Jakub Jelinek <jakub@redhat.com>
* nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
Andreas Jaeger [Thu, 27 Apr 2000 09:16:15 +0000 (09:16 +0000)]
2000-04-27 Jakub Jelinek <jakub@redhat.com>
* nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
Ulrich Drepper [Thu, 27 Apr 2000 07:19:36 +0000 (07:19 +0000)]
Update.
2000-04-27 Ulrich Drepper <drepper@redhat.com>
* localedata/Makefile (test-srcs); Add tst-mbswcs3.
Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
* localedata/tst-mbswcs.sh: Run tst-mbswcs3.
* localedata/tst-mbswcs3.c: New file.
Ulrich Drepper [Thu, 27 Apr 2000 06:47:02 +0000 (06:47 +0000)]
Update.
* wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
characters. Don't handle incomplete characters as errors.
* wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
* localedata/Makefile (test-srcs): Add tst-mbswcs2.
Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
* localedata/tst-mbswcs.sh: Run tst-mbswcs2.
* localedata/tst-mbswcs2.c: New file.
Ulrich Drepper [Thu, 27 Apr 2000 05:42:19 +0000 (05:42 +0000)]
Update.
2000-04-26 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
stored character in state in UNPACK_BYTES macro.
* iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
test for available characters, handle result of BODY code correctly.
* localedata/Makefile (test-srcs): Add tst-mbswcs1.
(distribute): Add tst-mbswcs.sh.
Add rule to run tst-mbswcs.sh.
* localedata/tst-mbswcs.sh: New file.
* localedata/tst-mbswcs1.c: New file.
2000-04-26 Jakub Jelinek <jakub@redhat.com>
* nis/nis_callback.c (__nis_create_callback): Do failed memory
allocation fixups centrally, fix __builtin_expect call, return NULL
on failure, not NIS_NOMEMORY.
2000-04-27 Bruno Haible <haible@clisp.cons.org>
Ulrich Drepper [Thu, 27 Apr 2000 05:36:45 +0000 (05:36 +0000)]
(utf8_internal_loop): Correctly reconstruct stored character in state in UNPACK_BYTES macro.
Andreas Jaeger [Thu, 27 Apr 2000 04:03:53 +0000 (04:03 +0000)]
Remove last entry again since the globtest.sh patch has been reverted.
Andreas Jaeger [Thu, 27 Apr 2000 03:45:05 +0000 (03:45 +0000)]
Update.
2000-04-18 H.J. Lu <hjl@gnu.org>
* posix/globtest.sh: Properly apply the patch by Ulrich Drepper
<drepper@redhat.com> on 2000-04-13.
Andreas Jaeger [Thu, 27 Apr 2000 03:11:40 +0000 (03:11 +0000)]
Update.
2000-04-27 Bruno Haible <clisp.cons.org>
* intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
* intl/loadinfo.h (internal_function): Define if not already defined.
2000-04-27 Andreas Jaeger <aj@suse.de>
* intl/libintl.h: Fix typo, reported by Bruno Haible
<clisp.cons.org>.
Andreas Jaeger [Thu, 27 Apr 2000 03:11:22 +0000 (03:11 +0000)]
2000-04-27 Bruno Haible <clisp.cons.org>
* intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
* intl/loadinfo.h (internal_function): Define if not already defined.
2000-04-27 Andreas Jaeger <aj@suse.de>
* intl/libintl.h: Fix typo, reported by Bruno Haible
<clisp.cons.org>.
Ulrich Drepper [Tue, 25 Apr 2000 07:40:56 +0000 (07:40 +0000)]
Update.
2000-04-25 Ulrich Drepper <drepper@redhat.com>
* elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
setting the state to GMON_PROF_BUSY.
Ulrich Drepper [Tue, 25 Apr 2000 06:56:40 +0000 (06:56 +0000)]
Update.
* elf/dl-profile.c (_dl_start_profile): define all variables which
do not have to be global as local variables.
Ulrich Drepper [Tue, 25 Apr 2000 06:38:25 +0000 (06:38 +0000)]
Update.
* nis/nis_callback.c (__nis_create_callback): Partially undo last
patch. Keep needed tests for failed memory allocation.
Ulrich Drepper [Tue, 25 Apr 2000 04:33:05 +0000 (04:33 +0000)]
Update.
* pthread.c: Remove special treatement for interrupt handlers on x86.
Ulrich Drepper [Tue, 25 Apr 2000 04:28:38 +0000 (04:28 +0000)]
Update.
2000-04-24 Ulrich Drepper <drepper@redhat.com>
* manager.c (pthread_free): Use FREE_THREAD not FREE_THREAD_SELF.
* sysdeps/i386/useldt.h: Use "q" constraint instead of "r" where
necessary.
* sysdeps/i386/i686/pt-machine.h: Include "../useldt.h".
Ulrich Drepper [Mon, 24 Apr 2000 16:31:34 +0000 (16:31 +0000)]
Fix typo.
* nss/Makefile (libnss_db-dbs): Remove stray backslash.
Ulrich Drepper [Mon, 24 Apr 2000 16:28:14 +0000 (16:28 +0000)]
Update.
* elf/dl-reloc.c (_dl_relocate_object): Add one more
__builtin_expect saying that we don't normally expect to profile.
Ulrich Drepper [Mon, 24 Apr 2000 15:49:01 +0000 (15:49 +0000)]
Update.
2000-04-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/dl-machine.h (elf_machine_rel): Add
__builtin_expect where desirable.
Ulrich Drepper [Mon, 24 Apr 2000 05:33:59 +0000 (05:33 +0000)]
Update.
2000-04-24 Mark Kettenis <kettenis@gnu.org>
* join.c (pthread_exit): Set p_terminated after reporting the
termination event instead of before.
Ulrich Drepper [Mon, 24 Apr 2000 03:55:14 +0000 (03:55 +0000)]
Update.
* manual/Makefile (chapters): Add syslog.
* manual/syslog.texi: New file.
* manual/math.texi: Fix references.
* manual/terminal.texi: Likewise.
Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2000-04-18 Jakub Jelinek <jakub@redhat.com>
* posix/sys/wait.h: Define __WAIT_STATUS and the like either if
stdlib.h was not included or __USE_XOPEN not defined.
2000-04-23 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Sun, 23 Apr 2000 16:26:11 +0000 (16:26 +0000)]
Update.
2000-04-23 Ulrich Drepper <drepper@redhat.com>
* nss/Makefile (libnss_db-dbs): Remove stry backslash.
Patch by Zack Weinberg <zack@wolery.cumb.org>.
Ulrich Drepper [Sat, 22 Apr 2000 07:26:55 +0000 (07:26 +0000)]
Update.
* manual/examples/subopt.c (mount_opts): Add missing terminating
entry.
Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
Ulrich Drepper [Sat, 22 Apr 2000 07:19:25 +0000 (07:19 +0000)]
Update.
2000-04-22 Ulrich Drepper <drepper@redhat.com>
* assert/assert-perr.c: Include <stdlib.h> for abort prototype.
* libio/ftello.c: Likewise.
* libio/ftello64.c: Likewise.
* libio/ioftell.c: Likewise.
* sysdeps/generic/memrchr.c: Likewise.
* sysdeps/posix/libc_fatal.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.
* misc/fstab.c: Include <string.h> for strcmp prototype.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
Patch by Kurt Roeckx <Q@ping.be>.
* nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
Remove db-open. Change all uses.
(libnss_db-routines): Define as $(libnss_db-dbs) db-open.
2000-04-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
* sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
* sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
with .set noat/at to shut up warnings.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
* sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
compilation if __NR_pciconfig_iobase is not defined.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
Add alias.
Ulrich Drepper [Sat, 22 Apr 2000 06:50:46 +0000 (06:50 +0000)]
Update.
* manual/sysinfo.texi: Fix typo.
* manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
Replace "high precision time" with "high accuracy clock".
Fix language.
Patches by Bryan Henderson <bryanh@giraffe-data.com>.
Ulrich Drepper [Sat, 22 Apr 2000 03:58:39 +0000 (03:58 +0000)]
Update.
* nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
* nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
instead of malloc.
* nis/nis_subr.c: Use __builtin_expect.
* nis/ypclnt.c: Likewise.
* nis/nis_getservlist.c: Likewise.
* nis/nis_creategroup.c: Likewise.
Ulrich Drepper [Sat, 22 Apr 2000 03:30:39 +0000 (03:30 +0000)]
(nis_print_group_entry): Use alloca instead of malloc.
Andreas Jaeger [Fri, 21 Apr 2000 22:04:07 +0000 (22:04 +0000)]
Update
* sysdeps/mips/mips64/submul_1.S: Likewise
* sysdeps/unix/mips/sysdep.S: Likewise.
Andreas Jaeger [Fri, 21 Apr 2000 22:03:39 +0000 (22:03 +0000)]
2000-04-21 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/mips/sysdep.S: Use __PIC__ instead of PIC.
Ulrich Drepper [Fri, 21 Apr 2000 20:56:09 +0000 (20:56 +0000)]
Regenerated: autoconf configure.in
Ulrich Drepper [Fri, 21 Apr 2000 16:52:23 +0000 (16:52 +0000)]
Update.
2000-04-21 Ulrich Drepper <drepper@redhat.com>
* nis/nis_callback.c (__nis_create_callback): Check result of
memory allocation. Fix memory leaks. Use __builtin_expect.
(__nis_destroy_callback): Fix memory leaks.
Ulrich Drepper [Fri, 21 Apr 2000 16:49:33 +0000 (16:49 +0000)]
(__nis_create_callback): Check result of memory allocation. Fix memory leaks. Use __builtin_expect. (__nis_destroy_callback): Fix memory leaks.
Andreas Jaeger [Fri, 21 Apr 2000 16:38:12 +0000 (16:38 +0000)]
Update.
2000-04-21 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
* sysdeps/mips/mips64/add_n.S: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/lshift.S: Likewise.
* sysdeps/mips/mips64/mul_1.S: Likewise.
* sysdeps/mips/mips64/rshift.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/sub_n.S: Likewise.
* sysdeps/mips/mips64/submul_1.S: Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
and update comment. The strtab from _dl_relocate_object can be
used.
Andreas Jaeger [Fri, 21 Apr 2000 16:37:58 +0000 (16:37 +0000)]
2000-04-21 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
* sysdeps/mips/mips64/add_n.S: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/lshift.S: Likewise.
* sysdeps/mips/mips64/mul_1.S: Likewise.
* sysdeps/mips/mips64/rshift.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/sub_n.S: Likewise.
* sysdeps/mips/mips64/submul_1.S: Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
and update comment. The strtab from _dl_relocate_object can be
used.
Ulrich Drepper [Fri, 21 Apr 2000 16:23:45 +0000 (16:23 +0000)]
(iconv): Fix typo.
Ulrich Drepper [Fri, 21 Apr 2000 16:15:11 +0000 (16:15 +0000)]
Update.
2000-04-21 Ulrich Drepper <drepper@redhat.com>
* iconv/iconv.c (iconv): Add __builtin_expect where useful.
* iconv/iconv_close.c (iconv_close): Likewise.
* iconv/iconv_open.c (iconv_open): Likewise.
* grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
__builtin_expect where useful.
* grp/initgroups.c (initgroups): Test for result of memory
allocation and punt if it fails.
* dirent/scandir.c (scandir): Add __builtin_expect where useful.
* grp/fgetgrent.c (fgetfrent): Likewise.
* grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
Ulrich Drepper [Fri, 21 Apr 2000 15:03:52 +0000 (15:03 +0000)]
Update.
2000-04-21 Jakub Jelinek <jakub@redhat.com>
* libio/vasprintf.c: Include string.h to get memcpy prototype.
Ulrich Drepper [Fri, 21 Apr 2000 06:58:22 +0000 (06:58 +0000)]
Update.
* wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
don't search for NUL byte to decrement counter.
Reported by Ulrich.Brink@sap.com.
Ulrich Drepper [Fri, 21 Apr 2000 06:46:40 +0000 (06:46 +0000)]
Update.
* iconv/gconv_simple.c: Define separate functions to convert from
UCS4/UCS4-LE to the internal encoding.
* iconv/gconv_builtin.h: Use separate functions to convert from
UCS4/UCS4-LE to the internal encoding.
* iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
__gconv_transform_ucs4le_internal.
* iconv/gconv_simple.c (internal_utf8_loop): Correct check for
output buffer overflow. Reported by Ulrich.Brink@sap.com.
Ulrich Drepper [Fri, 21 Apr 2000 05:02:54 +0000 (05:02 +0000)]
Update.
2000-04-20 Ulrich Drepper <drepper@redhat.com>
* iconv/skeleton.c: Add some more __builtin_expect.
* iconv/loop.c: Likewise.