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
Version 4.2.34
[yaz-moved-to-github.git]
/
src
/
marc_read_iso2709.c
diff --git
a/src/marc_read_iso2709.c
b/src/marc_read_iso2709.c
index
dcae48c
..
193fc5c
100644
(file)
--- a/
src/marc_read_iso2709.c
+++ b/
src/marc_read_iso2709.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) 1995-2012 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-18,7
+18,6
@@
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <yaz/marcdisp.h>
#include <yaz/wrbuf.h>
#include <yaz/yaz-util.h>
#include <yaz/marcdisp.h>
#include <yaz/wrbuf.h>
#include <yaz/yaz-util.h>
@@
-90,7
+89,7
@@
int yaz_marc_read_iso2709(yaz_marc_t mt, const char *buf, int bsize)
}
/* Check for digits in length+starting info */
while (--l >= 3)
}
/* Check for digits in length+starting info */
while (--l >= 3)
- if (!isdigit(*(const unsigned char *) (buf + entry_p+l)))
+ if (!yaz_isdigit(buf[entry_p + l]))
break;
if (l >= 3)
{
break;
if (l >= 3)
{