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 | |
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.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/mknod.c | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -5,6 +5,7 @@ * src/cp.c (main): Likewise. * src/ln.c (main): Likewise. * src/ls.c (get_link_name, make_link_name): Likewise. + * src/mknod.c (main): Likewise. * src/mkfifo.c (usage): Likewise. * src/who.c (S_IWGRP): Likewise. 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: |