]> diplodocus.org Git - nmh/commit
lkopen_dot() would block forever if another process held a lock
authorDavid Levine <levinedl@acm.org>
Wed, 9 Apr 2014 02:34:20 +0000 (21:34 -0500)
committerDavid Levine <levinedl@acm.org>
Wed, 9 Apr 2014 02:34:20 +0000 (21:34 -0500)
commitd6e398f9c1aa774ecc336877ac1c465b8f9b942b
treecc9be5c2baa1c3f397adb0d6be41b983e35c4e23
parent1c91be5784ddebaa6a54f1f2c42a8016f10af6de
lkopen_dot() would block forever if another process held a lock
forever.  Changed it to only retry for 60 seconds, like the other
lkopen's.  And have it indicate that it failed to acquire the lock.
sbr/lock_file.c