]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/UserInfo.pm
Perls older than 5.10 need to use the old method of decoding utf-8 in CGI values...
[git.ikiwiki.info.git] / IkiWiki / UserInfo.pm
index 2ffc51c55feb6978e47c6e2147eaf45c414ef8f5..a0b1327b44fdeac0b3b37e46e863de95a0ad360e 100644 (file)
@@ -17,7 +17,7 @@ sub userinfo_store ($) { #{{{
        
        my $newfile="$config{wikistatedir}/userdb.new";
        my $oldmask=umask(077);
-       my $ret=Storable::lock_store($userinfo, $newfile);
+       my $ret=Storable::lock_nstore($userinfo, $newfile);
        umask($oldmask);
        if (defined $ret && $ret) {
                if (! rename($newfile, "$config{wikistatedir}/userdb")) {