diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-03-26 10:24:53 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-03-26 10:24:53 +0100 |
commit | e15c1559eab97eb86d54634b5aa1df40e17968be (patch) | |
tree | 5144b18a74ce1d4d3900cf1adf93e9fa84263be5 /libquadmath | |
parent | 43b7253d075629152be2a22c5b42cda3e7b78a69 (diff) | |
download | gcc-e15c1559eab97eb86d54634b5aa1df40e17968be.zip gcc-e15c1559eab97eb86d54634b5aa1df40e17968be.tar.gz gcc-e15c1559eab97eb86d54634b5aa1df40e17968be.tar.bz2 |
backport: printf_fp.c (__quadmath_printf_fp): Use memcpy instead of mempcpy.
Backport from mainline
2011-03-25 Jakub Jelinek <jakub@redhat.com>
* printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
mempcpy.
From-SVN: r171550
Diffstat (limited to 'libquadmath')
-rw-r--r-- | libquadmath/ChangeLog | 8 | ||||
-rw-r--r-- | libquadmath/printf/printf_fp.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 7ff5350..78b3e55 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,11 @@ +2011-03-26 Jakub Jelinek <jakub@redhat.com> + + Backport from mainline + 2011-03-25 Jakub Jelinek <jakub@redhat.com> + + * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of + mempcpy. + 2011-03-25 Release Manager * GCC 4.6.0 released. 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; } |