The intermediate buffer for wrbuf+iconv is increased from 12 to 16
bytes. There may be MARC-8 sequence overflows overwise - with at
least reset (flush).
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: wrbuf.c,v 1.20 2007-09-17 19:14:26 adam Exp $
+ * $Id: wrbuf.c,v 1.21 2007-10-15 12:00:31 adam Exp $
*/
/**
{
if (cd)
{
- char outbuf[12];
+ char outbuf[16];
size_t inbytesleft = size;
const char *inp = buf;
while (inbytesleft)
{
if (cd)
{
- char outbuf[12];
+ char outbuf[16];
size_t outbytesleft = sizeof(outbuf);
char *outp = outbuf;
size_t r = yaz_iconv(cd, 0, 0, &outp, &outbytesleft);