OSDN Git Service

* printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2011 20:12:37 +0000 (20:12 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2011 20:12:37 +0000 (20:12 +0000)
mempcpy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171525 138bc75d-0d04-0410-961f-82ee72b054a4

libquadmath/ChangeLog
libquadmath/printf/printf_fp.c

index 080b387..942f955 100644 (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
index 4a63be9..eb66372 100644 (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;
        }