]> err.no Git - util-linux/commitdiff
more: non-linux support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 4 Nov 2007 16:39:36 +0000 (16:39 +0000)
committerKarel Zak <kzak@redhat.com>
Thu, 8 Nov 2007 00:12:42 +0000 (01:12 +0100)
Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
text-utils/more.c

index 8266c05881e8cd1efa7b636061fc8bc9961b123b..36c26ead09f9e462369939d467f83ef0a3998882 100644 (file)
@@ -1573,10 +1573,6 @@ void search(char buf[], FILE *file, register int n)
     }
     if (feof (file)) {
        if (!no_intty) {
-#ifndef __linux__
-                               /* No longer in libc 4.5.8. . . */
-           file->_flags &= ~STDIO_S_EOF_SEEN; /* why doesn't fseek do this ??!!??! */
-#endif
            Currline = saveln;
            Fseek (file, startline);
        }