X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsiconv.c;h=d8bc0f08bd74f657cd791be9a06c899611b3e8f1;hb=7aebc8794443afa7792d665b9fc401fd55611cf6;hp=7e9d0fd67d895cafd5792db3a368bf7ad8e720b1;hpb=e886a85739782eec2e0b41af4dbfa0b80bb1f80b;p=yaz-moved-to-github.git diff --git a/src/siconv.c b/src/siconv.c index 7e9d0fd..d8bc0f0 100644 --- a/src/siconv.c +++ b/src/siconv.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: siconv.c,v 1.29 2006-08-31 18:19:53 adam Exp $ + * $Id: siconv.c,v 1.30 2006-12-19 22:41:28 adam Exp $ */ /** * \file siconv.c @@ -432,7 +432,7 @@ static unsigned long yaz_read_marc8_comb(yaz_iconv_t cd, unsigned char *inp, size_t inbytesleft0 = inbytesleft; inp++; inbytesleft--; - while(inbytesleft > 0 && strchr("(,$!", *inp)) + while(inbytesleft > 0 && strchr("(,$!)-", *inp)) { inbytesleft--; inp++;