platform/upstream/linaro-glibc.git
24 years ago2000-05-06 Andreas Jaeger <aj@suse.de>
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.

24 years agoUpdate.
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.

24 years agoNew version from translator.
Ulrich Drepper [Sat, 6 May 2000 07:06:27 +0000 (07:06 +0000)]
New version from translator.

24 years ago2000-05-05 Andreas Jaeger <aj@suse.de>
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.

24 years agoUpdate.
Ulrich Drepper [Fri, 5 May 2000 20:48:16 +0000 (20:48 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoAdditional directories to use for IA-64.
Ulrich Drepper [Fri, 5 May 2000 16:41:26 +0000 (16:41 +0000)]
Additional directories to use for IA-64.

24 years agoUpdate.
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.

24 years ago2000-05-05 Andreas Jaeger <aj@suse.de>
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years ago(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.

24 years agoUpdate sysdeps/powerpc/dl-start.S.
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

24 years agoUpdate.
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.

24 years ago(dl_open_worker): Use l_map_start and l_map_end to test for pointer in range of DSO...
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.

24 years agoUpdate.
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.

24 years ago2000-05-04 Andreas Jaeger <aj@suse.de>
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>

24 years agoUpdate.
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.

24 years agoRemove @w from @itemize.
Ulrich Drepper [Thu, 4 May 2000 00:41:05 +0000 (00:41 +0000)]
Remove @w from @itemize.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years ago2000-04-30 Bruno Haible <haible@clisp.cons.org>
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.

24 years agoUpdate.
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.

24 years agoUpdate.
Ulrich Drepper [Mon, 1 May 2000 22:00:00 +0000 (22:00 +0000)]
Update.

* conform/data/spawn.h-data: Likewise.

24 years agoUpdate.
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.

24 years agoChange posix_spawnattr_getdefault and posix_spawnattr_setdefault to posix_spawnattr_g...
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.

24 years agoUpdate.
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.

24 years ago2000-05-01 Andreas Jaeger <aj@suse.de>
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.

24 years agoUpdate.
Ulrich Drepper [Sun, 30 Apr 2000 20:53:48 +0000 (20:53 +0000)]
Update.

* manual/sysinfo.texi: Document getdomainname, setdomainname
and sysctl.

24 years agoUpdate.
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>.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years ago(__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.

24 years agoUpdate.
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.

24 years ago2000-04-28 Geoff Clare <gwc@unisoft.com>
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>.

24 years agoFix typos.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>.

24 years agoUpdate.
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>.

24 years ago(td_thr_get_info): Set ti_state to TD_THR_ACTIVE instead of TD_THR_RUN. If the threa...
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.

24 years agoUpdate.
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.

24 years ago2000-04-27 Jakub Jelinek <jakub@redhat.com>
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>

24 years ago(utf8_internal_loop): Correctly reconstruct stored character in state in UNPACK_BYTES...
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.

24 years agoRemove last entry again since the globtest.sh patch has been reverted.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>.

24 years ago2000-04-27 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>.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
Ulrich Drepper [Tue, 25 Apr 2000 04:33:05 +0000 (04:33 +0000)]
Update.

* pthread.c: Remove special treatement for interrupt handlers on x86.

24 years agoUpdate.
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".

24 years agoFix typo.
Ulrich Drepper [Mon, 24 Apr 2000 16:31:34 +0000 (16:31 +0000)]
Fix typo.

* nss/Makefile (libnss_db-dbs): Remove stray backslash.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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>

24 years agoUpdate.
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>.

24 years agoUpdate.
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>.

24 years agoUpdate.
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.

24 years agoUpdate.
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>.

24 years agoUpdate.
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.

24 years ago(nis_print_group_entry): Use alloca instead of malloc.
Ulrich Drepper [Sat, 22 Apr 2000 03:30:39 +0000 (03:30 +0000)]
(nis_print_group_entry): Use alloca instead of malloc.

24 years agoUpdate
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.

24 years ago2000-04-21 Andreas Jaeger <aj@suse.de>
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.

24 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Fri, 21 Apr 2000 20:56:09 +0000 (20:56 +0000)]
Regenerated: autoconf  configure.in

24 years agoUpdate.
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.

24 years ago(__nis_create_callback): Check result of memory allocation. Fix memory leaks. Use...
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.

24 years agoUpdate.
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.

24 years ago2000-04-21 Andreas Jaeger <aj@suse.de>
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.

24 years ago(iconv): Fix typo.
Ulrich Drepper [Fri, 21 Apr 2000 16:23:45 +0000 (16:23 +0000)]
(iconv): Fix typo.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
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.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Apr 2000 04:56:35 +0000 (04:56 +0000)]
Update.

2000-03-08  H.J. Lu  <hjl@gnu.org>

* posix/regex.c (regex_compile): Correctly handle "\{" when
the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Apr 2000 04:35:39 +0000 (04:35 +0000)]
Update.

2000-04-20  Ulrich Drepper  <drepper@redhat.com>

* manual/stdio.texi: Give advise about handling error when using
stream functions.
Patch by Michael Deutschmann <michael@talamasca.ocis.net>.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Apr 2000 03:43:31 +0000 (03:43 +0000)]
Update.

2000-04-19  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/ld-ctype.c (ctype_output): Set size of the idx
field to nelems * sizeof (uint32_t).
* locale/programs/ld-address.c (address_output): Align word fields
properly.
* locale/programs/ld-monetary.c (monetary_output): Likewise.
Don't restart idx pointers to idx end at the duo_int_curr_symbol
field.
Avoid giving arbitrary garbage in the crncystr field.
Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
fields.
* locale/programs/ld-numeric.c (numeric_output): Likewise.
Don't restart idx pointers to idx end at the decimal_point_wc field.
* locale/programs/ld-time.c (time_output): week_1stday should be
word, not byte.  Align it properly.

2000-04-19  H.J. Lu  <hjl@gnu.org>

* csu/gmon-start.c (_start): Declared as "extern void".
(etext): Likewise.

2000-04-18  Andreas Jaeger  <aj@suse.de>

* manual/install.texi (Running make install): Don't mention utmpd
anymore.

2000-04-18  Andreas Jaeger  <aj@suse.de>

* linuxthreads/Versions: Use ld instead of ld.so.

* elf/Makefile (ld-map): Use ld.map.

* Versions.def: Use ld instead of ld.so.
* elf/Versions: Likewise.
* sysdeps/mach/hurd/Versions: Likewise.

24 years ago(_start): Declared as "extern void". (etext): Likewise.
Ulrich Drepper [Fri, 21 Apr 2000 03:38:54 +0000 (03:38 +0000)]
(_start): Declared as "extern void". (etext): Likewise.

24 years ago2000-04-20 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 21 Apr 2000 02:05:30 +0000 (02:05 +0000)]
2000-04-20  Andreas Jaeger  <aj@suse.de>

* elf/rtld.c (print_statistics): Move ifndef further up.
(_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
(dl_main): Likewise.
2000-04-20  Andreas Jaeger  <aj@suse.de>

* elf/rtld.c (print_statistics): Move ifndef further up.
(_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
(dl_main): Likewise.

24 years ago2000-04-18 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Wed, 19 Apr 2000 03:26:26 +0000 (03:26 +0000)]
2000-04-18  Andreas Jaeger  <aj@suse.de>

* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
2.2 for libnsl, libresolv, librt, libnss_*.
* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
2.2 for libnsl, libresolv, librt, libnss_*.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Apr 2000 02:40:21 +0000 (02:40 +0000)]
Update.

* gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
* gmon/Versions: Move moncontrol to GLIBC_2.2.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Apr 2000 02:27:33 +0000 (02:27 +0000)]
Update.

* po/cs.po: Update from translation team.