lockf is entirely useless and it was a mistake to change to it, go back
authornicm <nicm@openbsd.org>
Mon, 21 Jul 2014 10:52:48 +0000 (10:52 +0000)
committernicm <nicm@openbsd.org>
Mon, 21 Jul 2014 10:52:48 +0000 (10:52 +0000)
commita5035d44b9049e26924ee086d691aa550696966b
tree2db8e589e0fecf876706ed48eef75b3d84c5d83c
parentdfe29c0a30afa4b86158375316f4260cbc0454b8
lockf is entirely useless and it was a mistake to change to it, go back
to using flock which actually works sensibly. Also always retry the lock
to fix a potential race, and add some extra logging.
usr.bin/tmux/client.c
usr.bin/tmux/server.c