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:
parent
7657ab90b4
commit
cf3b308055
|
@ -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>
|
2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
PR bootstrap/48135
|
PR bootstrap/48135
|
||||||
|
|
|
@ -1197,7 +1197,7 @@ __quadmath_printf_fp (struct __quadmath_printf_file *fp,
|
||||||
if (*copywc == decimalwc)
|
if (*copywc == decimalwc)
|
||||||
memcpy (cp, decimal, decimal_len), cp += decimal_len;
|
memcpy (cp, decimal, decimal_len), cp += decimal_len;
|
||||||
else if (*copywc == thousands_sepwc)
|
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
|
else
|
||||||
*cp++ = (char) *copywc;
|
*cp++ = (char) *copywc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue