Commit Graph

7491 Commits

Author SHA1 Message Date
Ulrich Drepper
2f278c9480 Update.
* stdio-common/vfscanf.c: Fix reading of wide chars and strings if
	not COMPILE_WSCANF.
2001-08-09 20:23:16 +00:00
Ulrich Drepper
5569e0a6fb 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.
2001-08-09 19:49:54 +00:00
Ulrich Drepper
cc7f258f32 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.
2001-08-09 19:10:37 +00:00
Ulrich Drepper
3926e63db2 Update.
2001-08-09  Jakub Jelinek  <jakub@redhat.com>

	* posix/globtest.sh: Robustify tilde tests.
2001-08-09 17:44:22 +00:00
Ulrich Drepper
748945b3f6 Robustify tilde tests. 2001-08-09 17:40:23 +00:00
Andreas Jaeger
d4459f83de Revert last patch, Ulrich will fix the failing script to use de_DE.UTF-8. 2001-08-09 17:15:56 +00:00
Andreas Jaeger
de1fe205b9 Update.
* locale/programs/ld-ctype.c (DEFAULT): Fix expression.
	(EMPTY): New.
	(wctype_table_finalize): Use it.
	(find_idx): Likewise.
	(wctype_table_get): Likewise.
2001-08-09 17:04:08 +00:00
Andreas Jaeger
bd75759fda * locale/programs/ld-ctype.c (DEFAULT): Fix expression.
(EMPTY): New. 
(wctype_table_finalize): Use it. 
(find_idx): Likewise. 
(wctype_table_get): Likewise.
2001-08-09 17:03:54 +00:00
Ulrich Drepper
6ca0d915c7 Use de_DE.UTF-8 locale. 2001-08-09 16:37:41 +00:00
Andreas Jaeger
a5271e2197 (LOCALES): Generate en_US.UTF-8 locale.
2001-08-09  Andreas Jaeger  <aj@suse.de>

	* Makefile (LOCALES): Generate en_US.UTF-8 locale.
2001-08-09 13:08:08 +00:00
Andreas Jaeger
b649a605f7 * configure.in: Add check for GCC 3.x.
2001-08-09  Andreas Jaeger  <aj@suse.de>

	* configure.in: Add check for GCC 3.x.
2001-08-09 10:51:51 +00:00
Ulrich Drepper
40a982a9e1 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.
2001-08-09 08:50:50 +00:00
Ulrich Drepper
0f78390bd7 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.
2001-08-09 05:21:51 +00:00
Ulrich Drepper
8f739934b0 Update.
* libio/ioungetwc.c (ungetwc): Orient stream first.
	* libio/Makefile (tests): Add tst-ungetwc1.
	* libio/tst-ungetwc1.c: New file.
2001-08-09 02:01:10 +00:00
Ulrich Drepper
5e473a7146 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.
2001-08-09 00:11:12 +00:00
Ulrich Drepper
ca130fe465 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.
2001-08-08 21:25:01 +00:00
Ulrich Drepper
443470c336 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.
2001-08-08 18:52:29 +00:00
Ulrich Drepper
121f86f245 Update.
* locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
	of CRNCYSTR.
2001-08-08 18:37:55 +00:00
Ulrich Drepper
ba5566a77e 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.
2001-08-08 18:17:51 +00:00
Ulrich Drepper
3cc419843d (time_finish): Provide POSIX locale compliant default values for fields without definition. 2001-08-08 18:12:05 +00:00
Andreas Jaeger
0f0c6085ad Update.
2001-08-08  Andreas Jaeger  <aj@suse.de>

	* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
	infinity.
2001-08-08 16:18:08 +00:00
Andreas Jaeger
bfc4cf5a17 (__ilogbl): Fix test for infinity. 2001-08-08 16:17:56 +00:00
Ulrich Drepper
b412350783 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.
2001-08-08 06:44:42 +00:00
Ulrich Drepper
d1a5466da8 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.
2001-08-08 02:52:43 +00:00
Ulrich Drepper
48ddeb0b4c 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.
2001-08-07 18:55:12 +00:00
Ulrich Drepper
f2ef916340 Updates from latest official list. 2001-08-07 18:50:46 +00:00
Andreas Jaeger
c5df5186db update.
* stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
2001-08-07 17:33:37 +00:00
Andreas Jaeger
9ec9864b21 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.
2001-08-07 17:26:45 +00:00
Andreas Jaeger
61501b5a02 (upstr): Add unused attribute to avoid warning. 2001-08-07 17:25:49 +00:00
Ulrich Drepper
e8ec0694bb Update.
2001-08-06  Ulrich Drepper  <drepper@redhat.com>

	* manual/locale.texi: Add documentation of rpmatch.
	Patch by Jochen Hein <jochen@jochen.org>.
2001-08-07 06:16:51 +00:00
Ulrich Drepper
a529b41620 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.
2001-08-07 04:37:18 +00:00
Ulrich Drepper
70808a9bc6 Update.
2001-08-06  Ulrich Drepper  <drepper@redhat.com>

	* wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.
2001-08-07 02:49:46 +00:00
Ulrich Drepper
dec5e067e8 (main): Avoid warning. Pretty printing. 2001-08-07 02:44:12 +00:00
Roland McGrath
245ef8366a * 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.
2001-08-06 04:24:40 +00:00
Roland McGrath
bece3642a8 * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
by the microkernel (which it's not).
2001-08-05 20:40:13 +00:00
Roland McGrath
bde01c31c6 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).
2001-08-05 20:39:59 +00:00
Ulrich Drepper
3d759cb8d3 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.
2001-08-04 23:59:30 +00:00
Ulrich Drepper
be1152cab2 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.
2001-08-04 19:30:39 +00:00
Ulrich Drepper
033a2c132f Update.
* manual/summary.awk: Fix value used for FF.
2001-08-04 15:36:35 +00:00
Ulrich Drepper
c2a714f32e Update.
* elf/rtld.c: Correct use of __builtin_expect.

	* elf/dl-close.c: Remove commented-out code.
2001-08-04 15:05:57 +00:00
Ulrich Drepper
6906cea4cc 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.
2001-08-04 08:05:56 +00:00
Ulrich Drepper
03003424c3 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.
2001-08-04 05:11:59 +00:00
Roland McGrath
dca494b1ec * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
syntax so both function and pointer-to-function arguments work right.
2001-08-04 01:18:15 +00:00
Roland McGrath
4ffd4002c7 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.
2001-08-04 01:17:57 +00:00
Ulrich Drepper
5af3245a41 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.
2001-08-03 23:04:10 +00:00
Ulrich Drepper
db2d05f93c 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.
2001-08-03 22:09:42 +00:00
Ulrich Drepper
b9583166c0 Update.
* iconvdata/tst-tables.sh: Add KOI8-T.
2001-08-03 19:27:19 +00:00
Ulrich Drepper
fe25bb96fc Update.
* iconvdata/Makefile: Add rules to build KOI8-T module.
	* iconvdata/koi8-t.c: New file.
	* iconvdata/gconv-modules: Add entries for KOI8-T.
2001-08-03 18:44:28 +00:00
Ulrich Drepper
d38be29739 Update.
* locale/iso-639.def: Correct Javanese 2 letter code.  Add Tonga.
	Add Tigrinya.
2001-08-03 09:13:17 +00:00
Ulrich Drepper
fcababc4e1 Update.
2001-08-03  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-639.def: Add Tigrinya.
2001-08-03 08:42:28 +00:00