platform/upstream/glibc.git
24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 17:20:28 +0000 (17:20 +0000)]
Update.

2000-06-07  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/charmap.c: Allow string arguments for
code_set_name and repertoiremap.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 16:53:48 +0000 (16:53 +0000)]
Update.

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

* elf/Makefile: Build ldconfig only when building shared libraries.

2000-06-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
__USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 7 Jun 2000 16:36:48 +0000 (16:36 +0000)]
Update.

2000-06-07  Ulrich Drepper  <drepper@redhat.com>

* locale/findlocale.c: Add __builtin_expect in many places.
* locale/loadlocale.c: Likewise.

24 years agoAdd __builtin_expect in many places.
Ulrich Drepper [Wed, 7 Jun 2000 16:35:57 +0000 (16:35 +0000)]
Add __builtin_expect in many places.

24 years ago* sysdeps/mips/elf/start.S: Trim redundant code.
Greg McGary [Wed, 7 Jun 2000 00:30:05 +0000 (00:30 +0000)]
* sysdeps/mips/elf/start.S: Trim redundant code.

* sysdeps/mips/elf/start.S: Trim redundant code.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 22:59:19 +0000 (22:59 +0000)]
Update.

* iconvdata/utf-16.c: Add __builtin_expect in many places.
* iconvdata/unicode.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.

24 years agoAdd __builtin_expect in many places.
Ulrich Drepper [Tue, 6 Jun 2000 22:58:45 +0000 (22:58 +0000)]
Add __builtin_expect in many places.

24 years ago* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Greg McGary [Tue, 6 Jun 2000 22:37:40 +0000 (22:37 +0000)]
* sysdeps/powerpc/memset.S: Define & use symbolic register names.

Use C comments throughout.  Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Use C comments throughout.  Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.

24 years agoAdd __builtin_expect in many places.
Ulrich Drepper [Tue, 6 Jun 2000 21:35:37 +0000 (21:35 +0000)]
Add __builtin_expect in many places.

24 years ago* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
Greg McGary [Tue, 6 Jun 2000 19:20:57 +0000 (19:20 +0000)]
* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:

Get low part of &__curbrk with @l.
2000-06-06  Greg McGary  <greg@mcgary.org>

* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
Get low part of &__curbrk with @l.

24 years agoFix typo.
Ulrich Drepper [Tue, 6 Jun 2000 16:59:49 +0000 (16:59 +0000)]
Fix typo.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 16:53:06 +0000 (16:53 +0000)]
Update.

2000-06-06  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/iso-2022-kr.c: Add __builtin_expect in many places.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-cn.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 06:49:00 +0000 (06:49 +0000)]
Update.

* iconvdata/big5hkscs.c: Add __builtin_expect in many places.
* iconvdata/big5.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/8bit-gap.c: Likewise.
* iconv/loop.c: Likewise.
* iconv/gconv_db.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_simple.c: Likewise.
* iconv/skeleton.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 05:02:18 +0000 (05:02 +0000)]
Update.

* iconv/gconv_dl.c: Add __builtin_expect in many places.
* iconv/skeleton.c: Add more __builtin_expect.
* iconv/gconv_simple.c: Add __builtin_expect in many places.

24 years agoUpdate.
Ulrich Drepper [Tue, 6 Jun 2000 03:16:30 +0000 (03:16 +0000)]
Update.

* iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
(struct __gconv_step_data): Rename __is_last to __flags.
* iconv/gconv_close.c: Change all uses of __is_last.
* iconv/skeleton.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconv/gconv_open.c: Likewise.  Avoid unneeded initializations.
Recognize IGNORE error handling, set flag, and remove from name.
* iconv/loop.c (ignore_errors_p): Define.
Add flags parameter to both functions.
* iconv/skeleton.c: Pass flags to all conversion functions.
* iconv/gconv_simple.c: Add flags parameter to all functions.
Don't return error for invald error if ignore flag is set.
(ucs4_internal_loop_single): Add missing pointer increment.
(internal_ucs4le_loop_single): Likewise.
* iconv/iconv_prog.c: Implement handling of -c parameter.
* iconvdata/8bit-gap.c: Don't return error for invald error if
ignore flag is set.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/big5hkscs.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.
* libio/fileops.c: Likewise.
* libio/iofwide.c: Likewise.
* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.

* iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of

24 years agoUpdate.
Ulrich Drepper [Mon, 5 Jun 2000 22:45:16 +0000 (22:45 +0000)]
Update.

2000-06-05  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s in all cases of
an error.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 21:26:12 +0000 (21:26 +0000)]
Update.

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

* iconv/gconv_dl.c (do_release_shlib): Don't reset reference
counter for the object we are releasing, just decrement it.
Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:39:33 +0000 (16:39 +0000)]
Update.

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

* sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
if -ffast-math.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:28:02 +0000 (16:28 +0000)]
Update.

* iconvdata/Makefile (modules): Add BIG5HKSCS.
(distribute): Add big5hkscs.c.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:25:27 +0000 (16:25 +0000)]
Update.

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

* iconvdata/big5hkscs.c: New file.
Modified from big5.c by Roger So <rogerso@sis.dhs.org>.

* iconvdata/gconv-modules: Add entry for new module.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 16:11:43 +0000 (16:11 +0000)]
Update.

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

* libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
inlines to match prototypes in mathcalls.h.
* libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.

* sysdeps/powerpc/dl-start.S: Close open comment.

24 years agoUpdate.
Ulrich Drepper [Sun, 4 Jun 2000 03:07:32 +0000 (03:07 +0000)]
Update.

* elf/elf.h (SHT_SUNW_move): Define.

24 years agoUpdate.
Ulrich Drepper [Sat, 3 Jun 2000 22:33:49 +0000 (22:33 +0000)]
Update.

2000-06-03  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Add more Solaris compatiblity definitions.

24 years agoAdd more Solaris compatiblity definitions.
Ulrich Drepper [Sat, 3 Jun 2000 22:31:45 +0000 (22:31 +0000)]
Add more Solaris compatiblity definitions.

24 years agoUpdate.
Andreas Jaeger [Sat, 3 Jun 2000 08:16:58 +0000 (08:16 +0000)]
Update.

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

  * sysdeps/powerpc/dl-start.S: Close open comment.

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

* inet/Versions: Fix typo in rresvport_af export.

24 years ago* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
Andreas Jaeger [Sat, 3 Jun 2000 08:12:26 +0000 (08:12 +0000)]
* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.

* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New.
* sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks.
2000-06-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks.
* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New.
* sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks.

24 years ago * inet/Versions: Fix typo in rresvport_af export.
Andreas Jaeger [Sat, 3 Jun 2000 08:08:21 +0000 (08:08 +0000)]
    * inet/Versions: Fix typo in rresvport_af export.

24 years agoUpdate.
Ulrich Drepper [Sat, 3 Jun 2000 00:58:47 +0000 (00:58 +0000)]
Update.

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

* math/tgmath.h: Pretty print.

24 years agoPretty print.
Ulrich Drepper [Sat, 3 Jun 2000 00:58:24 +0000 (00:58 +0000)]
Pretty print.

24 years agoUpdate.
Andreas Jaeger [Fri, 2 Jun 2000 13:10:59 +0000 (13:10 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years ago* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Andreas Jaeger [Fri, 2 Jun 2000 13:10:38 +0000 (13:10 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.

Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years agoUpdate.
Ulrich Drepper [Fri, 2 Jun 2000 07:30:28 +0000 (07:30 +0000)]
Update.

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

* elf/rtld.c (process_envvars): Test for = after variable name.

24 years agoUpdate.
Ulrich Drepper [Fri, 2 Jun 2000 01:19:56 +0000 (01:19 +0000)]
Update.

* sysdeps/generic/initfini.c (_init): One less relocation.  Don't
have extra call to __gmon_start__, use the pointer we already have.

24 years agoUpdate.
Ulrich Drepper [Fri, 2 Jun 2000 00:27:08 +0000 (00:27 +0000)]
Update.

* elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
shifting.

24 years agoUpdate.
Ulrich Drepper [Thu, 1 Jun 2000 07:14:15 +0000 (07:14 +0000)]
Update.

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

* sysdeps/i386/elf/setjmp.S: Work around change is recent
binutils.  gas now emits a jump through the PLT instead of a
relative jump if the jump target is an exported symbol.

24 years agoUpdate.
Ulrich Drepper [Wed, 31 May 2000 18:12:15 +0000 (18:12 +0000)]
Update.

2000-05-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.

24 years agoDefine AIX_CBAUD.
Ulrich Drepper [Wed, 31 May 2000 18:12:09 +0000 (18:12 +0000)]
Define AIX_CBAUD.

24 years ago* sysdeps/mips/pspinlock.c: Implement spinlocks.
Andreas Jaeger [Wed, 31 May 2000 12:21:21 +0000 (12:21 +0000)]
* sysdeps/mips/pspinlock.c: Implement spinlocks.

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

* sysdeps/mips/pspinlock.c: Implement spinlocks.

24 years agoUpdate.
Andreas Jaeger [Wed, 31 May 2000 12:04:03 +0000 (12:04 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
gregset_t.

* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years ago* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
Andreas Jaeger [Wed, 31 May 2000 12:00:45 +0000 (12:00 +0000)]
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of

syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 23:45:22 +0000 (23:45 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 20:37:26 +0000 (20:37 +0000)]
Update.

* locale/Versions [libc] (GLIBC_2.2): Add localeconv.
* locale/localeconv.c: Make function versioned (with same definition).

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 20:09:44 +0000 (20:09 +0000)]
Update.

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

* elf/Makefile (modules-names): Strip before using it.

24 years ago(modules-names): Strip before using it.
Ulrich Drepper [Tue, 30 May 2000 20:07:32 +0000 (20:07 +0000)]
(modules-names): Strip before using it.

24 years agoUpdate.
Andreas Jaeger [Tue, 30 May 2000 12:50:54 +0000 (12:50 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
* sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.

24 years agoUpdate.
Andreas Jaeger [Tue, 30 May 2000 06:57:03 +0000 (06:57 +0000)]
Update.

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

* elf/readlib.c (interpreters): Use LD_SO since this is supported
for all platforms.

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 05:15:47 +0000 (05:15 +0000)]
Update.

24 years agoUpdate.
Ulrich Drepper [Tue, 30 May 2000 04:00:03 +0000 (04:00 +0000)]
Update.

* Makefile: Add GNU make magic.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 May 2000 18:04:55 +0000 (18:04 +0000)]
Update.

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

* inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
Removed.
* inet/rcmd.c: Remove __P.  Remove unused variables.
(iruserfopen): Make first parameter const.
(ruserok_sa): Return result of ruserok2_sa.
(__checkhost_sa): Correctly iterate through results of getaddrinfo.
* inet/rexec.c: Remove unused variables.  Other small cleanups.
* inet/ruserpass.c: Remove __P.  Remove unused variables.
(ruserpass): Check results of memory allocation.
* include/netdb.h: Add prototype for ruserpass.

24 years ago(CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): Removed.
Ulrich Drepper [Mon, 29 May 2000 17:59:46 +0000 (17:59 +0000)]
(CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c): Removed.

24 years ago* elf/readlib.c (interpreters): Use LD_SO since this is supported
Andreas Jaeger [Mon, 29 May 2000 17:19:36 +0000 (17:19 +0000)]
* elf/readlib.c (interpreters): Use LD_SO since this is supported

for all platforms.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 May 2000 17:17:31 +0000 (17:17 +0000)]
Update.

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

* inet/rcmd.c (rresvport_af): Use correct port number.

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

* Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
entries in all-sonames.
($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
preserving the old name if different for compatibility.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 May 2000 07:31:53 +0000 (07:31 +0000)]
Update.

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

* posix/Makefile (tests): Add tst-spawn.
(tst-spawn-ARGS): New variable.
* posix/tst-spawn.c: New file.

* posix/spawn_faction_addclose.c: Correctly account for new entry.
* posix/spawn_faction_adddup2.c: Likewise.
* posix/spawn_faction_addopen.c: Likewise.
* posix/spawni.c: Correctly test for success of dup2 calls.

* posix/tst-preadwrite.c: Check success of malloc call.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 May 2000 04:40:43 +0000 (04:40 +0000)]
Update.

* posix/Makefile (tests): Add tst-exec.
(tst-exec-ARGS): New variable.
* posix/tst-exec.c: New file.

* posix/tst-fork.c: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 29 May 2000 01:00:03 +0000 (01:00 +0000)]
Update.

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

* sysdeps/arm/atomicity.h (compare_and_swap): Return result.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 22:53:25 +0000 (22:53 +0000)]
Update.

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

* string/string.h: Remove __strdup prototype, it's not needed in
this file anymore.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 22:14:55 +0000 (22:14 +0000)]
Update.

* posix/Makefile (tests): Add tst-fork.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 19:32:08 +0000 (19:32 +0000)]
Update.

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

* resolv/inet_pton.c: Loose __P.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 18:36:00 +0000 (18:36 +0000)]
Update.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 18:32:20 +0000 (18:32 +0000)]
Update.

2000-05-21  Jakub Jelinek  <jakub@redhat.com>

* libio/libioP.h (_IO_CHECK_WIDE): Define.
* libio/iosetbuffer.c (_IO_setbuffer): Use it.
Call _IO_WSETBUF even for _mode 1.
* libio/iosetvbuf.c (_IO_setvbuf): Likewise.
* libio/fileops.c (_IO_new_file_fopen): Return NULL if
_IO_CHECK_WIDE fails.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 16:44:57 +0000 (16:44 +0000)]
Update.

* po/da.po: New file.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 16:42:45 +0000 (16:42 +0000)]
Update.

* manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
(Other iconv Implementations): Fix typo.
Patch by Martin Pool <mbp@wistful.humbug.org.au>.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 16:31:09 +0000 (16:31 +0000)]
Update.

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

* manual/arith.texi (Rounding Functions): Fix documentation of trunc.
Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.

24 years agoUpdate.
Ulrich Drepper [Sun, 28 May 2000 07:07:05 +0000 (07:07 +0000)]
Update.

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

* locales/be_BY: New file.
Contributed by Aleksey Novodvorsky <aen@logic.ru>.

24 years agoBelarusian Language Locale for Belarus.
Ulrich Drepper [Sun, 28 May 2000 07:06:29 +0000 (07:06 +0000)]
Belarusian Language Locale for Belarus.

24 years agoUpdate.
Andreas Jaeger [Sat, 27 May 2000 16:51:52 +0000 (16:51 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
normal version now.
* sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.

* sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
endianness to decide how to pass arguments.
* sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.

* elf/vismain.c: Use test-skeleton interface.
(TEST_FUNCTION): New macro.
(do_test): Renamed from main.

24 years ago * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the norma...
Andreas Jaeger [Sat, 27 May 2000 16:48:06 +0000 (16:48 +0000)]
    * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the         normal version now.         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 27 May 2000 08:17:05 +0000 (08:17 +0000)]
Update.

2000-05-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.

* nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
handling of AI_V4MAPPED flag.

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
perform lookup for T_A type and tell getanswer_r to convert the
result with new argument.
(_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
Don't convert addresses from IPv4 to IPv6 here.
(getanswer_r): Take new parameter indicating if mapping from IPv4 to
IPv6 is wanted.  Allow qtype and type from reply to disagree if
IPv4 mapping has to be done.  Perform mappings if required by the
caller and not if RES_USE_INET6 bit in _res.options is set.
Add several __builtin_expect.

24 years ago(gaih_inet): If req->ai_family == AF_UNSPEC don't allow the IPv6 lookup to return...
Ulrich Drepper [Sat, 27 May 2000 08:09:40 +0000 (08:09 +0000)]
(gaih_inet): If req->ai_family == AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.

24 years agoUpdate.
Andreas Jaeger [Sat, 27 May 2000 06:56:36 +0000 (06:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
of arguments dependend on endianness.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 27 May 2000 06:18:49 +0000 (06:18 +0000)]
Update.

* catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.

* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==

24 years agoUpdate.
Ulrich Drepper [Sat, 27 May 2000 05:32:14 +0000 (05:32 +0000)]
Update.

* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs of loader ==
NULL.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 May 2000 20:49:00 +0000 (20:49 +0000)]
Update.

* posix/tst-preadwrite.c: Allow parallel execution of
tst-preadwrite and tst-preadwrite64.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 May 2000 20:31:12 +0000 (20:31 +0000)]
Update.

* posix/Makefile (tests): Add tst-truncate and tst-truncate64.
* posix/tst-truncate.c: New file.
* posix/tst-truncate64.c: New file.

24 years agoTest for truncate and ftruncate.
Ulrich Drepper [Fri, 26 May 2000 20:30:20 +0000 (20:30 +0000)]
Test for truncate and ftruncate.

24 years ago* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
Andreas Jaeger [Fri, 26 May 2000 20:11:43 +0000 (20:11 +0000)]
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order

of arguments dependend on endianness.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 May 2000 19:55:51 +0000 (19:55 +0000)]
Update.

* sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
was switched.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 May 2000 19:51:15 +0000 (19:51 +0000)]
Update.

* posix/Makefile (tests): Add tst-preadwrite64.

24 years agoUpdate.
Ulrich Drepper [Fri, 26 May 2000 19:49:46 +0000 (19:49 +0000)]
Update.

2000-05-26  Ulrich Drepper  <drepper@redhat.com>

* posix/tst-preadwrite.c: Alloc file being used also for testing
pread64 and pwrite64.
* posix/tst-preadwrite64.c: New file.

24 years agoTest for pread64 and pwrite64.
Ulrich Drepper [Fri, 26 May 2000 19:48:39 +0000 (19:48 +0000)]
Test for pread64 and pwrite64.

24 years agoUpdate.
Andreas Jaeger [Fri, 26 May 2000 15:46:14 +0000 (15:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
normal version now.
* sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.

* sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
endianness to check how to pass argument.
* sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.

24 years agoUpdate.
Andreas Jaeger [Fri, 26 May 2000 10:23:45 +0000 (10:23 +0000)]
Update.

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

* elf/ldconfig.h: Update parameter list for process_elf_file.

* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
Add parameter file_length and pass it ot process_elf*file.

* sysdeps/generic/readelflib.c (check_ptr): New.
(process_elf_file): Use check_ptr to check all accesses to the
mmapped file. Add parameter file_length.

* elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
library names.

* sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
Closes PR libc/1573, reported by Bradley White
<bww@laurelnetworks.com>.

24 years agoUpdate.
Andreas Jaeger [Fri, 26 May 2000 09:16:40 +0000 (09:16 +0000)]
Update.

24 years agoUpdate.
Ulrich Drepper [Thu, 25 May 2000 19:10:22 +0000 (19:10 +0000)]
Update.

2000-05-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
__FAST_MATH__ is defined.

24 years agoUpdate.
Ulrich Drepper [Thu, 25 May 2000 06:27:20 +0000 (06:27 +0000)]
Update.

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

* math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.

* manual/math.texi (FP Function Optimizations): Document gcc
-ffast-math behaviour with mathinlines.

* sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
functions unless -ffast-math is given to gcc.

24 years agoUpdate.
Ulrich Drepper [Thu, 25 May 2000 06:15:25 +0000 (06:15 +0000)]
Update.

2000-05-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
__sincosl): Guard with __USE_GNU.

24 years agoUpdate.
Ulrich Drepper [Thu, 25 May 2000 05:02:35 +0000 (05:02 +0000)]
Update.

* csu/Makefile (routines): Add check_fds.
* elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
binaries.  Add various __builtin_expect.
* sysdeps/generic/libc-start.c: Move check_fds and helper functions...
* sysdeps/generic/check_fds.c: ...here.  New file.

* malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
binaries if file /etc/suid-debug is available.

24 years agoUpdate.
Ulrich Drepper [Wed, 24 May 2000 20:22:51 +0000 (20:22 +0000)]
Update.

2000-05-24  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate.c (struct element_t): Add mbseqorder
and wcseqorder members.
(struct locale_collate_t): Likewise.
(collate_finish): Assign collation sequence value to each character.
Create tables for output.
(collate_output): Write out tables with collation sequence information.
* locale/C-collate.c: Provide C locale data for collation sequence
table.
* locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
_NL_COLLATE_COLLSEQWC.
* locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
_NL_COLLATE_COLLSEQWC.
* posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
include fnmatch_loop.c.
* posix/fnmatch_loop.c: Don't use strcoll while determining whether
character is matched by range expression.  Use collation sequence
table.  Outside glibc fall back on simple character value comparison.

24 years ago(struct element_t): Add mbseqorder and wcseqorder members. (struct locale_collate_t...
Ulrich Drepper [Wed, 24 May 2000 20:04:34 +0000 (20:04 +0000)]
(struct element_t): Add mbseqorder and wcseqorder members. (struct locale_collate_t): Likewise. (collate_finish): Assign collation sequence value to each character. Create tables for output. (collate_output): Write out tables with collation sequence information

24 years agoUpdate.
Andreas Jaeger [Wed, 24 May 2000 16:16:53 +0000 (16:16 +0000)]
Update.

* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
words.

24 years agoUpdate.
Andreas Jaeger [Wed, 24 May 2000 15:33:21 +0000 (15:33 +0000)]
Update.

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
Define it for newer kernels.

24 years agoUpdate.
Andreas Jaeger [Wed, 24 May 2000 09:31:51 +0000 (09:31 +0000)]
Update.

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

* intl/Makefile: Run gettext-test only if msgfmt is available.

24 years ago* intl/Makefile: Run gettext-test only if msgfmt is available.
Andreas Jaeger [Wed, 24 May 2000 09:31:17 +0000 (09:31 +0000)]
* intl/Makefile: Run gettext-test only if msgfmt is available.

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

* elf/dl-sym.c: Minor cleanups.

24 years agoUpdate.
Ulrich Drepper [Tue, 23 May 2000 19:23:25 +0000 (19:23 +0000)]
Update.

* configure.in: Add test for .protected.
* config.make.in: Add have-protected variable.

24 years agoUpdate.
Ulrich Drepper [Tue, 23 May 2000 18:12:52 +0000 (18:12 +0000)]
Update.

2000-05-23  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
(tests-vis-yes): Add vismain.
(modules-names): Add $(modules-vis-$(have-protected)).
(modules-vis-yes): Add vismod1, vismod2, and vismod3.
Add rules to generate and run vismain.
* elf/vismain.c: New file.
* elf/vismod1.c: New file.
* elf/vismod2.c: New file.
* elf/vismod3.c: New file.

24 years ago(tests): Add $(tests-vis-$(have-protected)). (tests-vis-yes): Add vismain. (modules...
Ulrich Drepper [Tue, 23 May 2000 18:10:54 +0000 (18:10 +0000)]
(tests): Add $(tests-vis-$(have-protected)). (tests-vis-yes): Add vismain. (modules-names): Add $(modules-vis-$(have-protected)). (modules-vis-yes): Add vismod1, vismod2, and vismod3. Add rules to generate and run vismain.

24 years agoRemove K&R support.
Andreas Jaeger [Tue, 23 May 2000 09:07:17 +0000 (09:07 +0000)]
Remove K&R support.

24 years agoUpdate.
Andreas Jaeger [Tue, 23 May 2000 08:43:26 +0000 (08:43 +0000)]
Update.

* csu/munch-tmpl.c (__libc_init): Remove K&R support.
* dirent/scandir64.c: Likewise.
* pwd/getpw.c: Likewise.
* stdlib/bsearch.c (bsearch): Likewise.
* stdlib/tst-strtoll.c: Likewise.
* localedata/collate-test.c: Likewise.
* localedata/xfrm-test.c: Likewise.
* posix/bsd-getpgrp.c: Likewise.
* sysdeps/alpha/fpu/bits/fenv.h: Likewise.
* sysdeps/generic/bits/siginfo.h: Likewise.
* sysdeps/generic/bits/sockaddr.h: Likewise.
* sysdeps/generic/sys/swap.h: Likewise.
* sysdeps/generic/sys/sysinfo.h: Likewise.
* sysdeps/generic/vfork.c: Likewise.
* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
* sysdeps/mach/hurd/fdopen.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.

* misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
* shadow/lckpwdf.c: Likewise.
* stdlib/tst-strtol.c: Likewise.
* sysdeps/generic/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.

24 years agoRemove duplicate.
Andreas Jaeger [Tue, 23 May 2000 06:56:29 +0000 (06:56 +0000)]
Remove duplicate.