]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
add a comment
authorJim Meyering <jim@meyering.net>
Sat, 2 Mar 2002 17:17:49 +0000 (17:17 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 2 Mar 2002 17:17:49 +0000 (17:17 +0000)
src/copy.c

index eb369b243e650f74dad2ed7103494499804f5835..16493ab4ca5b8b0938f890cf313f5b6d301bfc55 100644 (file)
@@ -1408,6 +1408,8 @@ copy_internal (const char *src_path, const char *dst_path,
 
       if (x->recursive && x->copy_as_regular)
        {
+         /* Warn that applying `cp -r' to symlinks is not portable,
+            but go ahead and preserve the symlink.  */
          error (0, 0, _("%s: WARNING: using -r to copy symbolic\
  links is not portable"), quote (src_path));
        }