Uses resource lockDir instead of lockPath.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 29 Oct 1996 14:08:13 +0000 (14:08 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 29 Oct 1996 14:08:13 +0000 (14:08 +0000)
index/lockidx.c
index/lockutil.c

index 2c59bdd..91b5ddb 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: lockidx.c,v $
- * Revision 1.6  1996-03-26 16:01:13  adam
+ * Revision 1.7  1996-10-29 14:08:13  adam
+ * Uses resource lockDir instead of lockPath.
+ *
+ * Revision 1.6  1996/03/26 16:01:13  adam
  * New setting lockPath: directory of various lock files.
  *
  * Revision 1.5  1995/12/13  08:46:09  adam
@@ -36,7 +39,6 @@
 #include <string.h>
 #include <errno.h>
 
-#include <alexutil.h>
 #include "index.h"
 
 static int lock_fd = -1;
index d59067f..5cd6f86 100644 (file)
@@ -4,7 +4,10 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: lockutil.c,v $
- * Revision 1.5  1996-03-26 16:01:13  adam
+ * Revision 1.6  1996-10-29 14:08:14  adam
+ * Uses resource lockDir instead of lockPath.
+ *
+ * Revision 1.5  1996/03/26 16:01:13  adam
  * New setting lockPath: directory of various lock files.
  *
  * Revision 1.4  1995/12/13  08:46:10  adam
@@ -32,7 +35,6 @@
 #include <sys/types.h>
 #include <unistd.h>
 
-#include <alexutil.h>
 #include "index.h"
 
 static char *lockDir = NULL;
@@ -40,7 +42,7 @@ static char *lockDir = NULL;
 void zebraLockPrefix (char *pathPrefix)
 {
     if (!lockDir)
-        lockDir = res_get_def (common_resource, "lockPath", "");
+        lockDir = res_get_def (common_resource, "lockDir", "");
     assert (lockDir);
     
     strcpy (pathPrefix, lockDir);