From d60151bdb00dd469765ac4427e28caf042aef600 Mon Sep 17 00:00:00 2001 From: jakub Date: Fri, 25 Mar 2011 20:12:37 +0000 Subject: * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of mempcpy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171525 138bc75d-0d04-0410-961f-82ee72b054a4 --- libquadmath/ChangeLog | 5 +++++ libquadmath/printf/printf_fp.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libquadmath') diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 080b387b89a..942f955d34b 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 4a63be9f8a3..eb663726da1 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; } -- cgit v1.2.3