summaryrefslogtreecommitdiff
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
parent127d97066b4e80275afd10fbdf98c683bd27eb43 (diff)
Store userinfo in network byte order for easy portability. (Old files will be automatically converted.)
-rw-r--r--IkiWiki/UserInfo.pm2
-rw-r--r--debian/changelog2
2 files changed, 3 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")) {
diff --git a/debian/changelog b/debian/changelog
index 6dd215f2c..5909f237e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,8 @@ ikiwiki (2.41) UNRELEASED; urgency=low
Fixes previewing of tables when creating a new page.
* German translation update. Closes: #471540
* Time::Duration is no longer used, remove from docs and recommends.
+ * Store userinfo in network byte order for easy portability.
+ (Old files will be automatically converted.)
-- martin f. krafft <madduck@debian.org> Sun, 02 Mar 2008 17:46:38 +0100