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
Cast to unsigned char for ctype is.. compare
[idzebra-moved-to-github.git]
/
recctrl
/
marcread.c
diff --git
a/recctrl/marcread.c
b/recctrl/marcread.c
index
a0fdcac
..
68bc7b2
100644
(file)
--- a/
recctrl/marcread.c
+++ b/
recctrl/marcread.c
@@
-1,4
+1,4
@@
-/* $Id: marcread.c,v 1.27 2004-11-19 10:27:12 heikki Exp $
+/* $Id: marcread.c,v 1.29 2005-01-03 19:27:53 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-24,7
+24,6
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <ctype.h>
#include <assert.h>
#include <ctype.h>
#include <assert.h>
-#include <yaz/ylog.h>
#include <yaz/yaz-util.h>
#include <yaz/marcdisp.h>
#include <idzebra/recgrs.h>
#include <yaz/yaz-util.h>
#include <yaz/marcdisp.h>
#include <idzebra/recgrs.h>
@@
-653,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;