From: Adam Dickmeiss Date: Tue, 29 Oct 1996 14:08:13 +0000 (+0000) Subject: Uses resource lockDir instead of lockPath. X-Git-Tag: ZEBRA.1.0~388 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=74441b6e65b2b60480b5b01e265f0472f048f6fe Uses resource lockDir instead of lockPath. --- diff --git a/index/lockidx.c b/index/lockidx.c index 2c59bdd..91b5ddb 100644 --- a/index/lockidx.c +++ b/index/lockidx.c @@ -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 #include -#include #include "index.h" static int lock_fd = -1; diff --git a/index/lockutil.c b/index/lockutil.c index d59067f..5cd6f86 100644 --- a/index/lockutil.c +++ b/index/lockutil.c @@ -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 #include -#include #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);