]> mj.ucw.cz Git - libucw.git/blobdiff - lib/bucket.c
`buckettool -c' (cat) now separates buckets by an empty line.
[libucw.git] / lib / bucket.c
index b1ce4afce4a87be611f02759fc84fc08347ed828..f81f03e8d3f5444d0af9d3176edf932f0fe1b5a3 100644 (file)
@@ -435,9 +435,7 @@ obuck_slurp_pool(struct obuck_header *hdrp)
        {
          obuck_lock_read();
          obuck_rpf = bopen(obuck_name, O_RDONLY, obuck_slurp_buflen);
-         bseek(obuck_rpf, 0, SEEK_END);
-         slurp_end = btell(obuck_rpf);
-         bsetpos(obuck_rpf, 0);
+         slurp_end = bfilesize(obuck_rpf);
          obuck_lock_read_to_scan();
        }
       else