From 7346930308bc92f51aeaaf329534830bdfeeee2b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 4 Nov 2007 16:39:36 +0000 Subject: [PATCH] more: non-linux support Signed-Off-By: Samuel Thibault --- text-utils/more.c | 4 ---- 1 file changed, 4 deletions(-) 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); } -- 2.39.5