platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Mon, 31 Jan 2000 08:11:53 +0000 (08:11 +0000)]
Update.

* sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
the standard.
* sysdeps/alpha/fpu/fesetround.c: Likewise.
* sysdeps/arm/fpu/feholdexcpt.c: Likewise.
* sysdeps/arm/fpu/fesetround.c: Likewise.
* sysdeps/generic/feholdexcpt.c: Likewise.
* sysdeps/generic/fesetround.c: Likewise.
* sysdeps/i386/fpu/feholdexcpt.c: Likewise.
* sysdeps/i386/fpu/fesetround.c: Likewise.
* sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
* sysdeps/m68k/fpu/fesetround.c: Likewise.
* sysdeps/mips/fpu/fesetround.c: Likewise.
* sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
* sysdeps/powerpc/fpu/fesetround.c: Likewise.
* sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
* sysdeps/sparc/fpu/fesetround.c: Likewise.
Patch by Miloslav Trmac <mitr@volny.cz>.

24 years agoUpdate.
Ulrich Drepper [Mon, 31 Jan 2000 06:42:36 +0000 (06:42 +0000)]
Update.

2000-01-30  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate.c (struct locale_collate_t): Change
type of plane_size and plane_cnt to uint32_t.
Reported by Jakub Jelinek.

2000-01-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(SYSCALL_ERROR_HANDLER): Optimize.
(__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
Include linux/sparc/sysdep.h.
Use a different guard define than linux/sparc/sysdep.h.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
stubs for inlined syscalls.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(SYSCALL_ERROR_HANDLER): Optimize.
(__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
Include linux/sparc/sysdep.h.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
stubs for inlined syscalls.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
* sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
2000-01-29  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Sat, 29 Jan 2000 12:04:45 +0000 (12:04 +0000)]
Update.

* locale/loadlocale.c (_nl_load_locale): Optimize a bit.  Pretty
print.  Add checks for _POSIX_MMAPPED_FILES where necessary.
(_nl_unload_locale): If locale data was mmapped use munmap.

2000-01-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
_EXTERN_INLINE, compile inline assembler functions only with gcc.

2000-01-29  Ulrich Drepper  <drepper@redhat.com>

* catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
* catgets/gencat.c (read_input_file): Remove messages correctly.
* catgets/open_catalog.c (__open_catalog): Handle trailing colons and
adjacent colons correctly.  Correct loops to read territory and
and codeset part.
Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).

* rt/aio_misc.c (get_elem): Assign pointer to new row to correct
pool entry.
Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).

2000-01-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
interface with symbol version GLIBC_2.2.
* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.

2000-01-27  Scott Bambrough  <scottb@netwinder.org>

* sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
resource directory.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
versioning setrlimit and getrlimit.

2000-01-27  Andreas Jaeger  <aj@suse.de>

* sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
* sysdeps/powerpc/fpu/libm-test-ulps: ...this.

2000-01-27  Ruediger Oertel  <ro@suse.de>

* sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.

2000-01-29  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Sat, 29 Jan 2000 08:35:47 +0000 (08:35 +0000)]
Update.

* locale/programs/ld-numeric.c (numeric_output): Increment cnt in
correct place to avoid uninitialized memory passed to writev.

24 years agoUpdate.
Ulrich Drepper [Sat, 29 Jan 2000 08:26:51 +0000 (08:26 +0000)]
Update.

long string in definition.Only enable returning wide character
strings if really needed.

24 years agoUpdate.
Ulrich Drepper [Sat, 29 Jan 2000 08:10:00 +0000 (08:10 +0000)]
Update.

2000-01-29  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
long string in definition.
* locale/programs/ld-numeric.c (STR_ELEM): Likewise.

* configure.in: Add check for recent enough sed version.

24 years agoUpdate.
Ulrich Drepper [Sat, 29 Jan 2000 07:44:21 +0000 (07:44 +0000)]
Update.

2000-01-28  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
_i18n_itoa): Fix parameter lists.

24 years agoUpdate.
Ulrich Drepper [Sat, 29 Jan 2000 02:54:27 +0000 (02:54 +0000)]
Update.

2000-01-28  Ulrich Drepper  <drepper@cygnus.com>

* locale/C-monetary.c: Add initializers for new fields.
* locale/C-numeric.c: Likewise.
* locale/Makefile (distribute): Add indigits.h, indigitswc.h,
outdigits.h, and outdigitswc.h.
* locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
_NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
and _NL_NUMERIC_THOUSANDS_SEP_WC.
* locale/indigits.h: New file.
* locale/indigitswc.h: New file.
* locale/outdigits.h: New file.
* locale/outdigitswc.h: New file.
* locale/programs/ld-monetary.c: Write out decimal point and
thousands separator info in wide character form.
* locale/programs/ld-numeric.c: Likewise.
* stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
(distribute): Add _i18n_itoa.h and _i18n_itowa.h.
* stdio-common/_i18n_itoa.c: New file.
* stdio-common/_i18n_itoa.h: New file.
* stdio-common/_i18n_itowa.c: New file.
* stdio-common/_i18n_itowa.h: New file.
* stdio-common/printf-parse.h: Parse 'I' flag.
* stdio-common/printf.h (struct printf_info): Add i18n field.
* stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
outdigits.

24 years agoAdd initializers for new fields.
Ulrich Drepper [Sat, 29 Jan 2000 02:45:13 +0000 (02:45 +0000)]
Add initializers for new fields.

24 years ago* csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
Geoff Keating [Thu, 27 Jan 2000 23:40:48 +0000 (23:40 +0000)]
* csu/Makefile ($(objpfx)version-info.h): Don't use echo -n

unnecessarily.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
__ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
2.3.35.

* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
s_truncate64.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Versions: New file.

* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
__curbrk off the small data area register.  Reported by
Andrew Haley <aph@pasanda.cygnus.co.uk>.
2000-01-27  Geoff Keating  <geoffk@cygnus.com>

* csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
unnecessarily.

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
__ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
2.3.35.

* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
s_truncate64.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Versions: New file.

* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
__curbrk off the small data area register.  Reported by
Andrew Haley <aph@pasanda.cygnus.co.uk>.

24 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
Geoff Keating [Thu, 27 Jan 2000 20:16:37 +0000 (20:16 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

24 years agoUpdate.
Ulrich Drepper [Thu, 27 Jan 2000 01:50:11 +0000 (01:50 +0000)]
Update.

2000-01-26  Andreas Jaeger  <aj@suse.de>

* Make-dist (+sysdep-tscrs): Add libm-test-ulps.

2000-01-26  Ulrich Drepper  <drepper@cygnus.com>

* locale/Makefile (distribute): Remove nonexisting files.
* sysdeps/powerpc/Dist: Move FPU specific files to...
* sysdeps/powerpc/fpu/Dist: ...here.  New file.
* nss/Makefile: Distribute files for new libdb interface.
* math/Makefile (distribute): Add README.libm-test.
Patch by Andreas Jaeger.

24 years agoUpdate.
Ulrich Drepper [Thu, 27 Jan 2000 01:40:33 +0000 (01:40 +0000)]
Update.

2000-01-26  David McCann  <david.mccann@alcatel.at>

* libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.

24 years agoUpdate.
Ulrich Drepper [Thu, 27 Jan 2000 01:31:24 +0000 (01:31 +0000)]
Update.

2000-01-25  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
version check since we're using cpp.

24 years agoUpdate.
Ulrich Drepper [Thu, 27 Jan 2000 00:57:29 +0000 (00:57 +0000)]
Update.

2000-01-26  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
Fix a typo.

2000-01-26  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
about unitialised variable kbuf.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 27 Jan 2000 00:19:43 +0000 (00:19 +0000)]
Update.

2000-01-26  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (check_duplicate): Fix printing of error
messages.
(collate_read): Remove unnecessary `if'.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 06:55:29 +0000 (06:55 +0000)]
Update.

* libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
and load appropriate conversions.
* libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
made global.
* libio/libioP.h: Declare __libio_codecvt.
* manual/stdio.texi: Document ,ccs= option for fopen.
* wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
* wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.

* libio/iofclose.c: Free conversion data if stream was wide-oriented.

* sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 05:49:32 +0000 (05:49 +0000)]
Update.

* sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 03:46:22 +0000 (03:46 +0000)]
Update.

2000-01-25  Ulrich Drepper  <drepper@cygnus.com>

* posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
* posix/testfnm.c: Add a few more tests.  Rearrange test output.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 03:22:20 +0000 (03:22 +0000)]
Update.

2000-01-25  Andreas Schwab  <schwab@suse.de>

* posix/testfnm.c: Add new test case.  Use FNM_PATHNAME instead of
FNM_FILE_NAME consistently.

* posix/fnmatch.c: Define STRCOLL appropriately for the loop
definition.
* posix/fnmatch_loop.c: Undefine STRCOLL.

* sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
kernels with stat64 support.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
Patch by SL Baur <steve@xemacs.org>.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 03:11:19 +0000 (03:11 +0000)]
Update.

2000-01-25  Ulrich Drepper  <drepper@cygnus.com>

* string/strxfrm.c: Don't count in the terminating NUL byte/word.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 02:20:01 +0000 (02:20 +0000)]
Update.

2000-01-24  Paul Eggert  <eggert@twinsun.com>

* posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
deciding whether a character falls within a character range.

2000-01-24  Paul Eggert  <eggert@twinsun.com>

* posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
lower-case A too.

2000-01-24  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 02:07:07 +0000 (02:07 +0000)]
Update.

2000-01-23  Paul Eggert  <eggert@twinsun.com>

* posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.

2000-01-23  Paul Eggert  <eggert@twinsun.com>

* posix/regex.c (compile_range): When matching a character
range, use the current collating sequence, as POSIX requires.

24 years agoUpdate.
Ulrich Drepper [Wed, 26 Jan 2000 01:34:13 +0000 (01:34 +0000)]
Update.

2000-01-25  Ulrich Drepper  <drepper@cygnus.com>

* string/argz-stringify.c: Handle case of missing \0 at the end of
the given argz.

24 years agoUpdate.
Ulrich Drepper [Tue, 25 Jan 2000 04:51:45 +0000 (04:51 +0000)]
Update.

* nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
size anymore.

24 years agoUpdate.
Ulrich Drepper [Tue, 25 Jan 2000 01:00:37 +0000 (01:00 +0000)]
Update.

* locale/programs/ld-collate.c (collate_output): Also handle
IGNOREd characters in the simple way when generating the multibyte
table.

* locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
handling to ...
(ctype_finish): ...here.  Check for missing codeset name.

24 years agoUpdate.
Ulrich Drepper [Mon, 24 Jan 2000 12:38:46 +0000 (12:38 +0000)]
Update.

2000-01-24  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
* sysdeps/unix/sysv/linux/alpha/Dist: Likewise.

2000-01-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
* sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
* sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
* sysdeps/unix/sysv/linux/msgctl.c: ...here.  Include ipc_priv.h.
* sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
* sysdeps/unix/sysv/linux/semctl.c: ...here.  Include ipc_priv.h.
* sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
* sysdeps/unix/sysv/linux/shmctl.c: ...here.  Include ipc_priv.h.
* sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
* sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
* sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/msgget.c: Likewise.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/semget.c: Likewise.
* sysdeps/unix/sysv/linux/semop.c: Likewise.
* sysdeps/unix/sysv/linux/shmat.c: Likewise.
* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
* sysdeps/unix/sysv/linux/shmget.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 24 Jan 2000 12:09:14 +0000 (12:09 +0000)]
Update.

2000-01-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Dist: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Remove
setrlimit64@GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
* sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
* sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
so that setrlimit64@GLIBC_2.1 can report limits above 2G.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
setrlimit): Remove syscall stubs, add normal syscalls.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
Remove syscall stub.

24 years agoUpdate.
Ulrich Drepper [Mon, 24 Jan 2000 04:18:43 +0000 (04:18 +0000)]
Update.

2000-01-22  Andreas Jaeger  <aj@suse.de>

* localedata/tst-locale.sh: Enable test for de_DE.437.

24 years agoUpdate.
Ulrich Drepper [Mon, 24 Jan 2000 02:54:28 +0000 (02:54 +0000)]
Update.

2000-01-23  Ulrich Drepper  <drepper@cygnus.com>

* string/Versions: Export __strndup.

24 years agoUpdate.
Ulrich Drepper [Mon, 24 Jan 2000 02:22:13 +0000 (02:22 +0000)]
Update.

2000-01-23  Philip Blundell  <philb@gnu.org>

Add basic support for RPC over IPv6:
* sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
for remote address.
(svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
prototypes.
* sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
clntudp6_bufcreate): New prototypes.
* inet/netinet/in.h (bindresport6): Likewise.
* sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
* sunrpc/Versions: Add svcfd6_create, svctcp6_create,
svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
bindresvport6 for GLIBC_2.2.
* sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
simple assignment when copying addresses.
* sunrpc/svc_udp.c (cache_get): Likewise.
* sunrpc/svc_unix.c (rendezvous_request): Likewise.
* sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.

2000-01-05  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.

2000-01-23  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
parameter to fstat calls.

2000-01-18  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/bits/socket.h
(__ss_aligntype, struct sockaddr_storage): Make these like Linux
version, replacing old type name `__ss_align'.

2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
(__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
* sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
(__lseek, lseek): Make these weak aliases for __libc_lseek.
* sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
(__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
* sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
(__open, open): Make these weak aliases for __libc_open.

* sysdeps/generic/bits/socket.h (enum __socket_type): Remove
trailing comma.
(anonymous enum for MSG_*): Likewise.
(anonymous enum for SO_*): Likewise.

2000-01-23  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
(PR libc/1553).

24 years agoFix typo (__GNU_SOURCE -> __USE_GNU).
Ulrich Drepper [Mon, 24 Jan 2000 00:56:25 +0000 (00:56 +0000)]
Fix typo (__GNU_SOURCE -> __USE_GNU).

24 years agoUpdate.
Mark Kettenis [Sun, 23 Jan 2000 10:10:51 +0000 (10:10 +0000)]
Update.

2000-01-08  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
(setitimer_locked): Use it to quantize the timer values.  Use
quantized timer values to check if the timeout changed.

24 years ago2000-01-08 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 23 Jan 2000 10:10:02 +0000 (10:10 +0000)]
2000-01-08  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
(setitimer_locked): Use it to quantize the timer values.  Use
quantized timer values to check if the timeout changed.

24 years agoFix typo.
Ulrich Drepper [Sun, 23 Jan 2000 09:24:16 +0000 (09:24 +0000)]
Fix typo.

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

24 years agoUpdate.
Ulrich Drepper [Sun, 23 Jan 2000 09:12:53 +0000 (09:12 +0000)]
Update.

2000-01-22  Andreas Jaeger  <aj@suse.de>

* sunrpc/rpc/svc.h: Fix description for svc_register.

24 years agoUpdate.
Ulrich Drepper [Sun, 23 Jan 2000 08:54:19 +0000 (08:54 +0000)]
Update.

2000-01-23  Mark Kettenis  <kettenis@gnu.org>

* inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.

2000-01-22  Thorsten Kukuk  <kukuk@suse.de>

* sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
fixes part 2 of bug 1549.
* sunrpc/rpc_des.h: Remove unused defines.

2000-01-22  Mark Kettenis  <kettenis@gnu.org>

* intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.

2000-01-22  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
* sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
* sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
and other inline functions for port access.
* sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
access functions.

2000-01-23  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
Patch by Bruno Haibe <haible@ilog.fr>.

24 years agoFix two problems in UTF-8 decoder.
Ulrich Drepper [Sun, 23 Jan 2000 08:11:29 +0000 (08:11 +0000)]
Fix two problems in UTF-8 decoder.

24 years agoUpdate.
Mark Kettenis [Sat, 22 Jan 2000 18:11:52 +0000 (18:11 +0000)]
Update.

2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
them all at the end, eliding the final comma.
* sysdeps/mach/hurd/bits/errno.h: Regenerated.

24 years ago2000-01-05 Roland McGrath <roland@baalperazim.frob.com>
Mark Kettenis [Sat, 22 Jan 2000 18:10:43 +0000 (18:10 +0000)]
2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
them all at the end, eliding the final comma.
* sysdeps/mach/hurd/bits/errno.h: Regenerated.

24 years agoUpdate.
Ulrich Drepper [Sat, 22 Jan 2000 09:20:14 +0000 (09:20 +0000)]
Update.

* manual/message.texi: Document new interfaces.

24 years agoUpdate.
Ulrich Drepper [Sat, 22 Jan 2000 07:40:14 +0000 (07:40 +0000)]
Update.

* intl/libintl.h: Add format_arg attributes to declarations of new
functions.

24 years agoUpdate.
Ulrich Drepper [Sat, 22 Jan 2000 05:50:49 +0000 (05:50 +0000)]
Update.

2000-01-21  Ulrich Drepper  <drepper@cygnus.com>

* intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
ngettext, and plural.
(distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
(test-srcs): Add tst-gettext.
(before-compile): Add $(objpfx)msgs.h.
Add rules for plural.c and msgs.h generation and running tst-gettext.\
* intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
and ngettext.
* intl/dcgettext.c: Move most code into dcigettext.c.  Add call
dcigettext with appropriate parameters.
* intl/dcigettext.c: New file.
* intl/dcngettext.c: New file.
* intl/dngettext.c: New file.
* intl/ngettext.c: New file.
* intl/gettextP.h (struct expression): Define.
(struct loaded_domain): Add plural and nplurals members.
Add prototypes for new internal functions.
* intl/libintl.h: Declare new functions.  Add optimizations for them.
* intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
* intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
header entry and parse and store the expression.
* intl/plural.y: New file.
* intl/po2test.sed: New file.
* intl/tst-gettext.c: New file.
* intl/tst-gettext.sh: New file.

* intl/gettext.c: Call __dcgettext directly.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Jan 2000 05:18:41 +0000 (05:18 +0000)]
Update.

* manual/getopt.texi (Using the getopt function): Fix description of
return value for format string starting with '-' (PR libc/1551).
Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>

* sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
Patch by jens.moeller@westgeo.com (PR libc/1550).

* locale/programs/ld-collate.c (struct element_t): Add wclast
and compute it where necessary.
(collate_output): Insert indirect references in the right order.

24 years agoUpdate.
Ulrich Drepper [Thu, 20 Jan 2000 08:27:38 +0000 (08:27 +0000)]
Update.

2000-01-20  Ulrich Drepper  <drepper@cygnus.com>

* math/Makefile (tests): Add test-misc.
* math/test-misc.c: New file.

* posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.

24 years agoUpdate.
Ulrich Drepper [Thu, 20 Jan 2000 08:02:49 +0000 (08:02 +0000)]
Update.

* sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
with exponent >31 and < 63 (PR libc/1548).

24 years agoAdjust for last change in ld-collate.c of adding alignment padding.
Ulrich Drepper [Thu, 20 Jan 2000 05:22:38 +0000 (05:22 +0000)]
Adjust for last change in ld-collate.c of adding alignment padding.

* locale/weight.h: Adjust for last change in ld-collate.c of adding
alignment padding.

24 years agoUpdate.
Ulrich Drepper [Thu, 20 Jan 2000 04:37:53 +0000 (04:37 +0000)]
Update.

* locale/programs/ld-collate.c (output_weightwc): Return index
measured in words, not bytes.  Don't write out words for ignored
characters.
(collate_output): Correct various problems with alignment in the
output file.

24 years agoUpdate.
Ulrich Drepper [Thu, 20 Jan 2000 02:01:32 +0000 (02:01 +0000)]
Update.

* stdlib/strfmon.c: Don't report an error if final NUL is at the
end of the buffer.  Set errno correctly if floating-point number
would overflow buffer.

* posix/regex.h: Update comment of
RE_SYNTAX_POSIX_MINIMAL_EXTENDED.

24 years agoUpdate.
Ulrich Drepper [Thu, 20 Jan 2000 00:07:20 +0000 (00:07 +0000)]
Update.

2000-01-19  Ulrich Drepper  <drepper@cygnus.com>

* locale/weight.h (findidx): Little optimization.  Correctly return
offset in indirect table.
* locale/programs/ld-collate.c (struct element_t): Add mblast
and compute it where necessary.
(insert_weights): Correctly handle missing weights in ellipsis
expression.
(handle_ellipsis): Correctly enqueue new element.
(collate_output): Insert indirect references in the right order.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 07:29:43 +0000 (07:29 +0000)]
Update.

* wcsmbs/mbrtowc.c: Create temporary state object if no output is
written.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.

* wcsmbs/wcrtomb.c: Compute result correctly for successful call
with s == NULL.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 06:49:51 +0000 (06:49 +0000)]
Update.

* wcsmbs/mbsrtowcs.c: Compute return value correctly after change
in gconv function.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 06:06:01 +0000 (06:06 +0000)]
Update.

* wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
incomplete but correct.

* locale/programs/charmap.c: NUL-terminate names of generated

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 05:28:48 +0000 (05:28 +0000)]
Update.

2000-01-18  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/charmap.c: NUL-terminte names of generated
entries for ellipsis.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 03:54:00 +0000 (03:54 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
_STAT_VER_KERNEL handling up; don't save errno.
* sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
* sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.

Reported by Bruno Haible.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 03:21:41 +0000 (03:21 +0000)]
Update.

2000-01-18  Ulrich Drepper  <drepper@cygnus.com>

* iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
Remove done variable and all uses.
* iconv/skeleton.c: Update comment for *written modification.
* iconv/gconv_int.h (__gconv): Update comment.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 02:23:18 +0000 (02:23 +0000)]
Update.

2000-01-18  Bruno Haible  <haible@ilog.fr>

* posix/fnmatch.c (ISWCTYPE): New macro.
(__wcschrnul): New function.
(BTOWC): New macro. Define it instead of __btowc.
(is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
wcsrtombs. Call wctype, not __wctype.
* posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
BTOWC instead of __btowc.

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

* inet/Versions: Add new functions added on 2000-01-17.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 02:18:06 +0000 (02:18 +0000)]
Update.

2000-01-18  Jakub Jelinek  <jakub@redhat.com>

* dirent/dirent.h (getdentries): Correct prototype to use __off64_t.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 00:45:52 +0000 (00:45 +0000)]
Update.

* timezone/antarctica: Update from tzdata2000a.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jan 2000 00:10:36 +0000 (00:10 +0000)]
Update.

* nscd/connections.c (dbs): Use
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
Pretty printing.

* nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
address.  Suggested by Philip Blundell.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 10:53:15 +0000 (10:53 +0000)]
Update.

* posix/TESTS: Fix expected result for test cases with * with no
leading expression.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 10:17:32 +0000 (10:17 +0000)]
Update.

* sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
* sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
* sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
open call would require read permission.
Patch by James Antill <james@and.org>.

* sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.

* inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 09:56:22 +0000 (09:56 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c: Correct modifications done for
PR1515.  Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 09:34:50 +0000 (09:34 +0000)]
Update.

2000-01-18  Ulrich Drepper  <drepper@cygnus.com>

* posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
* posix/regex.c (regex_compile): Return appropriate errors for
unterminated brace expressions.  Detect invalid characters
in brace expressions.
* posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
* sysdeps/posix/sysconf.c: Include regex.h.
Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 06:53:09 +0000 (06:53 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
AI_NUMERICHOST flag is set, return an error.
Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 06:46:32 +0000 (06:46 +0000)]
Update.

2000-01-17  Ulrich Drepper  <drepper@cygnus.com>

* inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
iruserok_af.
* inet/rexec.c: Implement rexec_af.
Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.

* resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
and rresvport_af.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 04:33:34 +0000 (04:33 +0000)]
Update.

2000-01-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/ipc.h: New file.
* sysdeps/unix/sysv/linux/bits/sem.h: New file.
* sysdeps/unix/sysv/linux/bits/shm.h: New file.
* sysdeps/unix/sysv/linux/bits/msg.h: New file.
* sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
* sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
* sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
* sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
* sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
* sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
* sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
* sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.

* sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
Renamed from msgctl.
(__new_msgctl): New function.
* sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
Renamed from semctl.
(__new_semctl): New function.
* sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
Renamed from shmctl.
(__new_shmctl): New function.

* sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/semget.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/semop.c: Likewise.
* sysdeps/unix/sysv/linux/shmat.c: Likewise.
* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
* sysdeps/unix/sysv/linux/shmget.c: Likewise.

* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.

* sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.

2000-01-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
syscalls.

* sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.

* sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
available on sparc since 2.3.39.

* sysdeps/unix/sysv/linux/execve.c: Kill warnings.

2000-01-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
prototype.
(__real_chown): Return EINVAL if owner or group are out of the range
-1U .. 65534.
* sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
* sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
* sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
* sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
* sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
prototype.
Don't include non-existant header.
(__chown): Return EINVAL if owner or group are out of the range
-1U .. 65534.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
setresgid): Inherit standard linux/syscalls.list definitions.
* sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
* sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
__setresgid symbol.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 03:18:24 +0000 (03:18 +0000)]
Update.

2000-01-17  Ulrich Drepper  <drepper@cygnus.com>

* locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
from 1989 change in ISO 639.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 03:13:08 +0000 (03:13 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
function; needed for 32bit uid support.

* sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
uids correctly.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 02:58:40 +0000 (02:58 +0000)]
Update.

* intl/locale.alias: Add entries for galician.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 01:54:44 +0000 (01:54 +0000)]
Update.

* locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
try to get sequence from charmap with Uxxxxxxxx name.
(charclass_ucs4_ellipsis): Likewise.
(charclass_charcode_ellipsis): Allow byte sequence missing.
(read_writestring): Free allocated memory in case of an error.
(set_class_defaults): Don't search repertoire map for wide character
default values; we know it's UCS4.

* locale/programs/repertoire.c (repertoire_find_value): Just return an
error if no repertoire map was loaded.
(repertoire_find_symbol): Likewise.
(repertoire_find_seq): Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jan 2000 01:46:57 +0000 (01:46 +0000)]
Update.

* posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
twice, to define singlebyte and multibyte version.
(fnmatch): Differentiate between singlebyte and multibyte locale and
call appropriate internal function.
* posix/fnmatch_loop.c: New file.
* posix/Makefile (distribute): Add fnmatch_loop.c.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Jan 2000 08:39:58 +0000 (08:39 +0000)]
Update.

2000-01-17  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/repertoire.c (repertoire_read): Don't print
error message when repertoire map is missing.
(repertoire_complain): Print error message for missing map, but only
once.
* locale/programs/repertoire.h (repertoire_complain): Add prototype.

* locale/programs/linereader.c (get_string): Prefer getting names
from charseq entries.  Try finding Uxxxxxxxx names in charmap
before trying to map from repertoire.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Jan 2000 06:30:53 +0000 (06:30 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
error in last change.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Jan 2000 06:12:15 +0000 (06:12 +0000)]
Update.

2000-01-16  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/longlong.h: Fix typo in last patch.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Jan 2000 05:24:52 +0000 (05:24 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
Added for Linux 2.3.39+.

* sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
32bit GIDs.
* sysdeps/unix/sysv/linux/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
* sysdeps/unix/sysv/linux/setegid.c: Likewise.

* sysdeps/unix/sysv/linux/arm/chown.c: New file.
* sysdeps/unix/sysv/linux/arm/fchown.c: New file.
* sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
* sysdeps/unix/sysv/linux/arm/getegid.c: New file.
* sysdeps/unix/sysv/linux/arm/getuid.c: New file.
* sysdeps/unix/sysv/linux/arm/getgid.c: New file.
* sysdeps/unix/sysv/linux/arm/lchown.c: New file.
* sysdeps/unix/sysv/linux/i386/fchown.c: New file.
* sysdeps/unix/sysv/linux/i386/getegid.c: New file.
* sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
* sysdeps/unix/sysv/linux/i386/getgid.c: New file.
* sysdeps/unix/sysv/linux/i386/getuid.c: New file.
* sysdeps/unix/sysv/linux/i386/lchown.c: New file.
* sysdeps/unix/sysv/linux/m68k/chown.c: New file.
* sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
* sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
* sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
Based on a patch by Chris Wing <wingc@engin.umich.edu>.

2000-01-14  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.

2000-01-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/backtrace.c: Include signal.h which
sigcontextinfo.h headers are used to expect.
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
(register_dump): Fix a typo in the printout.
Avoid using reg_window, so that asm/ptrace.h is not necessary.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
(ADVANCE_STACK_FRAME): Likewise.

* stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
* sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
* sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.

* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
to make it clear this file depends on __WORDSIZE.
* sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
Renamed from have_no_truncate64.
* sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Jan 2000 04:00:04 +0000 (04:00 +0000)]
Update.

* Makeconfig (rpath-dirs): Remove db2.
(dbojdir): Remove variable.

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Jan 2000 01:57:24 +0000 (01:57 +0000)]
Update.

2000-01-16  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/locfile.h (handle_copy): Take repertoire map
name as parameter, not pointer to repertoire structure.
* locale/programs/ld-address.c: Change caller.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Jan 2000 01:51:28 +0000 (01:51 +0000)]
Update.

2000-01-13  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
mmap2 is available when compiling but no at runtime.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Jan 2000 06:55:03 +0000 (06:55 +0000)]
Update.

* iconvdata/iso-ir-165.c: New file.
* iconvdata/iso-ir-165.h: New file.
* iconvdata/Makefile: Add rules to build libISOIR165.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Jan 2000 12:08:13 +0000 (12:08 +0000)]
Update.

* Makefile (install): Correct passing -r parameter to ldconfig.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Jan 2000 11:39:14 +0000 (11:39 +0000)]
Update.

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

* iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
Reported by Bruno Haible <haible@ilog.fr>.

2000-01-11  Andreas Schwab  <schwab@suse.de>

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

2000-01-10  Thorsten Kukuk  <kukuk@suse.de>

* nss/getent.c: Add ipv6 support for hosts.

2000-01-05  Philip Blundell  <pb@futuretv.com>

* sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
oldsetrlimit.
* sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.

* sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
(sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
[subdir=misc] (sysdep_headers): Add sys/elf.h.

2000-01-09  Andreas Jaeger  <aj@suse.de>

* manual/install.texi (Tools for Compilation): Update required
compiler version.
(Configuring and compiling): Restore old comments about
configparms; modify to reflect current usage.

2000-01-09  Philip Blundell  <philb@gnu.org>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
resolution if the hints included AI_NUMERICHOST.

24 years ago(Tools for Compilation): Update required compiler version. (Configuring and compiling...
Ulrich Drepper [Wed, 12 Jan 2000 10:19:48 +0000 (10:19 +0000)]
(Tools for Compilation): Update required compiler version. (Configuring and compiling): Restore old comments about configparms; modify to reflect current usage.

24 years agoUpdate.
Andreas Jaeger [Tue, 11 Jan 2000 18:08:42 +0000 (18:08 +0000)]
Update.

* sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.

24 years agoUpdate.
Andreas Jaeger [Tue, 11 Jan 2000 17:13:22 +0000 (17:13 +0000)]
Update.

2000-01-11  Andreas Schwab  <schwab@suse.de>

* sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
infinite loop to avoid pulling in stdio in the dynamic linker.

24 years agoUpdate.
Andreas Jaeger [Mon, 10 Jan 2000 17:35:32 +0000 (17:35 +0000)]
Update.

* sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
EM_MIPS_RS3_LE.
* sysdeps/mips/mips64/dl-machine.h: Likewise.

24 years agoUpdate.
Andreas Jaeger [Mon, 10 Jan 2000 14:28:21 +0000 (14:28 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
gregset_t, fpregset_t, and NGREG definitions.

24 years agoupdate
Andreas Jaeger [Mon, 10 Jan 2000 12:34:50 +0000 (12:34 +0000)]
update

* sysdeps/mips/Implies: Add wordsize-32.

24 years agoUpdate.
Andreas Jaeger [Mon, 10 Jan 2000 11:46:03 +0000 (11:46 +0000)]
Update.

2000-01-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
int's.

* sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
missing int's.

* sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.

24 years ago2000-01-10 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Mon, 10 Jan 2000 11:44:24 +0000 (11:44 +0000)]
2000-01-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
int's.

* sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
missing int's.

* sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Jan 2000 01:43:43 +0000 (01:43 +0000)]
Update.

2000-01-09  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
(dl_platform_init): Allow _dl_platform to be NULL.

* sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
last change.

24 years agoUpdate.
Ulrich Drepper [Sat, 8 Jan 2000 10:13:33 +0000 (10:13 +0000)]
Update.

2000-01-08  Ulrich Drepper  <drepper@cygnus.com>

* nscd/connections.c (handle_request): Handle systems without
SO_PEERCRED.
(nscd_run): Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 8 Jan 2000 05:28:22 +0000 (05:28 +0000)]
Update.

2000-01-07  Andreas Jaeger  <aj@suse.de>

Add support for Berkeley db 3.0.x and merge db support:
* nss/nss_db/dummy-db.h (struct db30): New.
(struct dbc30): New.
Added DB30* flags.

* nss/makedb.c: Move all database routines to db-open.c.
(main): Adjust to interface changes.
Load database early to initialize version dependend variables.

* nss/db-open.c: Merge database routines from makedb.c.
Define version dependend constansts as variables.
(load_db): Check also for db 3.
(internal_setent): Call dbopen.
(db_cursor): New function from makedb; handles db 3 now.
(dbopen): New function from makedb; handles db 3.

* nss/nss_db/db-XXX.c: Use db_notfound since the value is
different in different DB versions.

* nss/nss_db/nss_db.h: Add version dependend constants as
variables, add exportet interfaces from db-open.c.

* nss/Makefile ($(objpfx)makedb): Link against db-open.

2000-01-07  Ulrich Drepper  <drepper@cygnus.com>

* misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
Reported by Jim Meyering.

* time/strftime.c: Pretty printing.

2000-01-07  Andreas Jaeger  <aj@suse.de>

* manual/socket.texi (Host Names): Fix example.
Reported by Marco Budde <budde@telos.de>.

24 years agoUpdate.
Ulrich Drepper [Sat, 8 Jan 2000 04:46:10 +0000 (04:46 +0000)]
Update.

2000-01-06  Ulrich Drepper  <drepper@cygnus.com>

* localedata/Makefile (install-locales): Create locale directory
if it does not exist.

* locale/programs/charmap.c (charmap_read): Call lr_open here and
not in parse_charmap.  Try also the directories on the I18NPATH.
(parse_charmap): Change accordingly.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jan 2000 04:37:59 +0000 (04:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
and oldsetrlimit64.c.

* sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
sys/procfs.h.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jan 2000 01:41:49 +0000 (01:41 +0000)]
Update.

* manual/texinfo.tex: Updated from latest official version.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jan 2000 00:33:56 +0000 (00:33 +0000)]
Update.

2000-01-05  Ulrich Drepper  <drepper@cygnus.com>

* debug/Makefile (distribute): Add frame.h.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jan 2000 00:10:15 +0000 (00:10 +0000)]
Update.

2000-01-05  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/frame.h: New file.
* sysdeps/generic/frame.h: Likewise.
* sysdeps/generic/segfault.c (struct layout): Delete definition;
include the above file instead.
* sysdeps/generic/backtrace.c (struct layout): Likewise.
(__backtrace): Use ADVANCE_STACK_FRAME.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
(ADVANCE_STACK_FRAME): New macro.
(GET_FRAME): Apply above to returned value.

* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 21:32:20 +0000 (21:32 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 20:49:52 +0000 (20:49 +0000)]
Update.

* io/ftw.c (process_entry): Cache object dev/inode only for
directories (PR libc/1514).

2000-01-05  Andreas Schwab  <schwab@suse.de>

* locale/programs/charmap.c (charmap_read): Fix typo.

2000-01-05  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/charset.c: Removed.