zebra_lock_create() now logs an error and returns a null pointer if
authorMike Taylor <mike@indexdata.com>
Thu, 13 Apr 2006 12:42:57 +0000 (12:42 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 13 Apr 2006 12:42:57 +0000 (12:42 +0000)
commit551ff541dcd53447e07c9ba95d4792bd4fc14d80
tree5141b4eb0523266731e5460881255b2c230fbe1d
parentecc6478d1369aad1b66e11be682ceb82d78ee21d
zebra_lock_create() now logs an error and returns a null pointer if
the lock fails, rather then as previously seggy-faulting on a null
indirection.  This happens if, for example, you do "zebraidx init"
using a configuration that asks for the lock-files to be put into a
non-existent directory.
util/flock.c