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
Added include stdlib.h a few places to get prototype for atoi/exit/..
[idzebra-moved-to-github.git]
/
rset
/
rsisamc.c
diff --git
a/rset/rsisamc.c
b/rset/rsisamc.c
index
4f8fad1
..
09a0c29
100644
(file)
--- a/
rset/rsisamc.c
+++ b/
rset/rsisamc.c
@@
-1,6
+1,6
@@
-/* $Id: rsisamc.c,v 1.32 2004-11-15 23:13:12 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: rsisamc.c,v 1.35 2005-01-15 19:38:34 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.
@@
-97,7
+97,7
@@
RSFD r_open (RSET ct, int flag)
yaz_log(log_level, "risamc_open");
if (flag & RSETF_WRITE)
{
yaz_log(log_level, "risamc_open");
if (flag & RSETF_WRITE)
{
- yaz_log(LOG_FATAL, "ISAMC set type is read-only");
+ yaz_log(YLOG_FATAL, "ISAMC set type is read-only");
return NULL;
}
rfd = rfd_create_base(ct);
return NULL;
}
rfd = rfd_create_base(ct);
@@
-128,13
+128,13
@@
static int r_read (RSFD rfd, void *buf, TERMID *term)
r = isc_pp_read(p->pt, buf);
if (term)
*term = rfd->rset->term;
r = isc_pp_read(p->pt, buf);
if (term)
*term = rfd->rset->term;
- yaz_log(log_level,"read returning term %p", *term);
+ yaz_log(log_level, "isamc.r_read");
return r;
}
static int r_write (RSFD rfd, const void *buf)
{
return r;
}
static int r_write (RSFD rfd, const void *buf)
{
- yaz_log(LOG_FATAL, "ISAMC set type is read-only");
+ yaz_log(YLOG_FATAL, "ISAMC set type is read-only");
return -1;
}
return -1;
}