* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lockidx.c,v $
- * Revision 1.18 2000-02-24 11:00:07 adam
+ * Revision 1.19 2000-09-05 14:04:05 adam
+ * Updates for prefix 'yaz_' for YAZ log functions.
+ *
+ * Revision 1.18 2000/02/24 11:00:07 adam
* Fixed bug: indexer would run forever when lock dir was non-existant.
*
* Revision 1.17 1999/12/08 15:03:11 adam
{
char path[1024];
- zebra_lock_destroy (server_lock_main);
- server_lock_main = 0;
zebra_lock_prefix (common_resource, path);
strcat (path, FNAME_MAIN_LOCK);
if (unlink (path) && errno != ENOENT)
logf (LOG_WARN|LOG_ERRNO, "unlink %s failed", path);
+ zebra_lock_destroy (server_lock_main);
+ server_lock_main = 0;
}
int zebraIndexLock (BFiles bfs, int commitNow, const char *rval)