]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-file.c
Patrik needs lib/binsearch.h in the library package.
[libucw.git] / lib / fb-file.c
index bd0f4d1ef41800fd9a6b06210c79e94f3811d090..a7290cbf8688f9de261a38c4e50dbb9584eee91e 100644 (file)
@@ -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;