Commit Graph

199 Commits

Author SHA1 Message Date
Ulrich Drepper
a48297fdf3 Update.
* spinlock.h (__pthread_trylock): Use __compare_and_swap, not
	compare_and_swap.
2000-07-19 05:36:15 +00:00
Ulrich Drepper
874bb5e379 Update.
2000-07-18  Ulrich Drepper  <drepper@redhat.com>

	* tst-ctype-de_DE.ISO-8859-1.in: Mark U0000 as cntrl and U00A0 not as
	space.
	* tst-ctype.c: Likewise.
	* tst-ctype.sh: Likewise.
	* locales/i18n: Likewise.
	* locales/ja_JP: Likewise.
	* tests-mbwc/dat_iswcntrl.c: Likewise.
	* tests-mbwc/dat_iswctype.c: Likewise.
	* tests-mbwc/dat_iswspace.c: Likewise.

	* tst-ctype.sh: Also test C locale.
2000-07-18 20:32:49 +00:00
Ulrich Drepper
ca41028b16 Update.
2000-07-16  Ulrich Drepper  <drepper@redhat.com>

	* Makefile: Rewrite rules for tests to run them only when necessary.
	* sort-test.sh: Produce output for failed tests.
	* tst-fmon.sh: Likewise.
	* tst-rpmatch.sh: Likewise.
2000-07-16 07:30:42 +00:00
Ulrich Drepper
cfd14df5ee Update.
2000-07-14  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add GB18030.
	(distribute): Add gb18030.c.
	* iconvdata/gconv-modules: Add entries for GB18030 module.
	* iconvdata/gb18030.c: New file.
	Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
	and Wu Jian.
2000-07-14 09:25:46 +00:00
Ulrich Drepper
0d655550de Update.
2000-07-12  H.J. Lu  <hjl@gnu.org>

	* resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
	for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.

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

	* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
	it is wrong.
2000-07-12 20:39:58 +00:00
Ulrich Drepper
6ccf5e679a Update.
* iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
	U007E.
2000-07-07 23:59:31 +00:00
Ulrich Drepper
a1035beb28 Update.
2000-07-07  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/SJIS: New file.
2000-07-07 23:41:12 +00:00
Ulrich Drepper
89a4f6ff1f Update.
2000-07-07  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/locale.c (write_locales): Don't simply add all
	directories found in the subdir, test whether at least the
	LC_CTYPE file is in there.
2000-07-07 07:12:11 +00:00
Ulrich Drepper
2528edd317 Update.
* iconvdata/euc-jp.c: Map characters in C1 area to itself.
	* iconvdata/euc-kr.c: Likewise.
2000-07-07 06:41:18 +00:00
Ulrich Drepper
9bcadd4e21 Update.
2000-07-06  Ulrich Drepper  <drepper@redhat.com>

	* charmaps/EUC-JP: Make characters in C1 area map to themselves.
2000-07-07 06:23:55 +00:00
Ulrich Drepper
c0f53cdd08 Update.
2000-07-06  Ulrich Drepper  <drepper@redhat.com>

	* include/signal.h: Declare __libc_sigaction.
	* sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
	* sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.

	* configure.in: Fix CLAGS-memprofstat.c definition after
	2000-06-19 change.
	Patch by Bradford W. Johnson <bradford@math.umn.edu>.

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

	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
	instead of NULL to elf_machine_fixup_plt t argument.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
	cast.

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

	* crypt/Makefile (LDLIBS-cert): Removed.
	(LDLIBS-md5c-test): Removed.
	($(objpfx)cert): Renamed from cert.out to fix dependencies.
	($(objpfx)md5c-test): Likewise for md5c-test.out.
2000-07-07 00:52:01 +00:00
Ulrich Drepper
11b3488225 Update.
* crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
	string got copied in.
	Patch by Solar Designer <solar@false.com>.

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

	* manual/install.texi (Installation): Update information about
	add-ons.
	(Configuring and compiling): Update for glibc 2.2.

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

	* sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
	(_FPU_IEEE): Likewise.

	* math/Makefile (tests): Add test-fpucw.

	* math/test-fpucw.c (main): New file.

2000-07-05  Ulrich Drepper  <drepper@redhat.com>
2000-07-05 22:34:10 +00:00
Ulrich Drepper
83b1b6d8fa Update.
2000-07-04  Ulrich Drepper  <drepper@redhat.com>

	* spinlock.c (__pthread_unlock): Properly place write barrier.
	Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2000-07-04 08:22:44 +00:00
Ulrich Drepper
4a9e89d5ea Update.
2000-07-03  Ulrich Drepper  <drepper@redhat.com>

	* tst-fmon.sh: Set LOCPATH and LANGUAGE for localedef run.
	* tst-locale.sh: Likewise.
2000-07-03 20:35:05 +00:00
Ulrich Drepper
40c4c9b562 Update.
2000-07-01  Andreas Jaeger  <aj@suse.de>

	* intl/Makefile (generated-dirs): New.

	* elf/Makefile (generated): trusted-dirs.h is always generated,
	move out of build-shared condition.
	(generated): Merge the two entries for build-shared.

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

	* debug/Makefile (distribute): Add xtrace.sh.
2000-07-01 15:41:36 +00:00
Ulrich Drepper
a2294e570c Update.
* version.h (VERSION): Bump to 2.1.91.

	* configure.in: Update warning comment.  glibc should not be
	broken anymore.

	* sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
	ioperm.c, sys/procfs.h, and sys/io.h.

	* sysdeps/powerpc/Dist: Add bp-asm.h.

	* sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2000-07-01 06:34:10 +00:00
Ulrich Drepper
b62404dcc9 Update. 2000-07-01 05:26:07 +00:00
Ulrich Drepper
5e087c7152 Update.
* assert/Depend: Add localedata.
	* assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
	(test-assert-perr-ENV): New.  Define LANGUAGE=C.

	* sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
	R_ALPHA_REFQUAD]: Use memcpy to load and store value from
	relocation address to prevent unaligned trap.
	Suggested by Richard Henderson <rth@cygnus.com>.

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

	* io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
	if redirecting and either redirection is done using defines or
	not optimizing.

2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2000-07-01 05:19:18 +00:00
Ulrich Drepper
71d82dbe9e Update.
* timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
	since zic uses setlocale and gettext but we cannot make it use the
	new locale data since zic calls a shell which might not use the
	new libc.
2000-07-01 02:46:04 +00:00
Ulrich Drepper
394679ebe7 Update.
* elf/Makefile (LDFLAGS-origtest): Actually add it.
2000-06-30 18:11:39 +00:00
Ulrich Drepper
040cf4baf7 Update.
* tst-fmon.sh: Don't generate de_DE and en_US locale data.
	* tst-rpmatch.sh: Use de_DE.ISO-8859-1 not de_DE.
	* tst-ctype.sh: Use de_DE.ISO-8859-1 and en_US.ANSI_X3.4-1968.

	* locales/POSIX: Update for new format.
2000-06-30 04:07:37 +00:00
Ulrich Drepper
f175216dbf Update.
2000-06-29  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
	data files.
2000-06-30 00:11:52 +00:00
Ulrich Drepper
27ffef477c Update.
2000-06-29  Ulrich Drepper  <drepper@redhat.com>

	* tst-fmon.data: Until we know what is correct, but the spaces
	after DEM back in.

	* tests-mbwc/dat_mbstowcs.c: Fix various bugs.  Comment out
	unresolved issues.
	* tests-mbwc/dat_mbtowc.c: Likewise.
	* tests-mbwc/dat_strcoll.c: Likewise.
	* tests-mbwc/dat_strfmon.c: Likewise.
	* tests-mbwc/dat_strxfrm.c: Likewise.
	* tests-mbwc/tst_mbtowc.c: Likewise.

	($(addsuffix .out,$(addprefix $(objpfx),$(locale_test_suite)))):
2000-06-29 23:35:35 +00:00
Ulrich Drepper
a0e5d73a78 Update.
* stdio-common/tst-printf.c: Add test for above problem.
2000-06-29 19:35:32 +00:00
Andreas Jaeger
5ca8accdcd Update.
(tst_mbrtowc-ENV): New.
	(tst_mbsrtowcs-ENV): New.
	(tst_mbstowcs-ENV): New.
	(tst_strfmon-ENV): New.
	(tst_wcrtomb-ENV): New.
	(tst_wcsrtombs-ENV): New.
	(tst_wcstod-ENV): New.
	(tst_wcstok-ENV): New.
	(tst_wcstombs-ENV): New.
	* tests-mbwc/dat_wcstok.c: Likewise.
	* tests-mbwc/tst_wcstok.c: Likewise.
	* tests-mbwc/dat_wcstod.c: Likewise.
	* tests-mbwc/tst_wcstod.c: Likewise.
	* tests-mbwc/dat_mbrtowc.c: Likewise.
	* tests-mbwc/tst_mbrtowc.c: Likewise.
	* tests-mbwc/dat_wcsrtombs.c: Likewise.
	* tests-mbwc/tst_wcsrtombs.c: Likewise.
	* tests-mbwc/dat_wcstombs.c: Likewise.
	* tests-mbwc/tst_wcstombs.c: Likewise.
	* tests-mbwc/dat_mbsrtowcs.c: Likewise.
	* tests-mbwc/tst_mbsrtowcs.c: Likewise.
	* tests-mbwc/dat_wcrtomb.c: Likewise.
	* tests-mbwc/tst_wcrtomb.c: Likewise.
	* tests-mbwc/dat_mbstowcs.c: Likewise.
	* tests-mbwc/tst_mbstowcs.c: Likewise.
	* tests-mbwc/dat_strfmon.c: Likewise.
	* tests-mbwc/tst_strfmon.c: Likewise.
2000-06-29 10:36:12 +00:00
Andreas Jaeger
2e23c3cc3f Update.
2000-06-29  Andreas Jaeger  <aj@suse.de>

	* Makefile (locale_test_suite): Add new test files.
	(tst_mblen-ENV): New.
	(tst_mbtowc-ENV): New.
	(tst_strcoll-ENV): New.
	(tst_strxfrm-ENV): New.
	(tst_wctomb-ENV): New.

	* tests-mbwc/tst_wctomb.c: New test file from Shoji Kuwabara
	<kuwahara@cthulhu.engr.sgi.com>.
	* tests-mbwc/dat_wctomb.c: Likewise.
	* tests-mbwc/tst_mbtowc.c: Likewise.
	* tests-mbwc/dat_mbtowc.c: Likewise.
	* tests-mbwc/tst_strxfrm.c: Likewise.
	* tests-mbwc/dat_strxfrm.c: Likewise.
	* tests-mbwc/dat_strcoll.c: Likewise.
	* tests-mbwc/tst_strcoll.c: Likewise.
	* tests-mbwc/tst_mblen.c: Likewise.
	* tests-mbwc/dat_mblen.c: Likewise.
2000-06-29 07:13:12 +00:00
Ulrich Drepper
2d7fb37aa3 Update.
2000-06-27  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
	count into signatures for most calls.
2000-06-28 23:54:33 +00:00
Ulrich Drepper
99274b38bd Update.
2000-06-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
	the generic parser now.
2000-06-28 23:51:54 +00:00
Ulrich Drepper
aa1b098472 Update.
2000-06-28  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
	table entries are 32 bit on the ia64 (as specified by the ABI),
	not 64 bit as on the Alpha.

	* shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
	change of objects to use 32 bit hash table indices (see above).

2000-06-28  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
	prototype for abs().
2000-06-28 23:50:37 +00:00
Ulrich Drepper
07c35131ad Update.
2000-06-28  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (chunk_alloc): If extension of the linear heap
	fails, try mmap_chunk() as a last resort even though n_mmaps_max
	may have been reached.
2000-06-28 23:28:29 +00:00
Ulrich Drepper
f1f1b6b95a Update.
* wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
	depending on whether the input string is empty or not.

	* wcsmbs/mbrtowc.c: Calling function without input means clearing the
	given state and not avoiding this by modifying a local object.
	* wcsmbs/wcrtomb.c: Likewise.

	* iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
	object since some incomplete characters might be in there.
2000-06-28 21:46:28 +00:00
Ulrich Drepper
777e222ddb Update.
* Makefile (do-tst-ctype): Add do-tst-mbswcs to list of dependencies.
	(TEST_MBWC_ENV): Remove unnecessary slash.
	* tst-ctype.sh: Add de_DE.UTF-8 to list of tested locales.

	* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Correct UTF-8 input data.

	* Makefile: Add do-tst-mbswcs to dependencies of locale test suite
	tests.
2000-06-28 21:38:03 +00:00
Ulrich Drepper
392ac96984 Update.
* iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
	sequences with first by 0x8e correctly.
2000-06-28 18:11:30 +00:00
Ulrich Drepper
044ff6223a Update.
2000-06-28  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/jis0208.h: Remove redundant test.
2000-06-28 18:04:12 +00:00
Andreas Jaeger
028f8f1899 Update.
* tests-mbwc/tst_wcscat.c (tst_wcscat): Correct format to avoid
	warning.
2000-06-28 13:09:35 +00:00
Andreas Jaeger
16247e11ac Update.
* Makefile (locale_test_suite): Add tst_mbrlen.
	(tst_mbrlen-ENV): New.

	* tests-mbwc/tst_mbrlen.c: New file

	* tests-mbwc/dat_mbrlen.c: New file.

	* tests-mbwc/tst_types.h (struct TIN_MBSTOWCS_REC): Use const
	char*.
	(struct TST_HEAD): Use const char* instead of an array.

	* tests-mbwc/tst_wcsstr.c (tst_wcsstr): ws2 has size WCSSIZE.

	* tests-mbwc/dat_iswalnum.c (TST_ISW_LOC): Add tests for de_UTF8.

	* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
2000-06-28 13:05:23 +00:00
Andreas Jaeger
93fc3eb7b4 (TST_LOC_de_UTF8): Added.
2000-06-28  Andreas Jaeger  <aj@suse.de>

	* tests-mbwc/tgn_locdef.h (TST_LOC_de_UTF8): Added.
2000-06-28 08:24:36 +00:00
Ulrich Drepper
0e16ecfa1e Update.
* locale/programs/ld-ctype.c (ctype_finish): Take all characters from
	the input charset into account when generating the hash table.
	(allocate_arrays): Correct setting default width.  Not all empty slots
	in the table are filled, only those not covert explicitly by the
	locale description and in the charset.

	* stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
	wide character version.
	For %C handling, test correct pointer variable for NULL.

	* wcsmbs/wctob.c: Handle WEOF special.

	* wcsmbs/wcwidth.h: 0xff in width array means invalid character.

	* wctype/wctype.h: Protect gcc-isms with __extension__.  Avoid
	always-true test to avoid warning.
2000-06-28 04:27:24 +00:00
Ulrich Drepper
1539660873 Update.
* locales/i18n: Backspace isn't blank, tab is.

	* tst-ctype.c (main): Add tests for control characters and space.
2000-06-27 18:09:54 +00:00
Ulrich Drepper
c3e32a9697 Update.
* locales/i18n: Backspace is no space.
2000-06-27 17:49:19 +00:00
Ulrich Drepper
9d893da15c Update.
2000-06-27  Ulrich Drepper  <drepper@redhat.com>

	* locales/i18n: Add \t to space.
2000-06-27 17:44:09 +00:00
Andreas Jaeger
86af091087 Update.
2000-06-27  Andreas Jaeger  <aj@suse.de>

	* Makefile (TEST_MBWC_ENV): New variable.
	Use it for all tests from tests-mbwc.
2000-06-27 17:38:25 +00:00
Ulrich Drepper
132781f936 Update.
2000-06-27  Ulrich Drepper  <drepper@redhat.com>

	* tst-ctype.sh: Generate ja_JP.EUC-JP locale and test it.
2000-06-27 17:12:56 +00:00
Andreas Jaeger
36e3c1195f Makefile: Add environment setting for all tests from tests-mbwc.
2000-06-27  Andreas Jaeger  <aj@suse.de>

	* Makefile: Add environment setting for all tests from tests-mbwc.
2000-06-27 16:35:42 +00:00
Ulrich Drepper
1cf98aaef9 Update.
2000-06-27  Jakub Jelinek  <jakub@redhat.com>

	* libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
	not obstack_blank.
2000-06-27 16:33:48 +00:00
Andreas Jaeger
cb6815da36 Update.
* tests-mbwc/*: Initial import of testsuite from Shoji Kuwabara
	<kuwahara@cthulhu.engr.sgi.com><kuwahara@cthulhu.engr.sgi.com>.
2000-06-27 12:25:46 +00:00
Andreas Jaeger
5b905722f6 * Makefile (tests): Add tests from tests-mbwc subdirectory,
comment them out for now. 
(subdir-dirs): New for tests-mbwc, add also vpaths.
	* Makefile (tests): Add tests from tests-mbwc subdirectory,
	comment them out for now.
	(subdir-dirs): New for tests-mbwc, add also vpaths.
2000-06-27 12:14:09 +00:00
Andreas Jaeger
756bb30555 Add missing / in LC_CTYPE.
2000-06-27  Andreas Jaeger  <aj@suse.de>

	* locales/ja_JP: Add missing / in LC_CTYPE.
2000-06-27 08:18:25 +00:00
Ulrich Drepper
1a3eefef69 Update.
* Makefile (distribute): Add tst-ctype-de_DE.in.
2000-06-27 04:01:28 +00:00
Ulrich Drepper
4edc30e4d7 Update.
* tst-ctype.c: Read in more tests from stdin.
	* tst-ctype.sh: Feed extra test data to program via stdin.
	* tst-ctype-de_DE.in: New file.

	* locales/i18n (punct): Exclude U00A0.
	(blank): Include U00A0.

	* locales/ja_JP: Updates for new format.

	* Makefile (test-srcs): Add tst-ctype.
	(distribute): Add tst-ctype.sh.
	(do-tst-ctype): New target.  Run for tests.
	* tst-ctype.c: New file.
	* tst-ctype.sh: New file.
2000-06-27 03:59:26 +00:00