From bcfbac934972d0e4e7dea8f40302f606715a2580 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Jul 2002 20:06:41 +0000 Subject: (copy_internal): Use file_name_lookup, not getdport. Patch by Alfred M. Szmidt. --- src/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copy.c b/src/copy.c index ed71e5eb2..99f02868a 100644 --- a/src/copy.c +++ b/src/copy.c @@ -1517,7 +1517,7 @@ copy_internal (const char *src_path, const char *dst_path, #if HAVE_STRUCT_STAT_ST_AUTHOR /* Preserve the st_author field. */ { - file_t file = getdport (dst_path); + file_t file = file_name_lookup (dst_path, 0, 0); if (file_chauthor (file, src_sb.st_author)) error (0, errno, _("failed to preserve authorship for %s"), quote (dst_path)); -- cgit v1.2.3-54-g00ecf