From: Jim Meyering Date: Sun, 3 Mar 2002 22:29:31 +0000 (+0000) Subject: (copy_internal): Remove -r warning; no longer needed. X-Git-Tag: FILEUTILS-4_1_6~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=337e4b174dcf0f959ae113acfb9453849e849328;p=thirdparty%2Fcoreutils.git (copy_internal): Remove -r warning; no longer needed. --- diff --git a/src/copy.c b/src/copy.c index 16493ab4ca..4da2b2190b 100644 --- a/src/copy.c +++ b/src/copy.c @@ -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