From b8735ae4a07b95005f341c59c65f5ddc9238d1d7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 16 Jun 2003 09:11:39 +0000 Subject: (cat): Remove `#ifndef ENOSYS', now that it's guaranteed to be defined. --- src/cat.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/cat.c') 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 { -- cgit v1.2.3-54-g00ecf