master
joey 2006-03-17 18:44:14 +00:00
parent f180afec6c
commit 2971c4293a
1 changed files with 3 additions and 2 deletions

View File

@ -420,7 +420,7 @@ sub lockwiki () { #{{{
}
} #}}}
sub lockwiki () { #{{{
sub unlockwiki () { #{{{
close WIKILOCK;
} #}}}
@ -1134,7 +1134,8 @@ sub cgi_editpage ($$) { #{{{
# presumably the commit will trigger an update
# of the wiki
rcs_commit($message);
unlock_wiki();
# prevent deadlock with post-commit hook
unlockwiki();
}
else {
loadindex();