printf_fp.c (__quadmath_printf_fp): Use memcpy instead of mempcpy.
authorJakub Jelinek <jakub@redhat.com>
Fri, 25 Mar 2011 20:12:37 +0000 (21:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 25 Mar 2011 20:12:37 +0000 (21:12 +0100)
* printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
mempcpy.

From-SVN: r171525

libquadmath/ChangeLog
libquadmath/printf/printf_fp.c

index 080b387b89aa32ec489a0109bac6fc6ee52dd140..942f955d34bff89a147f169ef4e94c47f8d3a906 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 4a63be9f8a34a4f62247acdbbd4a972b439a5c34..eb663726da14fa3129f2cfc0caa3f381930c8058 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;
        }