summaryrefslogtreecommitdiff
path: root/src/cat.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-16 09:11:39 +0000
committerJim Meyering <jim@meyering.net>2003-06-16 09:11:39 +0000
commitb8735ae4a07b95005f341c59c65f5ddc9238d1d7 (patch)
tree5c1ca638bb30b34ade3df3893968051a8e246cdb /src/cat.c
parent0e79eb8a57b8abf5d041003f1926f2a6f1058366 (diff)
downloadcoreutils-b8735ae4a07b95005f341c59c65f5ddc9238d1d7.tar.xz
(cat): Remove `#ifndef ENOSYS', now that it's
guaranteed to be defined.
Diffstat (limited to 'src/cat.c')
-rw-r--r--src/cat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cat.c b/src/cat.c
index 9845e5812..b488acd55 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -1,5 +1,5 @@
/* cat -- concatenate files and print on the standard output.
- Copyright (C) 88, 90, 91, 1995-2002 Free Software Foundation, Inc.
+ Copyright (C) 88, 90, 91, 1995-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -304,10 +304,7 @@ cat (
Irix-5 returns ENOSYS on pipes. */
if (errno == EOPNOTSUPP || errno == ENOTTY
|| errno == EINVAL || errno == ENODEV
-# ifdef ENOSYS
- || errno == ENOSYS
-# endif
- )
+ || errno == ENOSYS)
use_fionread = 0;
else
{