From: Jim Meyering Date: Sun, 30 Nov 1997 11:02:47 +0000 (+0000) Subject: (full_filename): Use memcpy, not mempcpy when not using the return value. X-Git-Tag: TEXTUTILS-1_22c~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7ecccf234f792a8feac54019dc18232e5a176ef;p=thirdparty%2Fcoreutils.git (full_filename): Use memcpy, not mempcpy when not using the return value. --- diff --git a/src/rm.c b/src/rm.c index cdd2036a20..12ef6c7e91 100644 --- a/src/rm.c +++ b/src/rm.c @@ -434,7 +434,7 @@ full_filename (const char *filename) /* Copy directory part, including trailing slash, and then append the filename part, including a trailing zero byte. */ - mempcpy (mempcpy (buf, dir_name, dir_len), filename, filename_len + 1); + memcpy (mempcpy (buf, dir_name, dir_len), filename, filename_len + 1); assert (strlen (buf) + 1 == n_bytes_needed);