2 * Copyright (C) 1994-1995, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.1 1995-12-07 17:38:47 adam
8 * Work locking mechanisms for concurrent updates/commit.
22 static char *lockDir = NULL;
24 void zebraLockPrefix (char *pathPrefix)
27 lockDir = res_get_def (common_resource, "lockDir", "");
30 strcpy (pathPrefix, lockDir);
31 if (*pathPrefix && pathPrefix[strlen(pathPrefix)-1] != '/')
32 strcat (pathPrefix, "/");