Correctly access SRC_SB's element ST_AUTHOR.
+2006-07-26 Thomas Schwinge <tschwinge@gnu.org> (tiny change)
+
+ * src/copy.c (set_author) [HAVE_STRUCT_STAT_ST_AUTHOR]:
+ Correctly access SRC_SB's element ST_AUTHOR.
+
2006-07-26 Jim Meyering <jim@meyering.net>
* tests/ls/stat-failed: Adapt to match new expected output.
error (0, errno, _("failed to lookup file %s"), quote (dst_name));
else
{
- error_t err = file_chauthor (file, src_sb.st_author);
+ error_t err = file_chauthor (file, src_sb->st_author);
if (err)
error (0, err, _("failed to preserve authorship for %s"),
quote (dst_name));