diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-10-23 23:52:11 +0000 | 
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-10-23 23:52:11 +0000 | 
| commit | 3f498bf72b7dea1dfc10e65cc688301e07382031 (patch) | |
| tree | 92896c472bd51c5e39d0a10d02fb811ee14f9f98 /lib/libc/stdio/stdio.c | |
| parent | fc16d270b73852dcc6a89b337f67735b7f0caad2 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/stdio.c')
| -rw-r--r-- | lib/libc/stdio/stdio.c | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c index c0860ebaded2..4bee60804d4a 100644 --- a/lib/libc/stdio/stdio.c +++ b/lib/libc/stdio/stdio.c @@ -164,11 +164,6 @@ _sseek(fp, offset, whence)  	errret = errno;  	if (errno == 0)  		errno = serrno; - -	if (errret == 0 && (offset != 0 || whence != SEEK_CUR)) -		/* Disallow fseek() optimization inside read buffer */ -		fp->_flags |= __SMOD; -  	/*  	 * Disallow negative seeks per POSIX.  	 * It is needed here to help upper level caller | 
