]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(cat): Remove `#ifndef ENOSYS', now that it's
authorJim Meyering <jim@meyering.net>
Mon, 16 Jun 2003 09:11:39 +0000 (09:11 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 16 Jun 2003 09:11:39 +0000 (09:11 +0000)
guaranteed to be defined.

src/cat.c

index 9845e58124dad46bff2a851613354b9995f85459..b488acd556726a666232a1428f20d046ccaffd98 100644 (file)
--- 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
                    {