From 24245013268a99a0d94d53046ac8844b363fa0f8 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 23 Oct 2001 23:52:11 +0000 Subject: Back out read buffer invalidating via __SMOD. It was correct, but not needed because internal buffer cleared on each seek outside of it. --- lib/libc/stdio/fseek.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdio/fseek.c') diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c index b8366f3..2278f31 100644 --- a/lib/libc/stdio/fseek.c +++ b/lib/libc/stdio/fseek.c @@ -225,8 +225,8 @@ _fseeko(fp, offset, whence, ltest) goto dumb; /* - * If the buffer was modified or the file position was changed, - * we have to skip this; see fgetln.c, stdio.c. + * (If the buffer was modified, we have to + * skip this; see fgetln.c.) */ if (fp->_flags & __SMOD) goto abspos; -- cgit v1.1