From: Joey Hess Date: Thu, 20 Mar 2008 02:46:51 +0000 (-0400) Subject: Store userinfo in network byte order for easy portability. (Old files will be automat... X-Git-Tag: 2.41~66^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c92e9b34ec652748af3a07b329e07c4af7f975d5;p=ikiwiki.git Store userinfo in network byte order for easy portability. (Old files will be automatically converted.) --- 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