summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-28 23:29:38 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-28 23:29:38 +0000
commit25aebae77d29f2984078606f0789a6db36218ea9 (patch)
tree8e06d8c7722cb5e6de9e460d773c91f8495cfb52 /src/cp.c
parent023c88aaa0c53038459a8f493ca98de558d31cb7 (diff)
downloadcoreutils-25aebae77d29f2984078606f0789a6db36218ea9.tar.xz
* src/copy.c (copy_internal): Don't test whether macros like
S_ISLNK are defined, since they're always defined now. * src/cp.c (main): Likewise. * src/ln.c (main): Likewise. * src/ls.c (get_link_name, make_link_name): Likewise. * src/mkfifo.c (usage): Likewise. * src/who.c (S_IWGRP): Likewise.
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cp.c b/src/cp.c
index 539180b29..c1751cf74 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -957,12 +957,7 @@ main (int argc, char **argv)
break;
case 's':
-#ifdef S_ISLNK
x.symbolic_link = true;
-#else
- error (EXIT_FAILURE, 0,
- _("symbolic links are not supported on this system"));
-#endif
break;
case 't':