summaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 20:12:37 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-25 20:12:37 +0000
commitd60151bdb00dd469765ac4427e28caf042aef600 (patch)
tree7a933efcb896ac336286893ac49db4f2df1ccd40 /libquadmath
parenta4eba91bd30b463736e269e383ba8703d20d4627 (diff)
downloadlinaro-gcc-d60151bdb00dd469765ac4427e28caf042aef600.tar.gz
linaro-gcc-d60151bdb00dd469765ac4427e28caf042aef600.tar.bz2
linaro-gcc-d60151bdb00dd469765ac4427e28caf042aef600.zip
* 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
Diffstat (limited to 'libquadmath')
-rw-r--r--libquadmath/ChangeLog5
-rw-r--r--libquadmath/printf/printf_fp.c2
2 files changed, 6 insertions, 1 deletions
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 <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
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;
}