/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: read-grs.c,v 1.9 2004-11-18 15:18:14 heikki Exp $
+ * $Id: read-grs.c,v 1.12 2005-01-15 19:47:16 adam Exp $
*/
/*
#include <stdlib.h>
#include <yaz/proto.h>
-#include <yaz/ylog.h>
+#include <yaz/log.h>
#define GRS_MAX_FIELDS 50
while (fgets(buf = line, 512, f))
{
- while (*buf && isspace(*buf))
+ while (*buf && isspace(*(unsigned char *) buf))
buf++;
if (!*buf || *buf == '#')
continue;
if (!(buf = strchr(buf, ')')))
return 0;
buf++;
- while (*buf && isspace(*buf))
+ while (*buf && isspace(*(unsigned char *) buf))
buf++;
if (!*buf)
return 0;