mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
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>
|
||||
|
||||
PR bootstrap/48135
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user