X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsiconv.c;h=9caf28c9469411e290589209abb7369860e06de5;hb=c584380ce880fe0e0ba036f476f8a037763eac21;hp=9e5393b89cad8ddf4af040eabc5f90d0b8d8b553;hpb=a51e14df3987e0c5328d0379c059b772aa4976fa;p=yaz-moved-to-github.git diff --git a/src/siconv.c b/src/siconv.c index 9e5393b..9caf28c 100644 --- a/src/siconv.c +++ b/src/siconv.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: siconv.c,v 1.15 2005-11-06 01:28:09 adam Exp $ + * $Id: siconv.c,v 1.16 2005-11-06 01:55:06 adam Exp $ */ /** * \file siconv.c @@ -265,6 +265,13 @@ static unsigned long yaz_read_marc8 (yaz_iconv_t cd, unsigned char *inp, We'll increment the no_read counter by 1, since we want to skip over the processing of the closing ligature character */ + /* this code is no longer necessary.. our handlers code in + yaz_marc8_?_conv (generated by charconv.tcl) now returns + 0 and no_read=1 when a sequence does not match the input. + The SECOND HALFs in codetables.xml produces a non-existant + entry in the conversion trie.. Hence when met, the input byte is + skipped as it should (in yaz_iconv) + */ #if 0 if (x == 0x0361 || x == 0x0360) *no_read += 1;