summaryrefslogtreecommitdiff
path: root/src/mkfifo.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/mkfifo.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/mkfifo.c')
-rw-r--r--src/mkfifo.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c
index a16d93cb7..d329b79b8 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -43,7 +43,6 @@ static struct option const longopts[] =
{NULL, 0, NULL, 0}
};
-#ifdef S_ISFIFO
void
usage (int status)
{
@@ -69,7 +68,6 @@ Mandatory arguments to long options are mandatory for short options too.\n\
}
exit (status);
}
-#endif
int
main (int argc, char **argv)
@@ -87,9 +85,6 @@ main (int argc, char **argv)
atexit (close_stdout);
-#ifndef S_ISFIFO
- error (EXIT_FAILURE, 0, _("fifo files not supported"));
-#else
while ((optc = getopt_long (argc, argv, "m:", longopts, NULL)) != -1)
{
switch (optc)
@@ -131,5 +126,4 @@ main (int argc, char **argv)
}
exit (exit_status);
-#endif
}