X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Ffb-file.c;h=a7290cbf8688f9de261a38c4e50dbb9584eee91e;hb=f635f4d406f772b54455331cdf23cc10a361392a;hp=bd0f4d1ef41800fd9a6b06210c79e94f3811d090;hpb=eea73ef26a06a3b1e4508fa305a0dcaaf03df457;p=libucw.git diff --git a/lib/fb-file.c b/lib/fb-file.c index bd0f4d1e..a7290cbf 100644 --- a/lib/fb-file.c +++ b/lib/fb-file.c @@ -57,9 +57,6 @@ bfd_spout(struct fastbuf *f) static int bfd_seek(struct fastbuf *f, sh_off_t pos, int whence) { - if (whence == SEEK_SET && pos == f->pos) - return 1; - sh_off_t l = sh_seek(FB_FILE(f)->fd, pos, whence); if (l < 0) return 0;