projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix yaz-marcdump segfault YAZ-801
[yaz-moved-to-github.git]
/
util
/
yaziconv.c
diff --git
a/util/yaziconv.c
b/util/yaziconv.c
index
cca3317
..
ffb0a21
100644
(file)
--- a/
util/yaziconv.c
+++ b/
util/yaziconv.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-10,7
+10,6
@@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
-#include <ctype.h>
#include <yaz/yaz-util.h>
#include <yaz/yaz-util.h>
@@
-79,7
+78,7
@@
void convert(FILE *inf, yaz_iconv_t cd, int verbose)
return ;
}
else if (e == YAZ_ICONV_EINVAL) /* incomplete input */
return ;
}
else if (e == YAZ_ICONV_EINVAL) /* incomplete input */
- {
+ {
size_t i;
for (i = 0; i<inbytesleft; i++)
inbuf0[i] = inbuf[i];
size_t i;
for (i = 0; i<inbytesleft; i++)
inbuf0[i] = inbuf[i];