diff options
author | Jim Meyering <jim@meyering.net> | 2006-08-17 15:34:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-08-17 15:34:59 +0000 |
commit | 1b3ac49f0e2c447f42b5252c48212078829d8211 (patch) | |
tree | 56747e0856bd144fb2fdd1e4f25814a09da6b88d /src | |
parent | 2c84e99ee42e813b4d3386d13123ba6e1b81e2ae (diff) | |
download | coreutils-1b3ac49f0e2c447f42b5252c48212078829d8211.tar.xz |
* src/copy.c (copy_internal, same_file_ok): Adjust comments not
to mention the now-removed cp_options.xstat member.
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/copy.c b/src/copy.c index 3bd29e285..0a3f9e504 100644 --- a/src/copy.c +++ b/src/copy.c @@ -590,8 +590,8 @@ same_file_ok (char const *src_name, struct stat const *src_sb, same_link = same; /* If both the source and destination files are symlinks (and we'll - know this here IFF preserving symlinks (aka xstat == lstat), - then it's ok -- as long as they are distinct. */ + know this here IFF preserving symlinks), then it's ok -- as long + as they are distinct. */ if (S_ISLNK (src_sb->st_mode) && S_ISLNK (dst_sb->st_mode)) return ! same_name (src_name, dst_name); @@ -1424,7 +1424,7 @@ copy_internal (char const *src_name, char const *dst_name, if (errno != EXDEV) { /* There are many ways this can happen due to a race condition. - When something happens between the initial xstat and the + When something happens between the initial XSTAT and the subsequent rename, we can get many different types of errors. For example, if the destination is initially a non-directory or non-existent, but it is created as a directory, the rename |