summaryrefslogtreecommitdiff
path: root/src/libc/stdio/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/stdio/file.c')
-rw-r--r--src/libc/stdio/file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libc/stdio/file.c b/src/libc/stdio/file.c
index 984c419..de88a9f 100644
--- a/src/libc/stdio/file.c
+++ b/src/libc/stdio/file.c
@@ -305,10 +305,6 @@ int fseeko(FILE *f, off_t offset, int whence) {
break;
case SEEK_CUR:
base = f->pos;
- // TODO untested
- if (f->readbuf) {
- base -= f->rblen;
- }
break;
case SEEK_END:
base = _sys_getsize(f->fd);