Store userinfo in network byte order for easy portability. (Old files will be automatically converted.)
parent
127d97066b
commit
c92e9b34ec
|
@ -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")) {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue