mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-05-27 Alexandre Oliva <aoliva@redhat.com> * configure.in (DO_STATIC_NSS): Define if --disable-shared. 2002-05-26 Bruno Haible <bruno@clisp.org> * iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the end of the ISO-8859-7 from idx table. 2002-05-27 Ulrich Drepper <drepper@redhat.com> * manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649]. 2002-05-24 David S. Miller <davem@redhat.com> * string/bits/string2.h (memset): Do not try to optimize when not _STRING_ARCH_unaligned if GCC will do the right thing.
This commit is contained in:
18
ChangeLog
18
ChangeLog
@ -1,3 +1,21 @@
|
|||||||
|
2002-05-27 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* configure.in (DO_STATIC_NSS): Define if --disable-shared.
|
||||||
|
|
||||||
|
2002-05-26 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
|
* iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the
|
||||||
|
end of the ISO-8859-7 from idx table.
|
||||||
|
|
||||||
|
2002-05-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649].
|
||||||
|
|
||||||
|
2002-05-24 David S. Miller <davem@redhat.com>
|
||||||
|
|
||||||
|
* string/bits/string2.h (memset): Do not try to optimize when
|
||||||
|
not _STRING_ARCH_unaligned if GCC will do the right thing.
|
||||||
|
|
||||||
2002-05-21 Isamu Hasegawa <isamu@yamato.ibm.com>
|
2002-05-21 Isamu Hasegawa <isamu@yamato.ibm.com>
|
||||||
|
|
||||||
* posix/regex.c: Define `inline' as a macro into nothing for the
|
* posix/regex.c: Define `inline' as a macro into nothing for the
|
||||||
|
2
configure
vendored
2
configure
vendored
@ -860,7 +860,7 @@ else
|
|||||||
static_nss=no
|
static_nss=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"$static_nss" = xyes; then
|
if test x"$static_nss" = xyes || test x"$shared" = xno; then
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define DO_STATIC_NSS 1
|
#define DO_STATIC_NSS 1
|
||||||
EOF
|
EOF
|
||||||
|
@ -177,7 +177,8 @@ dnl static NSS modules.
|
|||||||
AC_ARG_ENABLE(static-nss, dnl
|
AC_ARG_ENABLE(static-nss, dnl
|
||||||
[ --enable-static-nss build static NSS modules [default=no]],
|
[ --enable-static-nss build static NSS modules [default=no]],
|
||||||
static_nss=$enableval, static_nss=no)
|
static_nss=$enableval, static_nss=no)
|
||||||
if test x"$static_nss" = xyes; then
|
dnl Enable static NSS also if we build no shared objects.
|
||||||
|
if test x"$static_nss" = xyes || test x"$shared" = xno; then
|
||||||
AC_DEFINE(DO_STATIC_NSS)
|
AC_DEFINE(DO_STATIC_NSS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -707,6 +707,8 @@ static const cvlist_t conversion_lists[4] =
|
|||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
else if (set2 == ISO88597_set) \
|
else if (set2 == ISO88597_set) \
|
||||||
|
{ \
|
||||||
|
if (__builtin_expect (ch < 0xffff, 1)) \
|
||||||
{ \
|
{ \
|
||||||
const struct gap *rp = from_idx; \
|
const struct gap *rp = from_idx; \
|
||||||
\
|
\
|
||||||
@ -714,7 +716,8 @@ static const cvlist_t conversion_lists[4] =
|
|||||||
++rp; \
|
++rp; \
|
||||||
if (ch >= rp->start) \
|
if (ch >= rp->start) \
|
||||||
{ \
|
{ \
|
||||||
unsigned char res = iso88597_from_ucs4[ch - 0xa0 + rp->idx]; \
|
unsigned char res = \
|
||||||
|
iso88597_from_ucs4[ch - 0xa0 + rp->idx]; \
|
||||||
if (res != '\0') \
|
if (res != '\0') \
|
||||||
{ \
|
{ \
|
||||||
if (__builtin_expect (outptr + 3 > outend, 0)) \
|
if (__builtin_expect (outptr + 3 > outend, 0)) \
|
||||||
@ -730,6 +733,7 @@ static const cvlist_t conversion_lists[4] =
|
|||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
|
} \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
if (written == __UNKNOWN_10646_CHAR) \
|
if (written == __UNKNOWN_10646_CHAR) \
|
||||||
@ -817,6 +821,7 @@ static const cvlist_t conversion_lists[4] =
|
|||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
/* Try ISO 8859-7 upper half. */ \
|
/* Try ISO 8859-7 upper half. */ \
|
||||||
|
if (__builtin_expect (ch < 0xffff, 1)) \
|
||||||
{ \
|
{ \
|
||||||
const struct gap *rp = from_idx; \
|
const struct gap *rp = from_idx; \
|
||||||
\
|
\
|
||||||
@ -830,7 +835,8 @@ static const cvlist_t conversion_lists[4] =
|
|||||||
{ \
|
{ \
|
||||||
if (set2 != ISO88597_set) \
|
if (set2 != ISO88597_set) \
|
||||||
{ \
|
{ \
|
||||||
if (__builtin_expect (outptr + 3 > outend, 0))\
|
if (__builtin_expect (outptr + 3 > outend, \
|
||||||
|
0)) \
|
||||||
{ \
|
{ \
|
||||||
result = __GCONV_FULL_OUTPUT; \
|
result = __GCONV_FULL_OUTPUT; \
|
||||||
break; \
|
break; \
|
||||||
|
@ -1202,7 +1202,7 @@ macro's value is the same as the type it describes.
|
|||||||
@comment ISO
|
@comment ISO
|
||||||
@item FLT_EPSILON
|
@item FLT_EPSILON
|
||||||
|
|
||||||
This is the maximum positive floating point number of type @code{float}
|
This is the minimum positive floating point number of type @code{float}
|
||||||
such that @code{1.0 + FLT_EPSILON != 1.0} is true. It's supposed to
|
such that @code{1.0 + FLT_EPSILON != 1.0} is true. It's supposed to
|
||||||
be no greater than @code{1E-5}.
|
be no greater than @code{1E-5}.
|
||||||
|
|
||||||
|
@ -178,11 +178,13 @@ __STRING2_COPY_TYPE (8);
|
|||||||
\
|
\
|
||||||
__s; })
|
__s; })
|
||||||
# else
|
# else
|
||||||
|
# if ! __GNUC_PREREQ (3, 0)
|
||||||
# define memset(s, c, n) \
|
# define memset(s, c, n) \
|
||||||
(__extension__ (__builtin_constant_p (c) && (c) == '\0' \
|
(__extension__ (__builtin_constant_p (c) && (c) == '\0' \
|
||||||
? ({ void *__s = (s); __bzero (__s, n); __s; }) \
|
? ({ void *__s = (s); __bzero (__s, n); __s; }) \
|
||||||
: memset (s, c, n)))
|
: memset (s, c, n)))
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
/* GCC optimizes memset(s, 0, n) but not bzero(s, n).
|
/* GCC optimizes memset(s, 0, n) but not bzero(s, n).
|
||||||
The optimization is broken before EGCS 1.1. */
|
The optimization is broken before EGCS 1.1. */
|
||||||
|
Reference in New Issue
Block a user