mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
* src/copy.c (set_author) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Correctly access SRC_SB's element ST_AUTHOR.
This commit is contained in:
1 parent
2f418ef97d
commit
256d18e81b
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
+1
-1
@@ -221,7 +221,7 @@ set_author (const char *dst_name, int dest_desc, const struct stat *src_sb)
|
||||
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));
|
||||
|
||||
Reference in new issue
Block a user