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
Re-indent. Abort if YAZ is not found. Remove messages about how to run
[idzebra-moved-to-github.git]
/
util
/
res.c
diff --git
a/util/res.c
b/util/res.c
index
4e26a7a
..
fe56609
100644
(file)
--- a/
util/res.c
+++ b/
util/res.c
@@
-1,4
+1,4
@@
-/* $Id: res.c,v 1.47 2005-10-27 08:49:29 adam Exp $
+/* $Id: res.c,v 1.49 2006-05-10 08:13:46 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-379,7
+379,7
@@
ZEBRA_RES res_write_file(Res r, const char *fname)
if (!fr)
{
yaz_log(YLOG_FATAL|YLOG_ERRNO, "Cannot create `%s'", fname);
if (!fr)
{
yaz_log(YLOG_FATAL|YLOG_ERRNO, "Cannot create `%s'", fname);
- exit(1);
+ return ZEBRA_FAIL;
}
for (re = r->first; re; re=re->next)
}
for (re = r->first; re; re=re->next)
@@
-540,3
+540,11
@@
void res_dump (Res r, int level)
res_dump (r->over_res, level + 1);
}
}
res_dump (r->over_res, level + 1);
}
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+