summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
authorSamuel Thibault2007-11-04 17:39:36 +0100
committerKarel Zak2007-11-08 01:12:42 +0100
commit7346930308bc92f51aeaaf329534830bdfeeee2b (patch)
tree00f05eb9e27bb5d05f7d85b8cddbac827f562ac5 /text-utils
parentmount: use blkdev_get_size() (diff)
downloadkernel-qcow2-util-linux-7346930308bc92f51aeaaf329534830bdfeeee2b.tar.gz
kernel-qcow2-util-linux-7346930308bc92f51aeaaf329534830bdfeeee2b.tar.xz
kernel-qcow2-util-linux-7346930308bc92f51aeaaf329534830bdfeeee2b.zip
more: non-linux support
Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'text-utils')
-rw-r--r--text-utils/more.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/text-utils/more.c b/text-utils/more.c
index 8266c0588..36c26ead0 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);
}