platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 23:50:51 +0000 (23:50 +0000)]
Update.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* manager.c (pthread_handle_create): Set p_pid of new thread
before calling the callback function to report a new thread.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 17:50:57 +0000 (17:50 +0000)]
Update.

1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>

* locale/lc-time.c: Extend structure era_entry.
* locale/localeinfo.h: Likewise.
* locale/lc-time.c: Handle '-' direction used in locale's era part
properly.
* time/strptime.c: Likewise.
* time/strftime.c: Likewise.
* locale/programs/ld-time.c: Consider negative values in era part
of locale as B.C..
* time/strptime.c (strptime_internal): Merged Yoshiyama's
%E[CyY] implementation.

1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>

* time/strptime.c (strptime_internal): Fix segV bugs of a couple
of recursive() call.
* time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
parsing.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
Patch by Scott Bambrough <scottb@netwinder.org>.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:33:57 +0000 (16:33 +0000)]
Update.

* sysdeps/unix/sysv/linux/pread.c: Fix typo.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:25:25 +0000 (16:25 +0000)]
Update.

1999-12-21  Andreas Schwab  <schwab@suse.de>

* include/unistd.h: Declare __libc_lseek.

1999-12-21  Andreas Jaeger  <aj@suse.de>

* stdlib/longlong.h: Remove __P.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:15:04 +0000 (16:15 +0000)]
Update.

1999-12-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/powerpc/fpu/libm-ulps: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:09:56 +0000 (16:09 +0000)]
Update.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:03:22 +0000 (16:03 +0000)]
Update.

1999-12-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
* sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
* sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 08:10:06 +0000 (08:10 +0000)]
Update.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
* sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
* sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
putpmsg.

1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
before testing for __ASSUME_STAT64_SYSCALL.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.

1999-12-20  Andreas Schwab  <schwab@suse.de>

* manual/install.texi (Running make install): Clearify that
install_root should be an absolute file name.

* iconv/gconv.c (__gconv): Deal with outbuf being NULL.

* iconv/iconv.c (iconv): Allow omitting output buffer if no input
buffer is given to place conversion descriptor in initial state.
* iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
CSPC862LATINHEBREW.
* iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
(according to IANA registry).
Reported by Bruno Haible <haible@ilog.fr>.

* iconvdata/johab.c: Correct completely broken conversion to JOHAB.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 00:55:57 +0000 (00:55 +0000)]
Update.

1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

* locales/af_ZA: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 20 Dec 1999 22:08:01 +0000 (22:08 +0000)]
Update.

1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

* locale/categories.def: Remove most of the collate definitions.
* locale/langinfo.h: Comment out corresponding definitions.
* locale/programs/locale-spec.c (locale_special): Don't recognize the
collate names yet.
* locale/programs/ld-collate.c: Correct and optimize computation of
weights.  Set up list of all definitions correctly.  Start writing
function to generate output file.

* locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
loop to compute default mapping.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 21:47:42 +0000 (21:47 +0000)]
Update.

1999-12-19  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
cancelation wrapper.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 19:51:55 +0000 (19:51 +0000)]
Update.

1999-12-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/libc-start.c: Remove declaration of
__libc_open.  Move declaration of __libc_fcntl to ...
* include/fcntl.h: ...here.

* include/unistd.h: Move __libc_open and __libc_open64 to ...
* include/fcntl.h: ...here.

* malloc/malloc.h (__attribute_malloc__): Only define if hasn't
happened yet.

* malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
rename label.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 19:14:15 +0000 (19:14 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
inclusion.

1999-12-19  Andreas Jaeger  <aj@suse.de>

* include/string.h: Mark __strndup with __attribute_malloc__.

1999-12-19  Ulrich Drepper  <drepper@cygnus.com>

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:44:05 +0000 (08:44 +0000)]
Update.

* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
and __default_morecore with __attribute_malloc__.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:35:44 +0000 (08:35 +0000)]
Update.

* locale/langinfo.h: Always define CODESET.
(CODESET): Define also as macro.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:29:56 +0000 (08:29 +0000)]
Update.

1999-12-19  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
generate mantissa output in using malloc if it is larger than
20000 characters.
Reported by Jim Meyering <meyering@ascend.com>.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:08:59 +0000 (08:08 +0000)]
Update.

* misc/sys/cdefs.h: Define __attribute_malloc__ according to
available gcc version.
* string/string.h: Mark strdup, __strdup, and strndup with
__attribute_malloc__.
* stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
__attribute_malloc__.
* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvallc,
__morecore, and __default_morecore with __attribute_malloc__.
Provide default definition for __attribute_malloc__.
* libio/stdio.h: Make tempnam with __attribute_malloc__.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 05:29:07 +0000 (05:29 +0000)]
Update.

1999-12-18  Ulrich Drepper  <drepper@cygnus.com>

* include/unistd.h: Declare __libc_open64, __libc_lseek64,
__libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
* io/Versions: Export __libc_open64 and __libc_lseek64.
* posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
and __libc_pwrite64.
* sysdeps/generic/open64.c: Define __libc_* variant for cancelation
wrapper.
* sysdeps/generic/pread.c: Likewise.
* sysdeps/generic/pread64.c: Likewise.
* sysdeps/generic/pwrite.c: Likewise.
* sysdeps/generic/pwrite64.c: Likewise.
* sysdeps/posix/open64.c: Likewise.
* sysdeps/posix/pread.c: Likewise.
* sysdeps/posix/pread64.c: Likewise.
* sysdeps/posix/pwrite.c: Likewise.
* sysdeps/posix/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.

* sysdeps/posix/open64.c: Help gcc generating better code.

* sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
instead of __open.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 02:59:06 +0000 (02:59 +0000)]
Update.

1999-12-11  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
instead of __fcntl.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 01:51:10 +0000 (01:51 +0000)]
Update.

* iconvdata/isiri-3342.c: New file.
* iconvdata/Makefile (modules): Add ISIRI-3342.
(distribute): Add isiri-3342.c.
(gen-8bit-gap-modules): Add isiri-3342.
* iconvdata/gconv-modules: Add entries for ISIRI-3342.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 00:32:58 +0000 (00:32 +0000)]
Update.

* malloc/Versions: Export __libc_freeres for GLIBC_2.1.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 00:04:05 +0000 (00:04 +0000)]
Update.

1999-12-18  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
result if necessary.

* sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
unreliable kernel headers.
* sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.

1999-12-18  Andreas Jaeger  <aj@suse.de>

* config.make.in (datadir): Added.
Closes PR libc/1491. Patch by dervishd@jazzfree.com.

1999-12-18  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
set errno.
* sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.

1999-12-18  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
syscall if available.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_STAT64_SYSCALL): New.

1999-12-17  Scott Bambrough  <scottb@netwinder.org>

* sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
cache flush.
* elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
after .text segment fixups.

1999-12-16  Andreas Jaeger  <aj@suse.de>

* rt/aio.h: Remove erroneous __restrict declarations.

1999-12-18  Ulrich Drepper  <drepper@cygnus.com>

* scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
do the job if it is there neither.
Patch by David R. Conrad <drc@adni.net> (PR libc/1485).

1999-12-16  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
duplicate definition with function __nan.
Closes PR libc/1487 reported by <diana@kai.com>.

* string/bits/string2.h (__strsep): Help gcc optimizing string access.

24 years agoUpdate.
Ulrich Drepper [Sat, 18 Dec 1999 19:45:25 +0000 (19:45 +0000)]
Update.

1999-12-17  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h (__strtok_r_1c): Help gcc optimizing string
access.

* locale/programs/ld-collate.c: Implement handling of absolute
ellipsis.  Parsing of file and constructing the internal data
structures should now be complete.
(collate_finish): Start adding support to generate the data
structures which are written out to the file.

* intl/dcgettext.c: Rewrite to handle caching of previous results here
instead of in the dcgettext macro.
* intl/libintl.h (dcgettext): Don't define for systems using this
glibc or systems with tsearch.

* sysdeps/generic/mathdef.h: Protect definitions for math.h
against double inclusion.
* sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.

* sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
that different?).

1999-12-17  Andreas Jaeger  <aj@suse.de>

* rt/aio.h (struct aiocb64): Add member __next_prio to sync the
struct with aiocb.

* rt/Makefile (tests): Added tst-aio64.
Added dependency rules for tst-aio64.

* rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
64bit tests.

1999-12-15  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
old value (signed long).
* sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
long RLIM_INFINITY.
* sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
* sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
* sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.

1999-12-17  Andreas Jaeger  <aj@suse.de>

* elf/ldconfig.c: Add new option -l to manualy link shared
libraries.
(options): Added option.
(parse_opt): Set option.
(main): Handle option.
(manual_link): New function.

1999-12-17  Thorsten Kukuk  <kukuk@suse.de>

* string/bits/string2.h: Fix patch from 1999-12-07.

1999-12-16  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/strsep.c: If delim string has only one character
don't run over end of string.

* locale/programs/ld-collate.c (insert_weights): Also update next
pointer of last cursor element.
(insert_value): Return nonzero value if nothing got inserted.
(handle_ellipsis): Don't do anything if to-value cannot be inserted.

1999-12-10  Jakub Jelinek  <jakub@redhat.com>

* stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
where appropriate.

1999-12-10  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
Copy sa_flags into kernel sigaction structure.

1999-12-14  Andreas Jaeger  <aj@suse.de>

* string/tester.c (test_strsep): More tests for access beyond
the final NUL.  The first two tests come from PR libc/1486 by
martinea@iro.umontreal.ca.

1999-12-14  Thorsten Kukuk  <kukuk@suse.de>

* nis/ypclnt.c: Correct handling of cached client handles.
(__xdr_ypresp_all): Call callback function for errors, too,
like Solaris does.
* nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
Map if available, optimize query if name/port and protocol is known.

24 years agoUpdate.
Ulrich Drepper [Mon, 13 Dec 1999 07:40:47 +0000 (07:40 +0000)]
Update.

1999-12-12  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (collate_read): Make symbolic
ellipsis work.  Remove old and unused code.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 20:22:01 +0000 (20:22 +0000)]
Update.

1999-12-11  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (collate_read): Implement
reorder-section handling.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 07:25:44 +0000 (07:25 +0000)]
Update.

* locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 05:15:37 +0000 (05:15 +0000)]
Update.

* locale/programs/ld-collate.c (collate_read): Add handling of
reorder-after.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 02:51:13 +0000 (02:51 +0000)]
Update.

1999-12-10  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c: Many changes to implement parsing
of collation definition (still not complete).

24 years agoUpdate.
Ulrich Drepper [Fri, 10 Dec 1999 04:37:40 +0000 (04:37 +0000)]
Update.

1999-12-09  Andreas Jaeger  <aj@suse.de>

* nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
errno to ENOENT when returning NSS_STATUS_NOTFOUND.
Reported by Christian Starkjohann <cs@obdev.at>.

1999-12-09  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/libm-test-ulps: Added some ulps.

1999-12-09  Jakub Jelinek  <jakub@redhat.com>

* stdlib/longlong.h: Update from latest egcs version.

* sysdeps/sparc/fpu/fegetenv.c: Add semicolons.

* sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
has to preceede __attribute__, otherwise g++ barfs.

* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
on sparc64-*-linux.

* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
use sigcontext.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.

1999-12-05  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (arena_get2): If generating a new arena fails,
try to generate a minimal one and hope for mmap_chunk() to succeed
later.

1999-11-07  Wolfram Gloger  <wg@malloc.de>

* malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
mutex_t work as an `in-use' flag even without threads.
* malloc/malloc.c (USE_ARENAS): New feature flag, controls support
for multiple arenas separately from NO_THREADS.
(mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
fall back to an mmap()ed arena when sbrk() has failed.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 19:07:23 +0000 (19:07 +0000)]
Update.

* sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 18:54:38 +0000 (18:54 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
oldgetrlimit and oldsetrlimit.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
oldsetrlimit.
* sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
oldsetrlimit rules into 32-bit arch subdirs.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 08:21:40 +0000 (08:21 +0000)]
Update.

1999-12-09  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (insert_value): If this is the
first symbol the cursor can be the same as the next pointer.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 07:52:58 +0000 (07:52 +0000)]
Update.

* locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
arrays.
(allocate_arrays): Allocate memory for map32.  Correctly install
default values in it and install defined mappings.

* locale/programs/ld-monetary.c (monetary_finish): Provide default
value for mon_grouping.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 01:39:16 +0000 (01:39 +0000)]
Update.

* elf/readlib.c: Include a.out.h last since the Linux/Alpha
headers are not clean enough.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 23:48:24 +0000 (23:48 +0000)]
Update.

* sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
on x86.
* sysdeps/unix/sysv/linux/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/truncate64.c: New file.
* sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
* sysdeps/unix/sysv/linux/i386/mmap64.S: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 19:53:27 +0000 (19:53 +0000)]
Update.

* ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
* ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
* locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
_nl_C_LC_CTYPE_tolower32 tables.
Don't compile it names of 14652 classes and maps.
* locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
_NL_CTYPE_TOLOWER32.
* locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
and __ctype32_tolower.
* locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
(ctype_output): Write out map32 values.
(allocate_arrays): Compute mapping tables correctly.
* wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
(towupper): Use __ctype32_toupper.
* wctype/wctype.h: Optimize towupper and towlower for values < 256.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 18:54:19 +0000 (18:54 +0000)]
Update.

* locale/programs/ld-ctype.c (set_class_defaults): Correctly
determine tolower mapping for 8bit table if the tolower keyword is
not given.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 09:15:00 +0000 (09:15 +0000)]
Update.

1999-12-08  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 08:41:33 +0000 (08:41 +0000)]
Update.

1999-12-07  Jakub Jelinek  <jakub@redhat.com>

* string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
__stpcpy_small): Cast switch expressions to int to shut up compiler
warnings.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 07:38:14 +0000 (07:38 +0000)]
Update.

1999-12-07  Scott Bambrough <scottb@netwinder.org>

* sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
relocs if possible.

1999-12-06  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
ugetrlimit syscall exists.

* sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
exported symbols.
* sysdeps/unix/sysv/linux/setrlimit.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 04:56:09 +0000 (04:56 +0000)]
Update.

* iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
pointers if character is illegal.
Reported by Bruno Haible <haible@ilog.fr>.

Reported by Bruno Haible <haible@ilog.fr>.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 04:02:45 +0000 (04:02 +0000)]
Update.

1999-12-07  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
(increment_counter): New function.  Broken out of find_derivation.
(find_derivation): No need for a lock.  Increment counter only when
the derivation was already available.
* iconv/gconv_dl.c: Add debugging functions.
(known_compare): We have to use strcmp.

24 years agoUpdate.
Ulrich Drepper [Tue, 7 Dec 1999 05:57:27 +0000 (05:57 +0000)]
Update.

* iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
* iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
* iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
* iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
SHIFT_JIS alias.
Reported by Bruno Haible <haible@ilog.fr>.

24 years agoUpdate.
Ulrich Drepper [Mon, 6 Dec 1999 22:51:27 +0000 (22:51 +0000)]
Update.

1999-12-06  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/xstrdup.c: It's _LIBC, not __LIBC.

24 years agoUpdate.
Ulrich Drepper [Sat, 4 Dec 1999 18:05:55 +0000 (18:05 +0000)]
Update.

1999-12-03  Andreas Jaeger  <aj@suse.de>

* nss/getXXbyYY.c: Include <resolv.h>
(FUNCTION_NAME): Use res_ninit instead of res_init.

* nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
declaration and prototypes.
Remove extra _res declaration.
(INTERNAL): Use thread aware res_ninit function.

* inet/gethstbyad_r.c: Include <resolv.h>.

* resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
res_libc.c.  Disabled unneeded functions.

* resolv/res_libc.c: New file.

* Versions.def: Add version GLIBC_2.2 for libpthread.
Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.

* include/resolv.h: Add internal interfaces.

* resolv/Makefile (routines): Add new files.
(libresolv-routines): Likewise.
(distribute): Likewise.

* resolv/gethnamaddr.c: Use thread safe resolver functions.
* resolv/nss_dns/dns-host.c: Likewise.
* resolv/nss_dns/dns-network.c: Likewise.

* resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
* resolv/nsap_addr.c: Likewise.
* resolv/res_comp.c: Likewise.
* resolv/res_debug.c: Likewise.
* resolv/res_init.c: Likewise.
* resolv/res_mkquery.c: Likewise.
* resolv/res_query.c: Likewise.
* resolv/res_send.c: Likewise.
* resolv/resolv.h: Likewise.

* resolv/Versions: Add __res_state and __res_ninit with version
GLIBC_2.2 to libc.
Add new interfaces with version GLIBC_2.2 to libresolv.

* resolv/Banner: Update.

* include/arpa/nameser_compat.h: New file.

* resolv/ns_name.c: New file from Bind 8.2.2-P5.
* resolv/ns_netint.c: Likewise.
* resolv/ns_parse.c: Likewise.
* resolv/ns_print.c: Likewise.
* resolv/ns_samedomain.c: Likewise.
* resolv/ns_ttl.c: Likewise.
* resolv/arpa/nameser_compat.h: Likewise.
* resolv/res_debug.h: Likewise.

Some patches are based on work done by Adam D. Bradley
<artdodge@cs.bu.edu>.

* sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
set always use_ldconfig instead.

24 years agoUpdate.
Ulrich Drepper [Sat, 4 Dec 1999 08:00:00 +0000 (08:00 +0000)]
Update.

1999-11-30  Andreas Jaeger  <aj@suse.de>

Add ldconfig:
* elf/Makefile (extra-objs): Added ldconfig-modules.
(ldconfig-modules): New.
Added vpath for xstrdup and xmalloc.
Check for use-ldconfig instead of has-ldconfig.
($(objpfx)ldconfig): New rule with dependencies.
(distribute): Add new files.

* sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
developed together with Jakub Jelinek <jakub@redhat.com>.
* sysdeps/generic/readelflib.c: Likewise.

* elf/cache.c: New file.
* elf/ldconfig.c: New file.
* elf/ldconfig.h: New file.
* elf/readlib.c: New file.

* Makefile (install): Remove flag -d in ldconfig call.

* configure.in: Rename has_ldconfig to use_ldconfig, set it to no
by default.

* config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
comment.

24 years agoUpdate.
Ulrich Drepper [Sat, 4 Dec 1999 07:44:05 +0000 (07:44 +0000)]
Update.

1999-12-03  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/bits/stropts.h: Update with LiS types and
values.  Patch by David Grothe <dave@gcom.com>.

* sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
Make long types.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 4 Dec 1999 05:54:36 +0000 (05:54 +0000)]
Update.

1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>

* locale/lc-time.c (_nl_get_era_entry): Separate eras
initialization as _nl_init_era_entry().
* locale/lc-time.c (_nl_get_era_nf_entry): New function.
* locale/lc-time.c (_nl_get_era_year_offset): New function.
* locale/lc-time.c (_nl_get_era_year_start): New function.
* locale/localeinfo.h: Declare new functions.
Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
and ERA_W_FORMAT.

* hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
nonzero, use cthread_fork to create the signal thread.
* hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
_hurd_msgport_thread here (to self).
* sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
is zero, instead compute child signal thread's starting SP from parent
signal thread's current SP and the threadvar_stack variables.
* hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
These are now referenced weakly by _hurdsig_init.
* hurd/report-wait.c (_S_msg_report_wait): Fix typo:
&_hurd_itimer_thread not &_hurd_msgport_thread.
* hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
without HURD_DPORT_USE to clean up warnings.
* hurd/dtable.c (get_dtable_port): Likewise.

* hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
(install_ctty): Do the changing of the cttyid port cell here, inside
the critical section while we holding the dtable lock.
(_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
the port cell and calling rectty_dtable.
(_hurd_locked_install_cttyid): New function, split out of install_ctty.
(install_ctty): Use it inside a critical section, with the lock held.
* sysdeps/mach/hurd/setsid.c (__setsid): Use
_hurd_locked_install_cttyid to effect the cttyid and dtable changes
after proc_setsid, having held the dtable lock throughout.
* hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
cttyid port for null and bail out early if so.  The dtable lock
serializes us after any cttyid change and its associated dtable update.

24 years agoUpdate.
Ulrich Drepper [Fri, 3 Dec 1999 08:32:19 +0000 (08:32 +0000)]
Update.

1999-12-02  Ulrich Drepper  <drepper@cygnus.com>

* posix/regex.c (SYNTAX): Make more portable.
Patch by Aharon Robbins <arnold@skeeve.com>.

24 years ago(SYNTAX): Add braces for correct evaluation.
Ulrich Drepper [Fri, 3 Dec 1999 08:28:03 +0000 (08:28 +0000)]
(SYNTAX): Add braces for correct evaluation.

24 years ago1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Fri, 3 Dec 1999 05:01:23 +0000 (05:01 +0000)]
1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>

        * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
        nonzero, use cthread_fork to create the signal thread.
        * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
        _hurd_msgport_thread here (to self).
        * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
        is zero, instead compute child signal thread's starting SP from parent
        signal thread's current SP and the threadvar_stack variables.
        * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
        These are now referenced weakly by _hurdsig_init.

        * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
        &_hurd_itimer_thread not &_hurd_msgport_thread.

1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>

        * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
        without HURD_DPORT_USE to clean up warnings.
        * hurd/dtable.c (get_dtable_port): Likewise.

        * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
        (install_ctty): Do the changing of the cttyid port cell here, inside
        the critical section while we holding the dtable lock.
        (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
        the port cell and calling rectty_dtable.
        (_hurd_locked_install_cttyid): New function, split out of install_ctty.
        (install_ctty): Use it inside a critical section, with the lock held.
        * sysdeps/mach/hurd/setsid.c (__setsid): Use
        _hurd_locked_install_cttyid to effect the cttyid and dtable changes
        after proc_setsid, having held the dtable lock throughout.
        * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
        cttyid port for null and bail out early if so.  The dtable lock
        serializes us after any cttyid change and its associated dtable update.

24 years ago1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 2 Dec 1999 19:51:24 +0000 (19:51 +0000)]
1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
We don't install this file for users.
* sysdeps/mach/hurd/Dist: Add it.
* sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
Append nfs/nfs.h here.

24 years ago1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 2 Dec 1999 19:50:42 +0000 (19:50 +0000)]
1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
We don't install this file for users.
* sysdeps/mach/hurd/Dist: Add it.
* sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
Append nfs/nfs.h here.

24 years ago(SYNTAX): Make more portable.
Ulrich Drepper [Thu, 2 Dec 1999 18:36:57 +0000 (18:36 +0000)]
(SYNTAX): Make more portable.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Dec 1999 08:21:38 +0000 (08:21 +0000)]
Update.

1999-12-01  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/if_index.c (__protocol_available): Add missing
int for parameter.

* stdio/stdio.h: Fix typo.
Patches by Marcus G. Daniels <mgd@santafe.edu>.

1999-12-01  Andreas Jaeger  <aj@suse.de>

* scripts/test-installation.pl (installation_problem): Filter out
libpthread_db.

1999-12-01  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
__rlim_t and __rlim64_t.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.

1999-12-01  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
* sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
new kernel version.  Add symbol versions.
* sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
oldgetrlimit.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
and s_ugetrlimit.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
file.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Dec 1999 00:14:25 +0000 (00:14 +0000)]
Update.

* sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Dec 1999 00:12:41 +0000 (00:12 +0000)]
Update.

* sysdeps/generic/usleep.c: Fix typo.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Dec 1999 23:16:28 +0000 (23:16 +0000)]
Update.

* sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
itself.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Dec 1999 22:43:29 +0000 (22:43 +0000)]
Update.

* sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
_UTSNAME_H.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Dec 1999 21:08:31 +0000 (21:08 +0000)]
Update.

* malloc/set-freeres.c: Really use already_called variable.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Dec 1999 21:05:53 +0000 (21:05 +0000)]
Update.

1999-12-01  Ulrich Drepper  <drepper@cygnus.com>

* libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
function call directly.
* libio/iosetvbuf.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 30 Nov 1999 00:45:54 +0000 (00:45 +0000)]
Update.

* configure.in: Add AIX 4.3 support.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 Nov 1999 19:32:30 +0000 (19:32 +0000)]
Update.

standard was issued in 1992.
Reported by Bruno Haible <haible@ilog.fr>.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 Nov 1999 19:30:48 +0000 (19:30 +0000)]
Update.

1999-11-29  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
standard was issued in 1992.  Reported by Bruno Haible <haible@ilog.fr>.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 Nov 1999 19:17:27 +0000 (19:17 +0000)]
Update.

1999-11-29  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
SIGCLD als SIGCHLD.

1999-11-29  Andreas Jaeger  <aj@suse.de>

* manual/time.texi (Basic CPU Time): Better describe wrap around.
Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.

1999-11-29  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
Patch by Bruno Haible <haible@ilog.fr>.

1999-11-29  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.

24 years agoRemove K&R compatibility.
Ulrich Drepper [Mon, 29 Nov 1999 19:01:20 +0000 (19:01 +0000)]
Remove K&R compatibility.

24 years ago1999-11-29 Andreas Schwab <schwab@suse.de>
Andreas Schwab [Mon, 29 Nov 1999 17:51:50 +0000 (17:51 +0000)]
1999-11-29  Andreas Schwab  <schwab@suse.de>

* sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
__v to __bswap_32_v.
(__bswap_64): Rename local variables __v and __r to __bswap_64_v
and __bswap_64_r to avoid clash with __bswap_32 macro.

24 years ago* sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
Andreas Schwab [Mon, 29 Nov 1999 17:50:55 +0000 (17:50 +0000)]
* sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable

__v to __bswap_32_v.
(__bswap_64): Rename local variables __v and __r to __bswap_64_v
and __bswap_64_r to avoid clash with __bswap_32 macro.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 Nov 1999 23:16:00 +0000 (23:16 +0000)]
Update.

1999-11-28  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
gconv-modules.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 Nov 1999 05:14:35 +0000 (05:14 +0000)]
Update.

1999-11-27  Shinya Hanataka  <hanataka@abyss.rim.or.jp>

     * locales/ja_JP: Add JIS X 0201 kana and JIS X 0212 definitions.
     * charmaps/EUC-JP: Likewise.
     * repertoiremaps/mnemonic.ja: Likewise.

     * locales/ja_JP: Add extra CLASS and MAP definisions.

     * charmaps/EUC-JP: Add WIDTH definitions.

24 years agoUpdate.
Ulrich Drepper [Sat, 27 Nov 1999 16:45:01 +0000 (16:45 +0000)]
Update.

1999-11-26  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
asm/ptrace.h, since this will not be done with 2.3.xx automatically
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 27 Nov 1999 02:43:16 +0000 (02:43 +0000)]
Update.

* locale/programs/ld-ctype.c (allocate_arrays): Complete last
patch.  Use wch instead of idx to compute index.
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 Nov 1999 22:23:27 +0000 (22:23 +0000)]
Update.

* inet/rcmd.c (ruserok): Use iruserok2 not iruserok.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 Nov 1999 19:37:26 +0000 (19:37 +0000)]
Update.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 Nov 1999 19:34:57 +0000 (19:34 +0000)]
Update.

1999-11-26  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/gnu/siglist.h: If SIGPWR == SIGLOST, don't include SIGPWR
message.
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
asm/ptrace.h, since this will not be done with 2.3.xx automatically
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.

1999-11-26  Ulrich Drepper  <drepper@cygnus.com>

* locale/iso-3166.def: Update from latest official list.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 Nov 1999 17:59:57 +0000 (17:59 +0000)]
Update.

* libio/libioP.h: Remove duplicate declaration of _IO_wsetb.

1999-11-26  Andreas Jaeger  <aj@suse.de>

24 years agoUpdate.
Ulrich Drepper [Fri, 26 Nov 1999 17:57:03 +0000 (17:57 +0000)]
Update.

1999-11-26  Andreas Jaeger  <aj@suse.de>

* inet/rcmd.c: Include stdlib for declaration of free.
Declare iruserok.

24 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 1999 21:45:54 +0000 (21:45 +0000)]
Update.

1999-11-25  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv.c (__gconv): Always initialize
cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.

* iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
written bytes.
* iconvdata/iso-2022-jp.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 1999 19:27:07 +0000 (19:27 +0000)]
Update.

1999-11-25  H.J. Lu  <hjl@gnu.org>

* stdlib/exit.c (exit): Run funtions only if
__exit_funcs->idx > 0.

1999-11-25  Ulrich Drepper  <drepper@cygnus.com>

* manual/charset.texi (iconv Examples): Add iconv call to flush
state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.

1999-11-25  Andreas Jaeger  <aj@suse.de>

* manual/install.texi (Running make install): Better describe
update from libc5.
Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.

1999-11-25  Andreas Jaeger  <aj@suse.de>

* include/sys/mman.h: Remove K&R compatibility.

1999-11-15  Andreas Jaeger  <aj@suse.de>

* misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
use __off64_t.

1999-11-25  Ulrich Drepper  <drepper@cygnus.com>

* iconv/iconv_prog.c (process_block): For stateful charsets write
out byte sequence to get to initial state at the end of the file.

which was reported to not work (which proofed to be wrong).

24 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 1999 18:31:44 +0000 (18:31 +0000)]
Update.

1999-11-25  Andreas Schwab  <schwab@suse.de>

* Makeconfig: Include sys-dirs and sys-sorted earlier.
($(common-objpfx)soversions.mk): Wait until subdirs is complete.
($(common-objpfx)sysd-sorted): Emit marker when this file is
complete.

24 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 1999 07:59:22 +0000 (07:59 +0000)]
Update.

* manual/setjmp.texi: Many changes to correct bad English introduced
mainly by me.
* manual/time.texi: Likewise.
Patches by Neil Booth <neil@rosenet.ne.jp>.

24 years agoUpdate.
Ulrich Drepper [Wed, 24 Nov 1999 20:48:27 +0000 (20:48 +0000)]
Update.

1999-11-24  Ulrich Drepper  <drepper@cygnus.com>

* include/string.h: Remove K&R compatibility.

24 years agoUpdate.
Ulrich Drepper [Wed, 24 Nov 1999 07:30:55 +0000 (07:30 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.

* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.

24 years agoUpdate.
Ulrich Drepper [Wed, 24 Nov 1999 05:51:45 +0000 (05:51 +0000)]
Update.

* string/stratcliff.c: Add one more strchr test for something
which was reported to not work
(which proofed to be wrong).

24 years agoUpdate.
Ulrich Drepper [Wed, 24 Nov 1999 03:19:02 +0000 (03:19 +0000)]
Update.

1999-11-23  Ulrich Drepper  <drepper@cygnus.com>

* iconv/skeleton.c: It's __is_last, not is_last.

* locale/programs/ld-ctype.c (ctype_finish): Correct method to find
the UCS value.
(allocate_arrays): Likewise.
(find_idx): Correctly increase array size.
Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

24 years agoIt's __is_last, not is_last.
Ulrich Drepper [Wed, 24 Nov 1999 03:15:24 +0000 (03:15 +0000)]
It's __is_last, not is_last.

24 years agoRegenerated: autoconf configure.in
Richard Henderson [Wed, 24 Nov 1999 00:46:24 +0000 (00:46 +0000)]
Regenerated: autoconf  configure.in

24 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 1999 22:05:48 +0000 (22:05 +0000)]
Update.

1999-11-23  Ulrich Drepper  <drepper@cygnus.com>

* manager.c (pthread_start_thread_event): Initialize p_pid already
here.

24 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 1999 17:47:25 +0000 (17:47 +0000)]
Update.

* iconv/skeleton.c: Don't access next_step->fct if data->is_last

24 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 1999 17:31:31 +0000 (17:31 +0000)]
Update.

1999-11-23  Thorsten Kukuk  <kukuk@suse.de>

* iconv/skeleton.c: Don't access next_step->fct if datat->is_last
is true.

1999-11-23  Andreas Jaeger  <aj@suse.de>

* include/sys/select.h: Remove K&R compatibility.
* include/sys/statfs.h: Likewise.
* include/gnu/libc-version.h: Likewise.
* include/db_185.h: Likewise.
* include/dlfcn.h: Likewise.
* include/search.h: Likewise.
* include/setjmp.h: Likewise.
* include/signal.h: Likewise.
* include/stdio.h: Likewise.
* include/unistd.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 1999 17:22:17 +0000 (17:22 +0000)]
Update.

* include/aio.h: Remove __THROW from internal interfaces.  __THROW
is only need in external header files that might be compiled by a
C++ compiler.
* include/alloca.h: Likewise.
* include/db.h: Likewise.
* include/dirent.h: Likewise.
* include/execinfo.h: Likewise.
* include/fpu_control.h: Likewise.
* include/glob.h: Likewise.
* include/grp.h: Likewise.
* include/libintl.h: Likewise.
* include/math.h: Likewise.
* include/math.h: Likewise.
* include/mntent.h: Likewise.
* include/mntent.h: Likewise.
* include/netdb.h: Likewise.
* include/pwd.h: Likewise.
* include/sched.h: Likewise.
* include/shadow.h: Likewise.
* include/stdlib.h: Likewise.
* include/sys/file.h: Likewise.
* include/sys/gmon.h: Likewise.
* include/sys/ioctl.h: Likewise.
* include/sys/socket.h: Likewise.
* include/sys/stat.h: Likewise.
* include/sys/sysinfo.h: Likewise.
* include/sys/time.h: Likewise.
* include/sys/times.h: Likewise.
* include/sys/uio.h: Likewise.
* include/sys/wait.h: Likewise.
* include/termios.h: Likewise.
* include/time.h: Likewise.
* include/ulimit.h: Likewise.
* include/utmp.h: Likewise.
* include/wchar.h: Likewise.

1999-11-22  Andreas Jaeger  <aj@suse.de>

* sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
libc/1456+1457.

1999-11-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/siglist.h: Avoid declaring the same field
twice if SIGPWR is defined to SIGLOST.
* sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
not signed, so we should not special case it for negative args.
* sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
memmove, use the one provided in memcpy.S.
* sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
copies like memmove, while the previous version worked like memcpy.
Implement optimized assembly memmove.
* sysdeps/sparc/sparc64/memmove.c: New file.

1999-11-23  Ulrich Drepper  <drepper@cygnus.com>

* po/cs.po: Update from translators.

1999-11-23  Andreas Jaeger  <aj@suse.de>

24 years ago(printbody): Fix -CLMNab output.
Ulrich Drepper [Tue, 23 Nov 1999 17:10:21 +0000 (17:10 +0000)]
(printbody): Fix -CLMNab output.

24 years agoUpdate.
Andreas Jaeger [Tue, 23 Nov 1999 17:01:54 +0000 (17:01 +0000)]
Update.

1999-11-23  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
(elf_machine_got): Removed, not needed anymore.
(ELF_MACHINE_RELOC_NOPLT): Removed.
(ELF_MACHINE_JMP_SLOT): Added.
(_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
(_RTLD_EPILOGUE): Likewise.
(RESOLVE_GOTSYM): Use R_MIPS_REL32.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
Ralf Baechle <baechle@uni-koblenz.de>.

* sysdeps/mips/mips64/dl-machine.h: Apply same patches.

24 years agobcopy should handle overlapping copies like memmove, while the previous version worke...
Ulrich Drepper [Tue, 23 Nov 1999 17:01:11 +0000 (17:01 +0000)]
bcopy should handle overlapping copies like memmove, while the previous version worked like memcpy.  Implement optimized assembly memmove.

24 years agoUpdate from translators.
Ulrich Drepper [Tue, 23 Nov 1999 16:47:02 +0000 (16:47 +0000)]
Update from translators.

24 years ago(elf_machine_dynamic): New function.
Andreas Jaeger [Tue, 23 Nov 1999 16:10:26 +0000 (16:10 +0000)]
(elf_machine_dynamic): New function.

(elf_machine_got): Removed, not needed anymore.
(ELF_MACHINE_RELOC_NOPLT): Removed.
(ELF_MACHINE_JMP_SLOT): Added.
(_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
(_RTLD_EPILOGUE): Likewise.
(RESOLVE_GOTSYM): Use R_MIPS_REL32.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.

24 years ago* sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
Andreas Jaeger [Tue, 23 Nov 1999 15:49:22 +0000 (15:49 +0000)]
* sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.

(elf_machine_got): Removed, not needed anymore.
(ELF_MACHINE_RELOC_NOPLT): Removed.
(ELF_MACHINE_JMP_SLOT): Added.
(_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
(_RTLD_EPILOGUE): Likewise.
(RESOLVE_GOTSYM): Use R_MIPS_REL32.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
Ralf Baechle <baechle@uni-koblenz.de>.

24 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 1999 06:01:02 +0000 (06:01 +0000)]
Update.

* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
name from the locale name.  Only use the value in the LC_CTYPE
locale data file.

24 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 1999 05:25:22 +0000 (05:25 +0000)]
Update.

* locale/loadlocale.c (_nl_load_locale): Allow index of entry in
file be equal to file size.

24 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 1999 04:15:27 +0000 (04:15 +0000)]
Update.

* stdlib/longlong.h: Add count_trailing_zeros back.