summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@rho.meyering.net>2007-08-28 09:11:36 +0200
committerJim Meyering <jim@meyering.net>2007-08-28 11:23:27 +0200
commitc370a7e62f651006b9b1816eada98c8a23961431 (patch)
tree9eba4793d67ebecebf9aa0d3e654ec1896573a3e /src/copy.c
parentcbdbbc4a58970b514bbefcf926d5ff0b785e376a (diff)
downloadcoreutils-c370a7e62f651006b9b1816eada98c8a23961431.tar.xz
Reflect renaming: mreadlink-with-size -> areadlink-with-size.
* bootstrap.conf: Update module name. * src/copy.c (copy_internal): Update header and function names. * src/ls.c (get_link_name): Likewise. * src/readlink.c (main): Likewise. * src/stat.c (print_stat): Likewise.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/copy.c b/src/copy.c
index c1d8519d5..92588bf14 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -53,7 +53,7 @@
#include "utimecmp.h"
#include "utimens.h"
#include "write-any-file.h"
-#include "mreadlink.h"
+#include "areadlink.h"
#include "yesno.h"
#ifndef HAVE_FCHOWN
@@ -1815,7 +1815,7 @@ copy_internal (char const *src_name, char const *dst_name,
}
else if (S_ISLNK (src_mode))
{
- char *src_link_val = mreadlink_with_size (src_name, src_sb.st_size);
+ char *src_link_val = areadlink_with_size (src_name, src_sb.st_size);
if (src_link_val == NULL)
{
error (0, errno, _("cannot read symbolic link %s"), quote (src_name));
@@ -1836,7 +1836,7 @@ copy_internal (char const *src_name, char const *dst_name,
in some cases, e.g., if the destination symlink has the
wrong ownership, permissions, or time stamps. */
char *dest_link_val =
- mreadlink_with_size (dst_name, dst_sb.st_size);
+ areadlink_with_size (dst_name, dst_sb.st_size);
if (dest_link_val && STREQ (dest_link_val, src_link_val))
same_link = true;
free (dest_link_val);