I modified the ending code in yaz_write_marc8_2 as follows:
if (last)
{
size_t r = flush_combos(cd, outbuf, outbytesleft);
if (r)
{
if (comb)
cd->write_marc8_comb_no--;
else
cd->write_marc8_last = 0;
return r;
}
// My addition starts here
page_chr = " |