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
Updated configure for Zmbol/Zebra dependent settings.
[idzebra-moved-to-github.git]
/
index
/
main.c
diff --git
a/index/main.c
b/index/main.c
index
e7b0d31
..
d10fbcc
100644
(file)
--- a/
index/main.c
+++ b/
index/main.c
@@
-4,7
+4,13
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: main.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: main.c,v $
- * Revision 1.71 1999-09-08 12:12:06 adam
+ * Revision 1.73 1999-11-30 13:48:03 adam
+ * Improved installation. Updated for inclusion of YAZ header files.
+ *
+ * Revision 1.72 1999/10/14 14:33:50 adam
+ * Added truncation 5=106.
+ *
+ * Revision 1.71 1999/09/08 12:12:06 adam
* Fixed bad message.
*
* Revision 1.70 1999/09/07 07:19:21 adam
* Fixed bad message.
*
* Revision 1.70 1999/09/07 07:19:21 adam
@@
-267,7
+273,7
@@
#include <unistd.h>
#endif
#include <unistd.h>
#endif
-#include <data1.h>
+#include <yaz/data1.h>
#include "index.h"
#include "recindex.h"
#include "index.h"
#include "recindex.h"
@@
-372,6
+378,11
@@
int main (int argc, char **argv)
rGroupDef.bfs =
bfs_create (res_get (common_resource, "register"));
rGroupDef.bfs =
bfs_create (res_get (common_resource, "register"));
+ if (!rGroupDef.bfs)
+ {
+ logf (LOG_FATAL, "Cannot access register");
+ exit(1);
+ }
bf_lockDir (rGroupDef.bfs,
res_get (common_resource, "lockDir"));
bf_lockDir (rGroupDef.bfs,
res_get (common_resource, "lockDir"));