diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-29 00:32:33 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-29 00:32:33 +0000 |
commit | 1b8c1afd7078c5895dd66edc7a6e8e7aadefce7a (patch) | |
tree | f41e77ccbac9ba6ed537e13b54cf203ee6c1711f /src | |
parent | 25aebae77d29f2984078606f0789a6db36218ea9 (diff) | |
download | coreutils-1b8c1afd7078c5895dd66edc7a6e8e7aadefce7a.tar.xz |
(main): Don't test whether macros like
S_ISLNK are defined, since they're always defined now.
Diffstat (limited to 'src')
-rw-r--r-- | src/mknod.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mknod.c b/src/mknod.c index 0bda22073..43a1b9dcc 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -208,12 +208,8 @@ main (int argc, char **argv) break; case 'p': /* `pipe' */ -#ifndef S_ISFIFO - error (EXIT_FAILURE, 0, _("fifo files not supported")); -#else if (mkfifo (argv[optind], newmode) != 0) error (EXIT_FAILURE, errno, "%s", quote (argv[optind])); -#endif break; default: |