From c92e9b34ec652748af3a07b329e07c4af7f975d5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 19 Mar 2008 22:46:51 -0400 Subject: [PATCH] Store userinfo in network byte order for easy portability. (Old files will be automatically converted.) --- IkiWiki/UserInfo.pm | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 Sun, 02 Mar 2008 17:46:38 +0100 -- 2.39.5