Commit Graph

5180 Commits

Author SHA1 Message Date
Ulrich Drepper ab9afc2193 Update.
* posix/tst-fnmatch.input: Add tests for locale dependent
	behaviour.
	* posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
2000-07-04 20:58:45 +00:00
Ulrich Drepper 21d9e5cf87 (main): Also set LC_CTYPE category. 2000-07-04 20:56:12 +00:00
Greg McGary 2eb42c7f9d Regenerated: autoconf configure.in 2000-07-04 20:12:34 +00:00
Ulrich Drepper f5c68a01e8 Update.
* posix/tst-fnmatch.input: Add more test cases.
2000-07-04 20:00:19 +00:00
Ulrich Drepper e7262a6534 Update.
2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.

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

	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
	alias to the fstatfs call.

	* sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.

	* sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.

	* sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
	* sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
	* sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.

	* sysdeps/unix/sysv/linux/ia64/glob.c: New file.
	* sysdeps/unix/sysv/linux/ia64/glob64.c: New file.

	* sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.

	* sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.

	* sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
2000-07-04 19:18:17 +00:00
Greg McGary 66c5b9aace * sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from
pragmas.  Include bp-sym.h only if _LIBC.
2000-07-04  Greg McGary  <greg@mcgary.org>

	* sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from
	pragmas.  Include bp-sym.h only if _LIBC.
2000-07-04 18:44:25 +00:00
Ulrich Drepper 3248e3a326 Update.
2000-07-04  Ulrich Drepper  <drepper@redhat.com>

	* crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
	are not aligned to alignof(md5_uint32) do it before calling
	__md5_process_bytes.
	* crypt/md5.c: Make sure buffers are aligned.
	* crypt/md5.h: Likewise.
	Reported by Solar Designer <solar@false.com>.

	* crypt/Makefile: Add dependencies for test programs.

	* Rules: Define LC_ALL=C in environments of all programs we run.

	* intl/tst-gettext.sh (LC_ALL): Define to C and export.

2000-07-03  H.J. Lu  <hjl@gnu.org>

	* locale/programs/ld-ctype.c (ctype_output): The size of iov
	is 2 + elem + offset, not 2 + elem + offset + 2.

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

	* posix/fnmatch_loop.c: Fix two problems uncovered by the new test
	suite.
	* posix/Makefile (tests): Add tst-fnmatch.
	(tst-fnmatch-ENV): Define.
	* posix/tst-fnmatch.c: New file.
	* posix/tst-fnmatch.sh: New file.
2000-07-04 18:24:11 +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 0d6af3a86d (tests): Add tst-fnmatch. (tst-fnmatch-ENV): Define. 2000-07-04 08:14:33 +00:00
Greg McGary 9818637551 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
($(objpfx)b$(start-installed-name)): Add non-elf rule.
	* csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
	($(objpfx)b$(start-installed-name)): Add non-elf rule.
2000-07-04 01:30:09 +00:00
Greg McGary 73c115ed0b * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
* libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*. 
(FILEBUF_LITERAL): Add cast for CHAIN init. 
* libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts. 
(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write): 
Revert type of `fp' to _IO_FILE*. 
(_IO_iter_file): Remove cast. 
(_IO_iter_next): Elide intermediate member reference.
	* libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
	* libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
	(FILEBUF_LITERAL): Add cast for CHAIN init.
	* libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
	(_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
	Revert type of `fp' to _IO_FILE*.
	(_IO_iter_file): Remove cast.
	(_IO_iter_next): Elide intermediate member reference.
2000-07-04 00:49:25 +00:00
Ulrich Drepper a88b96f496 Update.
2000-07-04  NIIBE Yutaka  <gniibe@chroot.org>

	* locale/programs/charmap.c (charmap_read): Prepend
	the condition filename == NULL.
2000-07-04 00:27:38 +00:00
Greg McGary b1fc7a6a98 * sysdeps/powerpc/strchr.S: Check bounds.
Wrap extern symbols in BP_SYM ().
2000-07-03  Greg McGary  <greg@mcgary.org>

	* sysdeps/powerpc/strchr.S:  Check bounds.
	Wrap extern symbols in BP_SYM ().
2000-07-04 00:24:42 +00:00
Ulrich Drepper 4ad1d0cfbf (charmap_read): Prepend the condition filename == NULL. 2000-07-04 00:22:32 +00:00
Ulrich Drepper 68eefde7b6 Update.
2000-07-03  Andreas Jaeger  <aj@suse.de>

	* dlfcn/Makefile (generated): New.
2000-07-03 23:41:50 +00:00
Ulrich Drepper 6f98fd7ebb Update.
2000-07-03  Ulrich Drepper  <drepper@redhat.com>

	* libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
	(__uflow): Likewise.
	(__underflow): Likewise.
	* libio/wgenops.c (__wunderflow): Likewise.
	* stdio-common/tst-unbputc.c: New file.
	* stdio-common/tst-unbputc.sh: New file.
	* stdio-common/Makefile: Add rules to build and run tst-unbputc.

	* po/en_GB.po: New file.
	Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
2000-07-03 21:40:46 +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 b856f875e8 Update.
* sunrpc/rpc_cout.c (inline_struct): Add missing braces in
	generated expressions.
	Patch by Darren McClelland <dmcclell@zetec.com>.
2000-07-01 04:35:11 +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 3da67f9970 Update.
* stdlib/strfmon.c: Move somewhat closer to the standard wrt to
	handling the internation currency symbol.  POSIX says that the
	fourth character is used to separate the currency symbol from the
	value.  Therefore it does not have to be printed.  But we cannot
	remove the space if the currency symbol is printed before the
	number since this is what many locales expect.
	* localedata/tests-mbwc/dat_strfmon.c: Remove #ifdefs introduced to
	work around DEM problem.
	* localedata/tst-fmon.data: Change back entries with DEM.
2000-07-01 00:39:39 +00:00
Ulrich Drepper 7f4553513c Update.
* iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
	whether this information is available.

	* intl/dcigettext.c (_nl_find_msg): Correct reallocation of
	buffers in case the translation is too large.  Remember allocated
	memory blocks in a list.
	(free_mem): Free memory for translations.

	* intl/tst-gettext.c: Use correct locale.  Improve error messages.

	* locale/programs/ld-ctype.c (ctype_output): If no default_missing
	information is available set the string length to zero.
2000-07-01 00:04:28 +00:00
Ulrich Drepper fb46e8d284 Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN whether this information is available. 2000-07-01 00:00:13 +00:00
Greg McGary fa87f40377 * sysdeps/powerpc/bp-asm.h: New file.
* sysdeps/powerpc/__longjmp.S:  Check bounds. 
Wrap extern symbols in BP_SYM (). 
* sysdeps/powerpc/bsd-_setjmp.S: Likewise. 
* sysdeps/powerpc/bsd-setjmp.S: Likewise. 
* sysdeps/powerpc/setjmp.S: Likewise. 
* sysdeps/powerpc/add_n.S: Likewise. 
* sysdeps/powerpc/addmul_1.S: Likewise. 
* sysdeps/powerpc/lshift.S: Likewise. 
* sysdeps/powerpc/rshift.S: Likewise. 
* sysdeps/powerpc/mul_1.S: Likewise. 
* sysdeps/powerpc/sub_n.S: Likewise. 
* sysdeps/powerpc/submul_1.S: Likewise. 
* sysdeps/powerpc/strlen.S: Likewise. 
* sysdeps/powerpc/memset.S: Likewise. 
* sysdeps/powerpc/stpcpy.S: Likewise. 
* sysdeps/powerpc/strcmp.S: Likewise. 
* sysdeps/powerpc/strcpy.S: Likewise. 
* sysdeps/powerpc/elf/bzero.S: Likewise.
	* sysdeps/powerpc/bp-asm.h: New file.
	* sysdeps/powerpc/__longjmp.S:  Check bounds.
	Wrap extern symbols in BP_SYM ().
	* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
	* sysdeps/powerpc/bsd-setjmp.S: Likewise.
	* sysdeps/powerpc/setjmp.S: Likewise.
	* sysdeps/powerpc/add_n.S: Likewise.
	* sysdeps/powerpc/addmul_1.S: Likewise.
	* sysdeps/powerpc/lshift.S: Likewise.
	* sysdeps/powerpc/rshift.S: Likewise.
	* sysdeps/powerpc/mul_1.S: Likewise.
	* sysdeps/powerpc/sub_n.S: Likewise.
	* sysdeps/powerpc/submul_1.S: Likewise.
	* sysdeps/powerpc/strlen.S: Likewise.
	* sysdeps/powerpc/memset.S: Likewise.
	* sysdeps/powerpc/stpcpy.S: Likewise.
	* sysdeps/powerpc/strcmp.S: Likewise.
	* sysdeps/powerpc/strcpy.S: Likewise.
	* sysdeps/powerpc/elf/bzero.S: Likewise.
2000-06-30 21:35:52 +00:00
Ulrich Drepper dbda6079a6 Update.
2000-06-30  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2000-06-30 19:46:39 +00:00
Ulrich Drepper 80503fa0e2 Replace with version which does not use floating point registers. 2000-06-30 18:32:47 +00:00
Greg McGary cb2eb74250 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
Line up operands column with tabs.
2000-06-30  Greg McGary  <greg@mcgary.org>

	* sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
	Line up operands column with tabs.
2000-06-30 18:26:00 +00:00
Ulrich Drepper 394679ebe7 Update.
* elf/Makefile (LDFLAGS-origtest): Actually add it.
2000-06-30 18:11:39 +00:00
Ulrich Drepper cb48e60fd8 Update.
2000-06-30  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ia64/htonl.S: New file.
	* sysdeps/ia64/htons.S: New file.
	* sysdeps/ia64/memcpy.S: Replace with version which does not use
	floating point registers.
	Patches by Dan Pop <Dan.Pop@cern.ch>.
2000-06-30 17:47:38 +00:00
Ulrich Drepper acb53dc1ae (install-locales): Remove the -u switch from localedef command line. 2000-06-30 17:23:04 +00:00
Andreas Jaeger e8c6a44246 Update.
* posix/Makefile (tests): tst-exec and tst-spawn only work with
	shared libraries.
2000-06-30 13:57:22 +00:00
Andreas Jaeger 4a3c3ca1dd Update.
2000-06-30  Andreas Jaeger  <aj@suse.de>

	* io/Makefile (CFLAGS-test-lfs.c): New.
	(tests): Add test-lfs.

	* io/test-lfs.c: New file.
2000-06-30 09:55:49 +00:00
Andreas Jaeger 4c524b811e Simple tests for LFS. 2000-06-30 09:55:04 +00:00
Ulrich Drepper 2fc9b74251 Update.
2000-06-30  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
	instruction.
2000-06-30 08:54:33 +00:00
Ulrich Drepper 99707e8153 (strcmp): Use 8bit register in 8bit instruction. 2000-06-30 08:51:50 +00:00
Andreas Jaeger c421d4b743 Update.
2000-06-29  Andreas Jaeger  <aj@suse.de>

	* sunrpc/rpc_svcout.c (write_msg_out): Always use format string
	with syslog.
	(print_err_message): Likewise.
	Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2000-06-30 06:39:47 +00:00
Andreas Jaeger a714f366ce * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
with syslog. 
(print_err_message): Likewise. 
Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2000-06-30 06:38:07 +00:00
Ulrich Drepper e43e0dd6b3 Update.
* locale/loadlocale.c (_nl_load_locale): Make sure all locale data
	used as words is properly aligned.
2000-06-30 05:57:47 +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 f53413a1c6 Don't generate de_DE and en_US locale data. 2000-06-30 04:04:41 +00:00
Greg McGary 5785c39fd1 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
* sysdeps/unix/make-syscalls.sh: Handle signatures of 
length 7..9, just in case... 
* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
	* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
	* sysdeps/unix/make-syscalls.sh: Handle signatures of
	length 7..9, just in case...
	* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2000-06-30 01:11:14 +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 e0bd78f584 Until we know what is correct, but the spaces after DEM back in. 2000-06-29 23:33:34 +00:00
Greg McGary e5f88e0ca0 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
(POP_ERRNO_LOCATION_RETURN): Fold insns. 
* sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant. 
(PUSH_SIGNAL_MASK): New macro. 
* sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM (). 
LEAVE is unnecessary.  Check bounds of jmp_buf. 
* sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols 
in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until 
immediately before tail-call. 
* sysdeps/i386/setjmp.S: Likewise. 
* sysdeps/i386/bsd-_setjmp.S: Likewise. 
* sysdeps/i386/bsd-setjmp.S: Likewise.
2000-06-29  Greg McGary  <greg@mcgary.org>

	* sysdeps/i386/bp-asm.h (PCOFF): New constant.
	(POP_ERRNO_LOCATION_RETURN): Fold insns.
	* sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
	(PUSH_SIGNAL_MASK): New macro.
	* sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
	LEAVE is unnecessary.  Check bounds of jmp_buf.
	* sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
	in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
	immediately before tail-call.
	* sysdeps/i386/setjmp.S: Likewise.
	* sysdeps/i386/bsd-_setjmp.S: Likewise.
	* sysdeps/i386/bsd-setjmp.S: Likewise.
2000-06-29 22:55:31 +00:00
Ulrich Drepper d3d89ab3a8 Update.
2000-06-29  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
	versioned_symbol.
	* sysdeps/sparc/fpu/fesetenv.c: Likewise.
	* sysdeps/sparc/fpu/feupdateenv.c: Likewise.
	* sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
	* sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
	* sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/sparc/fpu/fegetenv.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
	* shlib-versions: Make sparc64 GLIBC_2.2+ only.
2000-06-29 20:58:24 +00:00
Ulrich Drepper 1a6d7967ad Make sparc64 GLIBC_2.2+ only.
2000-06-29  Jakub Jelinek  <jakub@redhat.com>

	* shlib-versions: Make sparc64 GLIBC_2.2+ only.
2000-06-29 20:58:06 +00:00