Commit graph

4989 commits

Author SHA1 Message Date
Andreas Jaeger 27844eed6c Update.
2001-02-11  Andreas Jaeger  <aj@suse.de>

	* manual/resource.texi (Memory Resources): Fix typo.

	* libio/Makefile ($(objpfx)test-freopen.out): Pass
	run-program-prefix.

	* libio/test-freopen.sh: Use run_program_prefix.
2001-02-11 12:06:22 +00:00
Andreas Jaeger e1e3ba549a Update.
* stdlib/Makefile (tests): Don't run tst-fmtmsg when
	cross-compiling.
	($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.

	* stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
	only builds.

	* elf/Makefile (tests): Only run tst-pathopt with shared libs.
2001-02-10 23:06:59 +00:00
Andreas Jaeger d727629d3b Update.
* posix/Makefile: Fix typo, it's build-static-nss.
2001-02-10 22:51:28 +00:00
Andreas Jaeger 7e2e677ec0 Update.
2001-02-10  Andreas Jaeger  <aj@suse.de>

	* iconv/Makefile (extra-objs): New.
2001-02-10 22:44:23 +00:00
Mark Kettenis 24ed578e1b * sysdeps/unix/stime.c: Include <time.h>.
* sysdeps/unix/stime.c: Include <time.h>.
2001-02-10 19:33:44 +00:00
Mark Kettenis 157aa14d96 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2001-02-10  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2001-02-10 17:10:18 +00:00
Andreas Jaeger 227c0e2246 Update.
2001-02-10  Andreas Jaeger  <aj@suse.de>

	* manual/string.texi (Search Functions): Fix typo.
2001-02-10 17:07:48 +00:00
Ulrich Drepper 87b56f36cc Update.
* sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
	(timeval_to_clock_t): Add clk_tck argument and use that instead of
	CLK_TCK.
	(__times): Use __getclktck to get the number of clock ticks per
	second and use its return value instead	of CLK_TCK.

2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2001-02-10 16:37:51 +00:00
Ulrich Drepper 51410f1453 Update.
* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.

2001-02-10  Mark Kettenis  <kettenis@gnu.org>
2001-02-10 15:43:47 +00:00
Mark Kettenis 2fcc6286bc * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2001-02-10  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2001-02-10 12:43:11 +00:00
Andreas Jaeger 3a70594637 Update.
2001-02-10  Andreas Jaeger  <aj@suse.de>

	* wctype/wcfuncs.c (func): Add prototype declarations to avoid
	warning.
2001-02-10 11:34:47 +00:00
Ulrich Drepper 1068784c36 update.
* posix/bug-regex2.c: New file.
2001-02-10 06:20:25 +00:00
Ulrich Drepper 770d454df3 Update.
* posix/Makefile: Add rules to build and run bug-regex2.

2001-02-10  Jakub Jelinek  <jakub@redhat.com>

	* posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
	(regex_compile): Likewise.
	(FREE_VARIABLES): Don't free is_binary1 and is_binary2.
	(re_match_2_internal): Use just is_binary instead of two variables.
	Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.

2001-02-09  Ulrich Drepper  <drepper@redhat.com>
2001-02-10 06:19:01 +00:00
Ulrich Drepper e8ef6f282b Update.
* iconv/Makefile (distribute): Add iconv_charmap.c and
	dummy-repertoire.c.
	* elf/Makefile (distribute): Add firstobj.c.
	* Makefile (distribute): Add include/pthread.h.
2001-02-09 19:52:10 +00:00
Ulrich Drepper 4ec29cb0b2 Update.
* version.h (VERSION): Bump to 2.2.2.
2001-02-09 19:03:35 +00:00
Ulrich Drepper 1468be215b Update.
* configure.in: Require makeinfo version 4.
2001-02-09 18:35:24 +00:00
Ulrich Drepper 257bdad021 Update.
2001-02-09  Ulrich Drepper  <drepper@redhat.com>

	* libio/tst_wscanf.c (main): Add cast to avoid warning.
	* libio/tst_swscanf.c (main): Likewise..
2001-02-09 17:57:28 +00:00
Ulrich Drepper 7c5bb945c2 Update.
2001-02-09  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/setenv.c (unsetenv): Remove const from len.
	* sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
	__NO_MATH_INLINES.
	* sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
	if not RTLD_BOOTSTRAP.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2001-02-09 17:13:50 +00:00
Ulrich Drepper f126ef6731 Update.
2001-02-09  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
	lr_ungetc to push back last read character.
	* locale/programs/linereader.h (lr_ungetc): Don't push back is
	character is EOF.
	(lr_ignore_rest): Don't warn about garbage if it is really the end
	of the file.

	* manual/Makefile: Use ifnottext and not ifinfo to protect Top node
	definition.
2001-02-09 17:02:23 +00:00
Ulrich Drepper 90feeaa2eb Update.
* Makerules (build-shlib): Work around different order of
	processing of -B option in different gcc versions.
2001-02-09 06:46:20 +00:00
Ulrich Drepper 441f7d1eb2 Update.
* posix/regex.c: Fix alignment problem.
	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.

	Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
2001-02-09 05:37:25 +00:00
Ulrich Drepper 6b58cbc02d Update.
2001-02-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/strrchr.S: Little optimization.
	Patch by Richard Henderson <rth@redhat.com>.

	* sysdeps/alpha/alphaev67/strrchr.S: New file.
	Contributed by Rick Gorton <rick.gorton@alpha-processor.com>..

2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
	in the assembler end directive.

	pointer in FILE structure before calling _IO_init.
	correctly.  For numbers ending in all zeros eat the zeros even before
2001-02-09 05:33:59 +00:00
Andreas Jaeger f6af7428db Update.
2001-02-08  Andreas Jaeger  <aj@suse.de>

	* manual/stdio.texi (Closing Streams): Fix typos.
2001-02-08 09:28:59 +00:00
Ulrich Drepper d97dfe5fac Update.
* sysdeps/alpha/alphaev67/strncat.S: Align last write address.
	Patch by Richard Henderson <rth@redhat.com>.
	Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
2001-02-07 20:56:11 +00:00
Ulrich Drepper 917e27b827 Update.
* stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
	point in FILE structure before calling _IO_init.
	* stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
	strfmon_l if necessary.
	Reported by Jury Gerold <gjury@grips.com>.
2001-02-07 19:07:39 +00:00
Ulrich Drepper 054d2bf7cc Update.
2001-02-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
	Patch by Pekka.Pietikainen@cern.ch.

	* posix/regex.c: Correct several problems with 64-bit architectures
	introduced in the MBS changes.
	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.

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

	* math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
	not defined.
	* sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2001-02-07 18:46:03 +00:00
Andreas Jaeger 867aee062b Update.
2001-02-07  Andreas Jaeger  <aj@suse.de>

	* manual/install.texi (Tools for Compilation): Fix typo.
	Reported by Pavel Machek <pavel@bug.ucw.cz>.
2001-02-07 12:32:21 +00:00
Ulrich Drepper 5bfcc4d182 Update.
2001-02-07  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/strtod.c: Never stop prematurely reading digits before the
	decimal point is found.  Compute exponent limit for negative exponents
	correctly.  For numbers ending in all zeros eat the zeroes even before
	the decimal point if the exponent is negative [PR libc/2072].
	* stdlib/Makefile (tests): Add bug-strtod.
	* stdlib/bug-strtod.c: New file.

	* posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
	Store index.
	(compile_range): Handle index being passed, not pointer.
	Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2001-02-07 08:31:01 +00:00
Andreas Jaeger 18e532f18e Update.
2001-02-07  Andreas Jaeger  <aj@suse.de>

	* posix/bug-regex1.c: Include <wchar.h> for fwide.
2001-02-07 07:26:01 +00:00
Ulrich Drepper d7fce7e0a0 Update.
2001-02-06  Ulrich Drepper  <drepper@redhat.com>

	* posix/regex.c: Fix a cast in the code for bracket handling which
	caused 8-bit uncleanliness.
	Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.

	* posix/Makefile (tests): Add bug-regex1.
	* posix/bug-regex1.c: New file.
	Contributed by Jim Meyering <jim@meyering.net>.

	* posix/regex.c: Many cleanups for incorrect format strings.
2001-02-07 01:30:53 +00:00
Andreas Jaeger cba7a8888e Update.
2001-02-06  Andreas Jaeger  <aj@suse.de>

	* time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2001-02-06 19:26:48 +00:00
Ulrich Drepper fdc6c28a80 Update.
2001-02-06  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/locale.c (write_locales): Use scandir to read
	directory so that the entries are sorted.
2001-02-06 18:56:47 +00:00
Andreas Jaeger bd7f30a9b7 Update.
2001-02-06  Andreas Jaeger  <aj@suse.de>

	* include/pthread.h: New file.

	* wctype/wctype.h: Move internal interfaces from here to...
	* include/wctype.h: ...here.

	* wcsmbs/wchar.h: Move __wcslen from here to...
	* include/wchar.h: ...here.

	* posix/sys/wait.h: Move __wait from here to...
	* include/sys/wait.h: ...here.

	* string/string.h: Move __ffs and __strerror_r from here to...
	* include/string.h: ...here.

	* stdlib/stdlib.h: Move __on_exit from here to...
	* include/stdlib.h: ...here.

	* libio/stdio.h: Move __vsnprintf from here to...
	* include/stdio.h: ...here.
2001-02-06 18:27:57 +00:00
Andreas Schwab 18bd894499 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
headers.

	* timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
	of $(inst_datadir).
2001-02-06 17:31:04 +00:00
Ulrich Drepper 9a1b5e2ccf Update.
2001-02-06  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add dependency for bug-iconv2.out.
2001-02-06 17:22:06 +00:00
Andreas Jaeger d4620e0457 Update.
2001-02-06  Andreas Jaeger  <aj@suse.de>

	* elf/firstobj.c: Add prototype.

	* posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
	(truncate_wchar): Likewise.
2001-02-06 10:46:27 +00:00
Ulrich Drepper 91cd8340f5 Update.
2001-02-06  Ulrich Drepper  <drepper@redhat.com>

	* locale/programs/locale.c: Implement --verbose option for -a
	which prints detailed information about the locales.
2001-02-06 09:32:00 +00:00
Ulrich Drepper 216c13860d Update.
2001-02-05  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/xdr_rec.c (set_input_fragment): Change type of header
	variable to uint32_t.
	Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2001-02-06 07:09:01 +00:00
Ulrich Drepper 02cd8aeefd Update.
2001-02-04  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Add transliterations for CJK units of
	measurement.
2001-02-06 07:00:52 +00:00
Ulrich Drepper 681627531b Update.
* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
	string.  Include <inttypes.h> instead of <stdint.h>.
2001-02-06 05:48:26 +00:00
Ulrich Drepper 403cb8a19c Update.
* localedata/Makefile (tests): Add bug-iconv-trans.
	Define bug-iconv-trans-ENV.
	* localedata/bug-iconv-trans.c: New file.

2001-02-04  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
	pointer, to avoid accumulating output from incomplete (unsuccessful)
	transliteration attempts.

2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2001-02-06 04:20:37 +00:00
Ulrich Drepper 5a35dfca75 Update.
* elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
	string.  Include <inttypes.h> instead of <stdint.h>.
2001-02-06 00:56:59 +00:00
Ulrich Drepper ae113383fe Update.
2001-02-05  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Add check for bison.
	* config.make.in: Define BISON variable.
	* intl/Makefile: Use BISON instead of YACC when generating plural.c.
	Rename YFLAGS to BISONFLAGS.
2001-02-05 23:00:02 +00:00
Andreas Jaeger 725c76a6b7 Update.
* io/test-lfs.c (do_test): Test lseek64 return value, call
	test_ftello.
	(test_ftello): New function to test ftello64 and fseeko64.
2001-02-05 21:38:54 +00:00
Andreas Jaeger d9bfd1a510 Update.
* signal/signal.h: Move __sigaction from here to...
	* include/signal.h: ...here.
2001-02-05 19:55:22 +00:00
Andreas Jaeger 414a6b0d9c Update.
2001-02-05  Andreas Jaeger  <aj@suse.de>

	* io/fcntl.h: Move __fcntl and __open to...
	* include/fcntl.h: ...here.
2001-02-05 17:12:57 +00:00
Andreas Jaeger 3c7bfc3721 Fixed entry.
annexc.
2001-02-05 12:35:36 +00:00
Ulrich Drepper 0c8b61e64f Update.
2001-02-04  Philip Blundell  <philb@gnu.org>

	* configure.in: Distinguish ARM from Thumb.

2001-02-04  Philip Blundell  <philb@gnu.org>

	* sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
	PC24 relocs with negative value.
2001-02-05 06:01:54 +00:00
Ulrich Drepper 93693c4d82 Update.
2001-02-04  Ulrich Drepper  <drepper@redhat.com>

	* iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
	files in locale/programs.  Add CFLAGS definition to allow compiling
	localedef files.
	* iconv/dummy-repertoire.c: New file.
	* iconv/iconv_charmap.c: New file.
	* iconv/iconv_prog.h: New file.
	* iconv/iconv_prog.c: Make verbose and omit_invalid global.
	(main): If parameter for -f and -t contain slashes try first to resolve
	the strings as filenames of charmap files.  Use them for conversion
	in this case.
	* iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
	iconv getting charmap names as parameters.
	* locale/programs/linereader.c (lr_token): Take extra parameters
	verbose and pass it to get_string.
	(get_string): Take extra parameters verbose.
	* locale/programs/charmap.c (parse_charmap): Take extra parameters
	verbose and be_quiet.  Change all callers of lr_token and
	parse_charmap.
	* locale/programs/charmap.h: Likewise.
	* locale/programs/ld-address.c: Likewise.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/ld-ctype.c: Likewise.
	* locale/programs/ld-identification.c: Likewise.
	* locale/programs/ld-measurement.c: Likewise.
	* locale/programs/ld-messages.c: Likewise.
	* locale/programs/ld-monetary.c: Likewise.
	* locale/programs/ld-name.c: Likewise.
	* locale/programs/ld-numeric.c: Likewise.
	* locale/programs/ld-paper.c: Likewise.
	* locale/programs/ld-telephone.c: Likewise.
	* locale/programs/ld-time.c: Likewise.
	* locale/programs/linereader.c: Likewise.
	* locale/programs/linereader.h: Likewise.
	* locale/programs/localedef.c: Likewise.
	* locale/programs/locfile.c: Likewise.
	* locale/programs/locfile.h: Likewise.
	* locale/programs/repertoire.c: Likewise.
2001-02-05 05:57:24 +00:00
Ulrich Drepper 377c725f8e Update.
* iconv/iconv_prog.c (main): If output file name is "-" write to
	stdout.
	(main): If -f or -t argument is missing use charset of the current
	locale.
2001-02-04 06:04:08 +00:00