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
Character set negotiation updates
[idzebra-moved-to-github.git]
/
util
/
zebramap.c
diff --git
a/util/zebramap.c
b/util/zebramap.c
index
71c715a
..
239d05d
100644
(file)
--- a/
util/zebramap.c
+++ b/
util/zebramap.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zebramap.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zebramap.c,v $
- * Revision 1.24 2002-04-04 20:50:37 adam
+ * Revision 1.25 2002-04-05 12:54:29 adam
+ * Using yaz_fclose
+ *
+ * Revision 1.24 2002/04/04 20:50:37 adam
* Multi register works with record paths and data1 profile path
*
* Revision 1.23 2001/11/15 08:41:24 adam
* Multi register works with record paths and data1 profile path
*
* Revision 1.23 2001/11/15 08:41:24 adam
@@
-157,7
+160,7
@@
static void zebra_map_read (ZebraMaps zms, const char *name)
int lineno = 0;
struct zebra_map **zm = 0, *zp;
int lineno = 0;
struct zebra_map **zm = 0, *zp;
- if (!(f = yaz_path_fopen_base(zms->tabpath, name, "r", zms->tabroot)))
+ if (!(f = yaz_fopen(zms->tabpath, name, "r", zms->tabroot)))
{
logf(LOG_WARN|LOG_ERRNO, "%s", name);
return ;
{
logf(LOG_WARN|LOG_ERRNO, "%s", name);
return ;
@@
-267,7
+270,7
@@
static void zebra_map_read (ZebraMaps zms, const char *name)
}
if (zm)
(*zm)->next = NULL;
}
if (zm)
(*zm)->next = NULL;
- fclose (f);
+ yaz_fclose (f);
for (zp = zms->map_list; zp; zp = zp->next)
zms->lookup_array[zp->reg_id] = zp;
for (zp = zms->map_list; zp; zp = zp->next)
zms->lookup_array[zp->reg_id] = zp;