Re: non-linux support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Last but not least, this patch drops a hack that probably just can't
even compile on any recent OS :)

Samuel
diff --git a/text-utils/more.c b/text-utils/more.c
index 14af765..45a8e3c 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);
 	}

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux