From: Samuel Thibault Date: Sun, 4 Nov 2007 16:39:36 +0000 (+0000) Subject: more: non-linux support X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7346930308bc92f51aeaaf329534830bdfeeee2b;p=util-linux more: non-linux support Signed-Off-By: Samuel Thibault --- diff --git a/text-utils/more.c b/text-utils/more.c index 8266c058..36c26ead 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -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); }