|Description||Implements fcntl(2) locking. no more perm_lock errors|
|If you run a server, then you know of the somewhat annoying perm_lock errors that creep up, requiring your attention before anyone else can start a game.
This patch properly implements fcntl(2) locking on systems that can handle it (*nix systems), that results in the lock being automatically released on program termination, whether abnormal or not.
v1.0: original patch by Drew Streib <email@example.com>
v1.0.1: fixed some warnings related to unused variables and some cosmetic things (reverted some indentations to make less changes in the source) - Edoardo Spadolini
|Download||Get it from us (4.6 Kb)|
|Added||August 25, 2011 17:22|
|Changed||August 27, 2011 22:23|
|Submit an update to this patch|
|5||Karl||March 20, 2012 00:41|
|Works great, even on OS X.[Quote]|
|Edoardo Spadolini||August 30, 2011 19:40|
|Not to mention that the previous patch was for NetHack 3.4.2, and only applied with some fuzzying.[Quote]|