aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/UserInfo.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-19 22:46:51 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-19 22:46:51 -0400
commitc92e9b34ec652748af3a07b329e07c4af7f975d5 (patch)
tree4519f0076acd30b402d51b2beb897db8c1ed559e /IkiWiki/UserInfo.pm
parent127d97066b4e80275afd10fbdf98c683bd27eb43 (diff)
downloadikiwiki-c92e9b34ec652748af3a07b329e07c4af7f975d5.tar
ikiwiki-c92e9b34ec652748af3a07b329e07c4af7f975d5.tar.gz
Store userinfo in network byte order for easy portability. (Old files will be automatically converted.)
Diffstat (limited to 'IkiWiki/UserInfo.pm')
-rw-r--r--IkiWiki/UserInfo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm
index 2ffc51c55..a0b1327b4 100644
--- a/IkiWiki/UserInfo.pm
+++ b/IkiWiki/UserInfo.pm
@@ -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")) {