]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(copy_internal): Remove -r warning; no longer needed.
authorJim Meyering <jim@meyering.net>
Sun, 3 Mar 2002 22:29:31 +0000 (22:29 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Mar 2002 22:29:31 +0000 (22:29 +0000)
src/copy.c

index 16493ab4ca5b8b0938f890cf313f5b6d301bfc55..4da2b2190b1b600abe7cb6dde4a819392ca56af5 100644 (file)
@@ -1406,14 +1406,6 @@ copy_internal (const char *src_path, const char *dst_path,
          goto un_backup;
        }
 
-      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));
-       }
-
       if (!symlink (src_link_val, dst_path))
        free (src_link_val);
       else