platform/upstream/glibc.git
24 years ago(inet_network): Add missing part of last patch.
Ulrich Drepper [Sat, 12 Feb 2000 07:38:04 +0000 (07:38 +0000)]
(inet_network): Add missing part of last patch.

24 years agoUpdate.
Ulrich Drepper [Sat, 12 Feb 2000 01:13:47 +0000 (01:13 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 22:47:21 +0000 (22:47 +0000)]
Update.

2000-02-11  Ulrich Drepper  <drepper@redhat.com>

* locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
alias for CURRENCY_SYMBOL.
* locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
information.  [PR libc/1583].

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 22:11:40 +0000 (22:11 +0000)]
Update.

2000-02-08  Shinya Hanataka  <hanataka@abyss.rim.or.jp>

* locale/weightwc.h: Fix problem with collating-element.

* locale/programs/ld-collate.c (collate_finish): Output wide
character collating-symbol, which has no wide strings.

* locale/programs/ld-collate.c (collate_output): Fix problem with
wide character collating-element.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 21:04:20 +0000 (21:04 +0000)]
Update.

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

* time/strptime.c (strptime_internal): Fix pointer dereference.
Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
libc/1591.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 21:01:13 +0000 (21:01 +0000)]
Update.

2000-02-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
* sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
* sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
* sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
and oldshmctl to sysdep-routines.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 20:49:55 +0000 (20:49 +0000)]
Update.

2000-02-08  Andreas Jaeger  <aj@suse.de>

* locale/programs/locale.c (write_locales): Fix handling of
whitespace lines.
Fixes PR libc/1588, reported by Miroslav Holcak
<miroslav.holcak@vitkovice.cz>.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 20:45:12 +0000 (20:45 +0000)]
Update.

2000-02-07  Thorsten Kukuk  <kukuk@suse.de>

* config.make.in: Add infodir.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
header files.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 20:38:45 +0000 (20:38 +0000)]
Update.

* posix/getopt.c: Suppress messages if first character of
optstring is a colon (PR libc/1584).

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 20:22:22 +0000 (20:22 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
and elf_* types to interpret values passed up from the kernel.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 20:15:01 +0000 (20:15 +0000)]
Update.

* manual/locale.texi: Update to reflect change.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 20:12:40 +0000 (20:12 +0000)]
Update.

2000-02-11  Ulrich Drepper  <drepper@redhat.com>

* locale/nl_langinfo.c: Correct return value in error case.  Don't
set errno (PR libc/1582).

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 19:48:04 +0000 (19:48 +0000)]
Update.

2000-02-02  Andreas Schwab  <schwab@suse.de>

* malloc/Makefile (distribute): Add memprof.h.
* malloc/memprof.c: Move definition of GETSP and GETTIME to new
header memprof.h.
* sysdeps/generic/memprof.h: New file.
* sysdeps/alpha/memprof.h: New file.
* sysdeps/i386/memprof.h: New file.
* sysdeps/m68k/memprof.h: New file.
* sysdeps/mips/memprof.h: New file.
* sysdeps/powerpc/memprof.h: New file.
* sysdeps/sparc/memprof.h: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 19:44:58 +0000 (19:44 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/getresgid.c: Move...
* sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
(getresgid): Use getresgid32 if __libc_missing_32bit_uids
is -1 or 0.
* sysdeps/unix/sysv/linux/getresuid.c: Move...
* sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
(getresuid): Use getresuid32 if __libc_missing_32bit_uids
is -1 or 0.
* sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
__libc_missing_32bit_uids.
(__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
-1 or 0.
* sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
* sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
* sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
* sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
* sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
* sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
* sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
* sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
* sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
* sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
* sysdeps/unix/sysv/linux/arm/semctl.c: New file.
* sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
* sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
* sysdeps/unix/sysv/linux/i386/semctl.c: New file.
* sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
* sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
* sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
* sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
* sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
* sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
* sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
Make syscall directly, no stubs needed.
(getresgid): Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
Likewise.
(getresgid): Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 19:24:43 +0000 (19:24 +0000)]
Update.

* iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
Reported by Bruno Haible <haible@ilog.fr>.

24 years agoUpdate.
Ulrich Drepper [Fri, 11 Feb 2000 18:50:36 +0000 (18:50 +0000)]
Update.

2000-02-11  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf-parse.h (parse_one_spec): Set wide elements.

* stdio-common/printf_fp.c: Truely support wide characater output.
Finally handle decimal points and thousands separator characters
correctly for multibyte output.
* stdio-common/printf_size.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
* sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.

* stdio-common/vfscanf.c: Implement I modifier for numbers to read
locale dependent digits.

* locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
decimal point and thousands separator values to wide characters from
wide character strings.
* locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.

* locale/indigitswc.h: Dereference wcdigits array elements.

2000-02-03  Jakub Jelinek  <jakub@redhat.com>

* stdlib/canonicalize.c (canonicalize): Zero terminate
path to copy on error.

2000-02-01  Cristian Gafton  <gafton@redhat.com>

* misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.

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

* sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.

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

* intl/Makefile (generated): msgs.h is generated.

* localedata/Makefile (generated-dirs): Add de_DE.437.

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

* config.make.in: Allow default localedir to come from configure.
* configure.in: Export libc_cv_localedir.
* sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
stuff into $exec_prefix/lib/locale because it can be shared between
32bit and 64bit libraries.
* configure: Rebuilt.
* sysdeps/unix/sysv/linux/configure: Rebuilt.

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

* inet/tst-network.c: New file.
* inet/Makefile (tests): Add tst-network.

* inet/inet_net.c (inet_network): Don't overwrite memory or allow
to great last digits.

24 years agoUpdate.
Ulrich Drepper [Thu, 10 Feb 2000 16:29:01 +0000 (16:29 +0000)]
Update.

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

* inet/inet_net.c (inet_network): Synch with bind 8.2.2.  Fixes PR
libc/1567.

24 years agoUpdate.
Andreas Jaeger [Thu, 10 Feb 2000 11:10:03 +0000 (11:10 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.

24 years agoUpdate.
Andreas Jaeger [Wed, 9 Feb 2000 14:59:31 +0000 (14:59 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.

* sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.

24 years agoUpdate.
Andreas Jaeger [Tue, 8 Feb 2000 17:27:54 +0000 (17:27 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.

Make it compile.

24 years agoUpdate.
Andreas Jaeger [Tue, 8 Feb 2000 16:36:52 +0000 (16:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
Fix usage of macro ADD_STRING.

24 years agoUpdate.
Andreas Jaeger [Tue, 8 Feb 2000 13:42:05 +0000 (13:42 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
c_ispeed and c_ospeed which are not implemented.

24 years agoUpdate.
Andreas Jaeger [Tue, 8 Feb 2000 09:46:57 +0000 (09:46 +0000)]
Update.

2000-02-08  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.

24 years agoUpdate.
Andreas Jaeger [Sat, 5 Feb 2000 07:46:32 +0000 (07:46 +0000)]
Update.

2000-02-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
work - set to 4 in accordance with changes made in the Linux/MIPS
kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
actually work.

24 years agoUpdate.
Andreas Jaeger [Fri, 4 Feb 2000 16:39:28 +0000 (16:39 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
the defines.

24 years agoUpdate.
Andreas Jaeger [Thu, 3 Feb 2000 15:04:24 +0000 (15:04 +0000)]
Update.

* sysdeps/mips/abort-instr.h: New file.

24 years agoUpdate.
Andreas Jaeger [Thu, 3 Feb 2000 14:13:18 +0000 (14:13 +0000)]
Update.

2000-02-03  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.

* sysdeps/unix/sysv/linux/mips/register-dump.h: New file.

* sysdeps/mips/stackinfo.h: New file.

24 years agoUpdate.
Andreas Jaeger [Tue, 1 Feb 2000 16:51:26 +0000 (16:51 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.

24 years agoUpdate.
Andreas Jaeger [Tue, 1 Feb 2000 13:40:47 +0000 (13:40 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
generic function.
* sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.

24 years agoUpdate.
Andreas Jaeger [Tue, 1 Feb 2000 11:55:32 +0000 (11:55 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
Baechle <ralf@gnu.org>.

* sysdeps/unix/sysv/linux/mips/brk.c: New file.

24 years agoUpdate.
Andreas Jaeger [Tue, 1 Feb 2000 11:20:58 +0000 (11:20 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.

24 years agoUpdate.
Andreas Jaeger [Tue, 1 Feb 2000 08:28:48 +0000 (08:28 +0000)]
Update.

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

* sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.

24 years ago2000-02-01 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Tue, 1 Feb 2000 08:28:15 +0000 (08:28 +0000)]
2000-02-01  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.

24 years ago(inet_network): Synch with bind 8.2.2.
Ulrich Drepper [Mon, 31 Jan 2000 08:22:01 +0000 (08:22 +0000)]
(inet_network): Synch with bind 8.2.2.

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.