From f6e5f42cfa971699586ade37bed9025ecbd2c25f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 3 Jun 2011 11:13:04 +0200 Subject: [PATCH] Update from gnulib. --- gettext-runtime/intl/ChangeLog | 5 +++++ gettext-runtime/intl/vasnprintf.c | 6 +++--- gettext-runtime/libasprintf/ChangeLog | 5 +++++ gettext-runtime/libasprintf/vasnprintf.c | 6 +++--- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index cdb8b999f..d0fc798bc 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,8 @@ +2011-02-23 Bruno Haible + + Fix misindentation of preprocessor directives. + * vasnprintf.c (decode_long_double): Reindent preprocessor directives. + 2011-02-12 Bruno Haible Workaround native Windows bug. diff --git a/gettext-runtime/intl/vasnprintf.c b/gettext-runtime/intl/vasnprintf.c index dcdbec3cb..320bba384 100644 --- a/gettext-runtime/intl/vasnprintf.c +++ b/gettext-runtime/intl/vasnprintf.c @@ -934,11 +934,11 @@ decode_long_double (long double x, int *ep, mpn_t *mp) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } -#if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess - precision. */ +# if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess + precision. */ if (!(y == 0.0L)) abort (); -#endif +# endif /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog index c76f1a24b..c4b19a60c 100644 --- a/gettext-runtime/libasprintf/ChangeLog +++ b/gettext-runtime/libasprintf/ChangeLog @@ -1,3 +1,8 @@ +2011-02-23 Bruno Haible + + Fix misindentation of preprocessor directives. + * vasnprintf.c (decode_long_double): Reindent preprocessor directives. + 2011-02-04 Bruno Haible vasnprintf: Reduce use of malloc for small format strings. diff --git a/gettext-runtime/libasprintf/vasnprintf.c b/gettext-runtime/libasprintf/vasnprintf.c index dcdbec3cb..320bba384 100644 --- a/gettext-runtime/libasprintf/vasnprintf.c +++ b/gettext-runtime/libasprintf/vasnprintf.c @@ -934,11 +934,11 @@ decode_long_double (long double x, int *ep, mpn_t *mp) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } -#if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess - precision. */ +# if 0 /* On FreeBSD 6.1/x86, 'long double' numbers sometimes have excess + precision. */ if (!(y == 0.0L)) abort (); -#endif +# endif /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; -- 2.47.2