From cf3b3080558eb84d79b0dfe73683c7d2b65bb3ac Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 25 Mar 2011 21:12:37 +0100 Subject: [PATCH] printf_fp.c (__quadmath_printf_fp): Use memcpy instead of mempcpy. * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of mempcpy. From-SVN: r171525 --- libquadmath/ChangeLog | 5 +++++ libquadmath/printf/printf_fp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 080b387..942f955 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,8 @@ +2011-03-25 Jakub Jelinek + + * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of + mempcpy. + 2011-03-21 Rainer Orth PR bootstrap/48135 diff --git a/libquadmath/printf/printf_fp.c b/libquadmath/printf/printf_fp.c index 4a63be9..eb66372 100644 --- a/libquadmath/printf/printf_fp.c +++ b/libquadmath/printf/printf_fp.c @@ -1197,7 +1197,7 @@ __quadmath_printf_fp (struct __quadmath_printf_file *fp, if (*copywc == decimalwc) memcpy (cp, decimal, decimal_len), cp += decimal_len; else if (*copywc == thousands_sepwc) - mempcpy (cp, thousands_sep, thousands_sep_len), cp += thousands_sep_len; + memcpy (cp, thousands_sep, thousands_sep_len), cp += thousands_sep_len; else *cp++ = (char) *copywc; } -- 2.7.4