* 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>
* 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-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-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
* 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>.
* 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 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 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-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-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/pt-initfini.c: First attempt to fix the
broken code. Patch by Jes Sorensen.