Commit Graph

4989 Commits

Author SHA1 Message Date
Ulrich Drepper f3e29a1a0f Update.
2000-07-05  Ulrich Drepper  <drepper@redhat.com>

	* locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.

	* locale/programs/ld-collate.c (collate_output): Also write out the
	collation sequence values and the wide character string for the
	collation symbol table.

	* posix/fnmatch.c: Include "../locale/elem-hash.h".
	* posix/fnmatch_loop.c: Implement collating symbol handling.
	* posix/tst-fnmatch.input: Add more tests, especially for collating
	symbol handling.

	* posix/regex.c: Fix comment.
2000-07-05 22:02:03 +00:00
Ulrich Drepper 6e5f82858c (_nl_unload_locale): Add cast to avoid warning. 2000-07-05 21:56:49 +00:00
Andreas Jaeger a2616aed35 Update.
* sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
	(_FPU_GETCW): Remove extra colon.
	Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2000-07-05 15:38:00 +00:00
Andreas Jaeger d41293c7d4 Update.
* sysdeps/generic/strlen.c: Likewise.
	* sysdeps/generic/strchr.c: Likewise.
	* sysdeps/generic/memchr.c: Likewise.
2000-07-05 13:33:02 +00:00
Andreas Jaeger 0843ed1c0f Update.
2000-07-05  Andreas Jaeger  <aj@suse.de>

	* posix/fnmatch_loop.c (FCT): Only declare len if
	!WIDE_CHAR_VERSION to silence GCC.

	* sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
	prototype.
	* sysdeps/generic/strchrnul.c: Likewise.
2000-07-05 13:24:19 +00:00
Andreas Jaeger 00a6fe20a5 (FCT): Only declare len if
!WIDE_CHAR_VERSION to silence GCC.
2000-07-05 13:22:48 +00:00
Greg McGary 293c6b3cd8 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
2000-07-05 02:14:59 +00:00
Ulrich Drepper ecce00a971 Update.
* posix/fnmatch_loop.c: Implement equivalence class handling.
	* posix/tst-fnmatch.input: Add tests for equivalence class
	handling.
2000-07-04 23:27:39 +00:00
Ulrich Drepper 7239b3a4cf Update.
* posix/fnmatch_loop.c: Improve performance for single-byte
	character sets by not using btowc.
2000-07-04 21:32:15 +00:00
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