projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
941c141
)
Iconv fix: Dont move inbuf pointer for bad init sequence
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Aug 2002 19:34:36 +0000
(19:34 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Aug 2002 19:34:36 +0000
(19:34 +0000)
util/siconv.c
patch
|
blob
|
history
diff --git
a/util/siconv.c
b/util/siconv.c
index
9c28d18
..
a40cc0c
100644
(file)
--- a/
util/siconv.c
+++ b/
util/siconv.c
@@
-2,7
+2,7
@@
* Copyright (c) 1997-2002, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 1997-2002, Index Data
* See the file LICENSE for details.
*
- * $Id: siconv.c,v 1.2 2002-08-27 21:45:28 adam Exp $
+ * $Id: siconv.c,v 1.3 2002-08-28 19:34:36 adam Exp $
*/
/* mini iconv and wrapper for system iconv library (if present) */
*/
/* mini iconv and wrapper for system iconv library (if present) */
@@
-410,11
+410,6
@@
size_t yaz_iconv (yaz_iconv_t cd, char **inbuf, size_t *inbytesleft,
if (cd->my_errno == YAZ_ICONV_EINVAL)
return r;
cd->init_flag = 0;
if (cd->my_errno == YAZ_ICONV_EINVAL)
return r;
cd->init_flag = 0;
- if (cd->my_errno == YAZ_ICONV_EILSEQ)
- {
- *inbytesleft++;
- (*inbuf)++;
- }
return r;
}
*inbytesleft -= no_read;
return r;
}
*inbytesleft -= no_read;