Index: branches/ariel/xmldumps-backup/mwbzutils/mwbzlib.c |
— | — | @@ -626,6 +626,7 @@ |
627 | 627 | off_t find_first_bz2_block_from_offset(bz_info_t *bfile, int fin, off_t position, int direction) { |
628 | 628 | off_t seekresult; |
629 | 629 | int res; |
| 630 | + unsigned char buffout[5000]; |
630 | 631 | |
631 | 632 | bfile->bufin_size = BUFINSIZE; |
632 | 633 | bfile->marker = init_marker(); |
— | — | @@ -635,6 +636,8 @@ |
636 | 637 | bfile->bytes_written = 0; |
637 | 638 | bfile->eof = 0; |
638 | 639 | bfile->bits_shifted = -1; |
| 640 | + bfile->bufout = buffout; |
| 641 | + bfile->bufout_size = 5000; |
639 | 642 | |
640 | 643 | bfile->file_size = get_file_size(fin); |
641 | 644 | |