projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #316: Numerical sort does not work for search.
[idzebra-moved-to-github.git]
/
recctrl
/
marcread.c
diff --git
a/recctrl/marcread.c
b/recctrl/marcread.c
index
48d7437
..
0719d54
100644
(file)
--- a/
recctrl/marcread.c
+++ b/
recctrl/marcread.c
@@
-1,6
+1,6
@@
-/* $Id: marcread.c,v 1.28 2004-12-13 20:51:32 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: marcread.c,v 1.31 2005-03-31 12:42:06 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-652,7
+652,7
@@
static int is_empty(char *s)
for (p = s; *p; p++)
{
for (p = s; *p; p++)
{
- if (!isspace(*p))
+ if (!isspace(*(unsigned char *)p))
return 0;
}
return 1;
return 0;
}
return 1;
@@
-804,6
+804,7
@@
static int retrieve_marc(void *clientData, struct recRetrieveCtrl *ctrl)
}
static struct recType marc_type = {
}
static struct recType marc_type = {
+ 0,
"grs.marc",
init_marc,
config_marc,
"grs.marc",
init_marc,
config_marc,
@@
-823,6
+824,7
@@
static int retrieve_marcxml(void *clientData, struct recRetrieveCtrl *ctrl)
}
static struct recType marcxml_type = {
}
static struct recType marcxml_type = {
+ 0,
"grs.marcxml",
init_marc,
config_marc,
"grs.marcxml",
init_marc,
config_marc,