diff options
author | Jim Meyering <jim@meyering.net> | 2001-01-09 16:12:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-01-09 16:12:59 +0000 |
commit | 8740ecf8c0698750b9eaf4f3d62eaecfdfbb5fd8 (patch) | |
tree | 6fb905815758bf528350e87bb27b7c751ab770bf | |
parent | e92e87181b06d4de6a978a8f8fdea70639c05348 (diff) | |
download | coreutils-8740ecf8c0698750b9eaf4f3d62eaecfdfbb5fd8.tar.xz |
add comment
-rw-r--r-- | src/copy.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c index 5fd5699f5..734271b4f 100644 --- a/src/copy.c +++ b/src/copy.c @@ -1180,8 +1180,11 @@ copy (const char *src_path, const char *dst_path, assert (valid_options (options)); - /* Record the file names: they're used in case of error, - when copying a directory into itself. */ + /* Record the file names: they're used in case of error, when copying + a directory into itself. I don't like to make these tools do *any* + extra work in the common case when that work is solely to handle + exceptional cases, but in this case, I don't see a way to derive the + top level source and destination directory names where they're used. */ top_level_src_path = src_path; top_level_dst_path = dst_path; |