external/glibc.git
23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 22:37:19 +0000 (22:37 +0000)]
Update.

2001-08-09  Jakub Jelinek  <jakub@redhat.com>

* catgets/catgets.c (catclose): Be liberal about catalog_desc in
catclose too.

* time/tst-strptime.c: Add test case for %U and %W handling.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 22:33:28 +0000 (22:33 +0000)]
Update.

* time/strptime.c (strptime_internal): Add handling of year +
%U/%W week + week day.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 20:23:16 +0000 (20:23 +0000)]
Update.

* stdio-common/vfscanf.c: Fix reading of wide chars and strings if
not COMPILE_WSCANF.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 19:49:54 +0000 (19:49 +0000)]
Update.

* libio/vswprintf.c (_IO_vswprintf): Fix return value handling
which is different from snprintf.
* libio/tst_swprintf.c: Add tests for too small output buffer.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 19:10:37 +0000 (19:10 +0000)]
Update.

2001-08-09  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
* libio/Makefile (tests): Add tst-swscanf.
* libio/tst-swscanf.c: New file.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 17:44:22 +0000 (17:44 +0000)]
Update.

2001-08-09  Jakub Jelinek  <jakub@redhat.com>

* posix/globtest.sh: Robustify tilde tests.

23 years agoRobustify tilde tests.
Ulrich Drepper [Thu, 9 Aug 2001 17:40:23 +0000 (17:40 +0000)]
Robustify tilde tests.

23 years agoRevert last patch, Ulrich will fix the failing script to use de_DE.UTF-8.
Andreas Jaeger [Thu, 9 Aug 2001 17:15:56 +0000 (17:15 +0000)]
Revert last patch, Ulrich will fix the failing script to use de_DE.UTF-8.

23 years agoUpdate.
Andreas Jaeger [Thu, 9 Aug 2001 17:04:08 +0000 (17:04 +0000)]
Update.

* locale/programs/ld-ctype.c (DEFAULT): Fix expression.
(EMPTY): New.
(wctype_table_finalize): Use it.
(find_idx): Likewise.
(wctype_table_get): Likewise.

23 years ago* locale/programs/ld-ctype.c (DEFAULT): Fix expression.
Andreas Jaeger [Thu, 9 Aug 2001 17:03:54 +0000 (17:03 +0000)]
* locale/programs/ld-ctype.c (DEFAULT): Fix expression.

(EMPTY): New.
(wctype_table_finalize): Use it.
(find_idx): Likewise.
(wctype_table_get): Likewise.

23 years agoUse de_DE.UTF-8 locale.
Ulrich Drepper [Thu, 9 Aug 2001 16:37:41 +0000 (16:37 +0000)]
Use de_DE.UTF-8 locale.

23 years ago(LOCALES): Generate en_US.UTF-8 locale.
Andreas Jaeger [Thu, 9 Aug 2001 13:08:08 +0000 (13:08 +0000)]
(LOCALES): Generate en_US.UTF-8 locale.

2001-08-09  Andreas Jaeger  <aj@suse.de>

* Makefile (LOCALES): Generate en_US.UTF-8 locale.

23 years ago* configure.in: Add check for GCC 3.x.
Andreas Jaeger [Thu, 9 Aug 2001 10:51:51 +0000 (10:51 +0000)]
* configure.in: Add check for GCC 3.x.

2001-08-09  Andreas Jaeger  <aj@suse.de>

* configure.in: Add check for GCC 3.x.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 08:50:50 +0000 (08:50 +0000)]
Update.

2001-08-09  Ulrich Drepper  <drepper@redhat.com>

* libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
seeking with backup buffer present.
Correct determining of internal buffer position.
Reset also wide buffers if we reset the internal buffers.
* libio/iofwide.c (_IO_fwide): Always determine file offset for wide
streams.
* libio/ioseekoff.c: Catch one unimplemented case.
* libio/ftello.c: Don't abort if the wide stream has backup buffer.
* libio/ftello64.c: Likewise.
* libio/iofgetpos.c: Likewise.
* libio/iofgetpos64.c: Likewise.
* libio/ftell.c: Likewise.
* libio/Makefile (tests): Add tst-ungetwc2.
* libio/tst-ungetwc2.c: New file.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 05:21:51 +0000 (05:21 +0000)]
Update.

* locale/elem-hash.h (elem_hash): Correct stupid mistake and
create real hash values now.
Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.

* libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
the handling of wide streams.

23 years agoUpdate.
Ulrich Drepper [Thu, 9 Aug 2001 02:01:10 +0000 (02:01 +0000)]
Update.

* libio/ioungetwc.c (ungetwc): Orient stream first.
* libio/Makefile (tests): Add tst-ungetwc1.
* libio/tst-ungetwc1.c: New file.

23 years agoupdate.
Ulrich Drepper [Thu, 9 Aug 2001 00:11:12 +0000 (00:11 +0000)]
update.

* libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
for possible conversion using __codecvt_do_in.
* libio/Makefile (tests): Add tst-fgetws.
* libio/tst-fgetws.c: New file.

* libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
coding the test here.

23 years agoUpdate.
Ulrich Drepper [Wed, 8 Aug 2001 21:25:01 +0000 (21:25 +0000)]
Update.

* catgets/open_catalog.c: Rewrite code to assume that the function
is called at catopen time and not delayed in catgets.
* catgets/catgets.c (catopen): Call __open_catalog and fail if that
function failed.
(catgets): Remove code for delayed opening of catalog.
* catgets/catgetsinfo.h: Remove now unnecessary information from
struct catalog_info.  Change __open_catalog prototype.
* catgets/gencat.c: Adjust __open_catalog call.
* catgets/test-gencat.c: Stop program if catopen failed.

23 years agoUpdate.
Ulrich Drepper [Wed, 8 Aug 2001 18:52:29 +0000 (18:52 +0000)]
Update.

for CRNCYSTR.
* locale/programs/ld-monetary.c (monetary_finish): Likewise.
functionality.
call me().  If in the middle of initializing, return NULL or
* manual/locale.texi: Add documentation for rpmatch.

23 years agoUpdate.
Ulrich Drepper [Wed, 8 Aug 2001 18:37:55 +0000 (18:37 +0000)]
Update.

* locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
of CRNCYSTR.

23 years agoUpdate.
Ulrich Drepper [Wed, 8 Aug 2001 18:17:51 +0000 (18:17 +0000)]
Update.

2001-08-08  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-messages.c (messages_finish): Provide POSIX
locale compliant default values for fields without definition.
* locale/programs/ld-time.c (time_finish): Likewise.

23 years ago(time_finish): Provide POSIX locale compliant default values for fields without defin...
Ulrich Drepper [Wed, 8 Aug 2001 18:12:05 +0000 (18:12 +0000)]
(time_finish): Provide POSIX locale compliant default values for fields without definition.

23 years agoUpdate.
Andreas Jaeger [Wed, 8 Aug 2001 16:18:08 +0000 (16:18 +0000)]
Update.

2001-08-08  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
infinity.

23 years ago(__ilogbl): Fix test for infinity.
Andreas Jaeger [Wed, 8 Aug 2001 16:17:56 +0000 (16:17 +0000)]
(__ilogbl): Fix test for infinity.

23 years agoUpdate.
Ulrich Drepper [Wed, 8 Aug 2001 06:44:42 +0000 (06:44 +0000)]
Update.

2001-08-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
funcationality.

* sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.

2001-08-07  Jakub Jelinek  <jakub@redhat.com>

* malloc/memusage.c (initialized): New variable.
(init): If not yet initialized, call me().
(me): Do all dlsym calls here.
(malloc, realloc, calloc, free): If not yet initialized,
call me(). If in the middle of initializing, return NULL or
do nothing.

23 years agoUpdate.
Ulrich Drepper [Wed, 8 Aug 2001 02:52:43 +0000 (02:52 +0000)]
Update.

2001-08-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.

* dirent/tst-seekdir.c (main): Check whether telldir right after
seekdir returns 2nd argument given to seekdir.

2001-08-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
LD_LIBRARY_PATH.

23 years agoUpdate.
Ulrich Drepper [Tue, 7 Aug 2001 18:55:12 +0000 (18:55 +0000)]
Update.

    Andreas Schwab  <schwab@suse.de>
    Bruno Haible  <haible@clisp.cons.org>

* locale/programs/3level.h (EMPTY): New macro.
(*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.

2001-08-08  GOTO Masanori  <gotom@debian.or.jp>

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

2001-08-07  Andreas Jaeger  <aj@suse.de>
* iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
* libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.

23 years agoUpdates from latest official list.
Ulrich Drepper [Tue, 7 Aug 2001 18:50:46 +0000 (18:50 +0000)]
Updates from latest official list.

23 years agoupdate.
Andreas Jaeger [Tue, 7 Aug 2001 17:33:37 +0000 (17:33 +0000)]
update.

* stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.

23 years agoUpdate.
Andreas Jaeger [Tue, 7 Aug 2001 17:26:45 +0000 (17:26 +0000)]
Update.

2001-08-07  Andreas Jaeger  <aj@suse.de>

* iconv/gconv_charset.h (upstr): Add unused attribute to avoid
warning.

* libio/iopopen.c (_IO_new_proc_open): Fix typos, it's
_IO_MTSAFE_IO.
(_IO_new_proc_close): Likewise.
* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
(_IO_old_proc_close): Likewise.

23 years ago(upstr): Add unused attribute to avoid warning.
Andreas Jaeger [Tue, 7 Aug 2001 17:25:49 +0000 (17:25 +0000)]
(upstr): Add unused attribute to avoid warning.

23 years agoUpdate.
Ulrich Drepper [Tue, 7 Aug 2001 06:16:51 +0000 (06:16 +0000)]
Update.

2001-08-06  Ulrich Drepper  <drepper@redhat.com>

* manual/locale.texi: Add documentation of rpmatch.
Patch by Jochen Hein <jochen@jochen.org>.

23 years agoUpdate.
Ulrich Drepper [Tue, 7 Aug 2001 04:37:18 +0000 (04:37 +0000)]
Update.

2001-08-06  Jakub Jelinek  <jakub@redhat.com>

* stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
* stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.

* stdlib/tst-strtod.c (tests): Add Inf tests.
* stdio-common/tstscanf.c (main): Add tests for +- before Inf.

* locale/weightwc.h (findidx): Change type of i to int32_t.

23 years agoUpdate.
Ulrich Drepper [Tue, 7 Aug 2001 02:49:46 +0000 (02:49 +0000)]
Update.

2001-08-06  Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.

23 years ago(main): Avoid warning. Pretty printing.
Ulrich Drepper [Tue, 7 Aug 2001 02:44:12 +0000 (02:44 +0000)]
(main): Avoid warning.  Pretty printing.

23 years ago* sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
Roland McGrath [Mon, 6 Aug 2001 04:24:40 +0000 (04:24 +0000)]
* sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member

d_fileno to d_ino.
(struct dirent64): Likewise.
(d_fileno): Define as macro.

23 years ago* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
Roland McGrath [Sun, 5 Aug 2001 20:40:13 +0000 (20:40 +0000)]
* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented

by the microkernel (which it's not).

23 years ago2001-08-04 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 5 Aug 2001 20:39:59 +0000 (20:39 +0000)]
2001-08-04  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
by the microkernel (which it's not).

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 23:59:30 +0000 (23:59 +0000)]
Update.

2001-08-04  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_new_file_underflow): Don't call
_IO_flush_all_linebuffered.  This isn't required in any standard.
Instead flush only stdout.
* libio/wfileops.c (_IO_wfile_underflow): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 19:30:39 +0000 (19:30 +0000)]
Update.

2001-08-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* dlfcn/Makefile: Add rules for new testcase tststatic.
* dlfcn/tststatic.c: New file.
* dlfcn/modstatic.c: New file.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 15:36:35 +0000 (15:36 +0000)]
Update.

* manual/summary.awk: Fix value used for FF.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 15:05:57 +0000 (15:05 +0000)]
Update.

* elf/rtld.c: Correct use of __builtin_expect.

* elf/dl-close.c: Remove commented-out code.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 08:05:56 +0000 (08:05 +0000)]
Update.

2001-08-04  Ulrich Drepper  <drepper@redhat.com>

* libio/genops.c (_IO_unbuffer_write): Force streams in narrow
orientation so that conversion modules aren't used anymore.
* malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
functions to avoid using wide streams afterwards.

* iconvdata/Makefile: Add rules to build GEORGIAN-PS and
GEORGIAN-ACADEMY.
* iconvdata/georgian-ps.c: New file.
* iconvdata/georgian-academy.c: New file.
* iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
GEORGIAN-ACADEMY.
* iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 05:11:59 +0000 (05:11 +0000)]
Update.

2001-08-03  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate (insert_value): If symbol in order
definition does not exist create it as a sequence without
associated multibyte and wide representation.

23 years ago* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
Roland McGrath [Sat, 4 Aug 2001 01:18:15 +0000 (01:18 +0000)]
* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle

syntax so both function and pointer-to-function arguments work right.

23 years ago2001-07-30 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 4 Aug 2001 01:17:57 +0000 (01:17 +0000)]
2001-07-30  Roland McGrath  <roland@frob.com>

* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
syntax so both function and pointer-to-function arguments work right.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 23:04:10 +0000 (23:04 +0000)]
Update.

2001-08-03  Tom Rix  <trix@redhat.com>

* config.h.in: Add HAVE_XCOFF for AIX.
* configure.in: Add --with-xcoff option.
* include/libc-symbols.h: Disable the .stabs macros.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 22:09:42 +0000 (22:09 +0000)]
Update.

* iconvdata/8bit-gap.c: Correctly use __builtin_expect.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/gb18030.c: Likewise.
* iconvdata/gbbig5.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/ibm930.c: Likewise.
* iconvdata/ibm932.c: Likewise.
* iconvdata/ibm933.c: Likewise.
* iconvdata/ibm935.c: Likewise.
* iconvdata/ibm939.c: Likewise.
* iconvdata/ibm943.c: Likewise.
* iconvdata/iso-2022-cn.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.
* iconv/gconv_simple.c: Likewise.   Convert assert() in real error
handling.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 19:27:19 +0000 (19:27 +0000)]
Update.

* iconvdata/tst-tables.sh: Add KOI8-T.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 18:44:28 +0000 (18:44 +0000)]
Update.

* iconvdata/Makefile: Add rules to build KOI8-T module.
* iconvdata/koi8-t.c: New file.
* iconvdata/gconv-modules: Add entries for KOI8-T.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 09:13:17 +0000 (09:13 +0000)]
Update.

* locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
Add Tigrinya.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 08:42:28 +0000 (08:42 +0000)]
Update.

2001-08-03  Ulrich Drepper  <drepper@redhat.com>

* locale/iso-639.def: Add Tigrinya.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 05:35:03 +0000 (05:35 +0000)]
Update.

2001-08-02  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate.c (collate_read): Handle collating-element
and reorder_after following copy statement correctly.

* libio/bits/stdio.h (printf): Remove printf optimization since
GCC 3.0 can optimize printf.

23 years ago(collate_read): Handle collating-element and reorder_after following copy statement...
Ulrich Drepper [Fri, 3 Aug 2001 05:33:30 +0000 (05:33 +0000)]
(collate_read): Handle collating-element and reorder_after following copy statement correctly.

23 years agoUpdate.
Andreas Jaeger [Thu, 2 Aug 2001 16:11:13 +0000 (16:11 +0000)]
Update.

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

        * libio/bits/stdio.h (printf): Remove printf optimization since
        GCC 3.0 can optimize printf.

23 years agoUpdate.
Andreas Jaeger [Thu, 2 Aug 2001 14:48:08 +0000 (14:48 +0000)]
Update.

2001-08-02  Ulrich Weigand  <uweigand@de.ibm.com>

* sysdeps/s390/s390-32/memcpy.S: Fixed incorrect use of
mvcle introduced by 2001-07-12 change.
* sysdeps/s390/s390-64/memcpy.S: Likewise.

23 years agoFixed incorrect use of mvcle introduced by 2001-07-12 change.
Andreas Jaeger [Thu, 2 Aug 2001 14:47:58 +0000 (14:47 +0000)]
Fixed incorrect use of mvcle introduced by 2001-07-12 change.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 23:30:26 +0000 (23:30 +0000)]
Update.

2001-07-31  Ulrich Drepper  <drepper@redhat.com>

* locales/tr_TR: Define missing fields and remove FIXME comments.
Patch by Nilg~n Belma Bug~ner <nilgun@fide.org>.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 20:57:24 +0000 (20:57 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
register so that contexts can be used in different threads.
* sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 20:32:01 +0000 (20:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
test for cmsg struct size.
* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.

* sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
initializations.

* libio/oldiopopen.c: Add lock for old_proc_file_chain access.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 19:20:56 +0000 (19:20 +0000)]
Update.

2001-07-31  Ulrich Drepper  <drepper@redhat.com>

* libio/iopopen.c: Add lock for proc_file_chain access.
Reported by Padraig Brady <Padraig@linux.ie>.

23 years ago(Formatted Input Basics): Add missing first argument to @ref{} uses.
Ulrich Drepper [Tue, 31 Jul 2001 18:57:16 +0000 (18:57 +0000)]
(Formatted Input Basics): Add missing first argument to @ref{} uses.

23 years agoUpdate.
Andreas Jaeger [Tue, 31 Jul 2001 07:46:22 +0000 (07:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.

23 years agoUpdate.
Andreas Jaeger [Tue, 31 Jul 2001 06:43:57 +0000 (06:43 +0000)]
Update.

2001-07-31  Andreas Jaeger  <aj@suse.de>

* libio/genops.c (flush_cleanup): Guard list_all_lock to allow
compilation without threads.

23 years ago(flush_cleanup): Guard list_all_lock to allow compilation without threads.
Andreas Jaeger [Tue, 31 Jul 2001 06:43:44 +0000 (06:43 +0000)]
(flush_cleanup): Guard list_all_lock to allow compilation without threads.

23 years agoUpdate.
Ulrich Drepper [Mon, 30 Jul 2001 16:22:48 +0000 (16:22 +0000)]
Update.

2001-07-30  Ulrich Drepper  <drepper@redhat.com>

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

23 years agoUpdate.
Andreas Jaeger [Mon, 30 Jul 2001 09:08:38 +0000 (09:08 +0000)]
Update.

* sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
Stephen L Moshier.

23 years agoUpdate.
Andreas Jaeger [Mon, 30 Jul 2001 07:51:34 +0000 (07:51 +0000)]
Update.

2001-07-30  Andreas Jaeger  <aj@suse.de>

* posix/regex.c: Declare wcs functions only if compiling with
MBS_SUPPORT.
Don't use #elif for traditional C.

23 years ago Declare wcs functions only if compiling with MBS_SUPPORT. Don't use #elif for tradi...
Andreas Jaeger [Mon, 30 Jul 2001 07:51:25 +0000 (07:51 +0000)]
 Declare wcs functions only if compiling with MBS_SUPPORT.  Don't use #elif for traditional C.

23 years ago* sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New file.
Mark Kettenis [Sun, 29 Jul 2001 12:26:40 +0000 (12:26 +0000)]
* sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New file.

2001-07-29  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/recvmsg.c: New file.
* sysdeps/mach/hurd/sendmsg.c: New file.

23 years agoUpdate.
Ulrich Drepper [Sat, 28 Jul 2001 06:10:44 +0000 (06:10 +0000)]
Update.

* sysdeps/mips/Dist: Remove non-existing files.
* sysdeps/mips/mips64/Dist: Likewise.
* sysdeps/mips/mipsel/Dist: Removed.
* iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
* sysdeps/generic/Dist: Add bits/link.h.
* sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
* sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
dl-error.c.
* sysdeps/ia64/Dist: Add bits/link.h.

23 years agoUpdate.
Ulrich Drepper [Sat, 28 Jul 2001 05:50:21 +0000 (05:50 +0000)]
Update.

* version.h (VERSION): Bump to 2.2.4.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 19:09:19 +0000 (19:09 +0000)]
Update.

* libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
from stream buffer to result buffer.
Reported by Michael Meeks <michael@ximian.com>.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 18:09:56 +0000 (18:09 +0000)]
Update.

* libio/Makefile: Add rules to check output of tst-fopenloc and
for memory leaks.
* libio/tst-fopenloc.c: New file.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 17:38:40 +0000 (17:38 +0000)]
Update.

* locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 17:34:53 +0000 (17:34 +0000)]
Update.

2001-07-27  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
* iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
* iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
__gconv_compare_alias prototype.
* iconv/gconv_db.c (__gconv_lookup_alias): Removed.
(__gconv_compare_alias): New function.
* locale/findlocale.c (_nl_find_locale): Ise __gconv_compare_alias
instead of calling __gconv_lookup_alias twice and compare here.

23 years ago(__gconv_compare_alias_cache): New function.
Ulrich Drepper [Fri, 27 Jul 2001 17:26:26 +0000 (17:26 +0000)]
(__gconv_compare_alias_cache): New function.

23 years ago* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of SA_RESETHAND and SA_NO...
Mark Kettenis [Fri, 27 Jul 2001 08:50:55 +0000 (08:50 +0000)]
* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of SA_RESETHAND and SA_NODEFER.

2001-07-26  Mark Kettenis  <kettenis@gnu.org>

* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
SA_RESETHAND and SA_NODEFER.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 08:29:06 +0000 (08:29 +0000)]
Update.

* libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
substring.  Don't handle ccs= if no descriptor was allocated.
Normalize codeset name before calling __wcsmbs_named_conv.
Initialize transliteration elements.  Free step data structure.
* libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
* libio/iofwide.c (__libio_translit): Renamed from libio_translit
and made public.  Various little cleanup changes.
* wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
tomb_nsteps member.
* wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
(__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
(getfct): Take additional parameter with pointer to variable where the
number of steps is stored in.  Disable code which allows to use more
than one step for now.  Adjust all callers.
(free_mem): New function.  Frees data associated with currently
selected converters.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 07:33:58 +0000 (07:33 +0000)]
Update.

2001-07-27  Ulrich Drepper  <drepper@redhat.com>

* malloc/mtrace.pl: Extract addresses from DSOs.

2001-07-26  Ulrich Drepper  <drepper@redhat.com>

* malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
error.  Don't run any tests if mcheck is disabled.

* elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
early in the program.

>>>>>>> 1.5525

23 years ago(checkhdr): Disable mcheck before reporting an error. Don't run any tests if mcheck...
Ulrich Drepper [Fri, 27 Jul 2001 05:01:11 +0000 (05:01 +0000)]
(checkhdr): Disable mcheck before reporting an error.  Don't run any tests if mcheck is disabled.

23 years agoUpdate.
Andreas Jaeger [Fri, 27 Jul 2001 04:36:09 +0000 (04:36 +0000)]
Update.

2001-07-27  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
value following change from 2001-05-30.

* sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
rename change from 2001-07-12 for __jmp_buf.
Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.

23 years ago(SC_GPRS): Fix value following change from 2001-05-30.
Andreas Jaeger [Fri, 27 Jul 2001 04:35:37 +0000 (04:35 +0000)]
(SC_GPRS): Fix value following change from 2001-05-30.

23 years ago(_dl_important_hwcaps): Avoid using malloc early in the program.
Ulrich Drepper [Fri, 27 Jul 2001 03:48:11 +0000 (03:48 +0000)]
(_dl_important_hwcaps): Avoid using malloc early in the program.

23 years ago* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
Roland McGrath [Thu, 26 Jul 2001 21:27:36 +0000 (21:27 +0000)]
* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional

on __USE_MISC rather than __USE_BSD.
(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
B1000000B1152000B1500000B2000000B2500000B3000000,
B3500000B4000000): New macros.
* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
* termios/cfsetspeed.c (speeds): Likewise.

* csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a

23 years ago2001-07-26 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 26 Jul 2001 21:23:31 +0000 (21:23 +0000)]
2001-07-26  Roland McGrath  <roland@frob.com>

* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
on __USE_MISC rather than __USE_BSD.
(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
B1000000B1152000B1500000B2000000B2500000B3000000,
B3500000B4000000): New macros.
* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
* termios/cfsetspeed.c (speeds): Likewise.

23 years agoFix typos.
Andreas Jaeger [Thu, 26 Jul 2001 14:41:27 +0000 (14:41 +0000)]
Fix typos.

23 years agoFormatting.
Ulrich Drepper [Thu, 26 Jul 2001 01:41:39 +0000 (01:41 +0000)]
Formatting.

* COPYING: Fix Y2k bug in sample copyright notices.
* manual/lesser.texi: Renamed from manual/lgpl.texinfo,
as fsf.org uses the name "lesser.texi".

23 years agoUpdate.
Ulrich Drepper [Thu, 26 Jul 2001 01:39:53 +0000 (01:39 +0000)]
Update.

2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
multi-line strings.
(FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
(elf_machine_rela): Handle unaligned relocation.

23 years agoUpdate.
Ulrich Drepper [Thu, 26 Jul 2001 00:27:15 +0000 (00:27 +0000)]
Update.

2001-06-07  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
__ia64_make_fptr() for new interface.
(_dl_function_address): Remove.

* sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
(struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
pointer.  Rename member "func" to "ip".
(struct ia64_fdesc_table): New type.
(__ia64_make_fptr): Change prototype.
(__ia64_init_bootstrap_fdesc_table): New function.
(ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
(__boot_ldso_fptr): Removed.
(__fptr_next): Removed.
(__fptr_root): Removed.
(__fptr_count): Removed.
(TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
strings to avoid warning from gcc3.
(RTLD_START): Don't use multi-line strings.
(ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
(elf_machine_fixup_plt): Update the code entry point in the
function descriptor through a "volatile" pointer to ensure proper
write ordering.
(elf_machine_rela): Simplify handling of FPTR relocs: always call
__ia64_make_fptr().

* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
(DL_STATIC_FUNCTION_ADDRESS): Likewise.
(DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
(DL_DT_FINI_ADDRESS): Likewise.

* sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
avoid deadlocks.

* include/link.h: Add member machine specific "l_mach" member to
link_map.

* sysdeps/generic/bits/link.h: New file.
* sysdeps/ia64/bits/link.h: Likewise.

* elf/rtld.c (_dl_start): Fix typo in comment.
(_dl_start_final): Copy new "l_mach" member from temporary to
final bootstrap map.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 22:15:17 +0000 (22:15 +0000)]
Update.

2001-07-25  Ulrich Drepper  <drepper@redhat.com>

* csu/gmon-start.c: Use ENTRY_POINT_DECL is defined instead of a
declaration using ENTRY_POINT.
* sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.

2001-07-25  H.J. Lu  <hjl@gnu.org>

* csu/gmon-start.c: Include <entry.h>
(_start): Replaced with ENTRY_POINT.

23 years agoInclude <entry.h> (_start): Replaced with ENTRY_POINT.
Ulrich Drepper [Wed, 25 Jul 2001 22:04:55 +0000 (22:04 +0000)]
Include <entry.h> (_start): Replaced with ENTRY_POINT.

23 years ago* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
Mark Kettenis [Wed, 25 Jul 2001 21:42:24 +0000 (21:42 +0000)]
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.

2001-07-25  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 21:30:39 +0000 (21:30 +0000)]
Update.

(write_output): Don't overwrite old cache file until we know we
have a new one.
* iconv/Makefile (install-sbin): Add iconvconfig.
* iconv/gconv_int.h: Add prototype for __gconv_release_cache.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 21:00:58 +0000 (21:00 +0000)]
Update.

* iconv/iconvconfig.c (main): Don't write an output file if we
have seen an error.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 20:53:07 +0000 (20:53 +0000)]
Update.

2001-07-25  Ulrich Drepper  <drepper@redhat.com>

* iconv/Makefile (install-bin): Add iconvconfig.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 20:47:02 +0000 (20:47 +0000)]
Update.

2001-07-25  Jakub Jelinek  <jakub@redhat.com>

* elf/Makefile (routines): Add dl-iteratephdr and
dl-iteratephdr-static.
(elide-routines.os): Add dl-iteratephdr-static.
* elf/dl-iteratephdr.c: New file.
* elf/link.h (struct dl_phdr_info): New definition.
(dl_iterate_phdr): New prototype.
* elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
* include/link.h (struct dl_phdr_info): New definition.
(dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
* sysdeps/generic/dl-iteratephdr-static.c: New file.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.

* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
of pending signals.

23 years ago(routines): Add dl-iteratephdr and dl-iteratephdr-static.
Ulrich Drepper [Wed, 25 Jul 2001 20:42:02 +0000 (20:42 +0000)]
(routines): Add dl-iteratephdr and dl-iteratephdr-static.

23 years ago2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
Roland McGrath [Wed, 25 Jul 2001 08:37:28 +0000 (08:37 +0000)]
2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>

        * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
        of pending signals.

23 years agoUpdate.
Andreas Jaeger [Wed, 25 Jul 2001 06:37:13 +0000 (06:37 +0000)]
Update.

2001-06-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
gaps below main executable.