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
This commit is contained in:
Jakub Jelinek 2011-03-25 21:12:37 +01:00 committed by Jakub Jelinek
parent 7657ab90b4
commit cf3b308055
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-03-25 Jakub Jelinek <jakub@redhat.com>
* printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
mempcpy.
2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/48135

View File

@ -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;
}