ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.343 by root, Mon Aug 27 01:13:48 2007 UTC vs.
Revision 1.344 by root, Mon Aug 27 02:43:38 2007 UTC

21use Coro::Semaphore; 21use Coro::Semaphore;
22use Coro::AIO; 22use Coro::AIO;
23use Coro::Storable; 23use Coro::Storable;
24use Coro::Util (); 24use Coro::Util ();
25 25
26use JSON::XS 1.4 (); 26use JSON::XS ();
27use BDB (); 27use BDB ();
28use Data::Dumper; 28use Data::Dumper;
29use Digest::MD5; 29use Digest::MD5;
30use Fcntl; 30use Fcntl;
31use YAML::Syck (); 31use YAML::Syck ();
2832# the server's init and main functions 2832# the server's init and main functions
2833 2833
2834sub load_facedata($) { 2834sub load_facedata($) {
2835 my ($path) = @_; 2835 my ($path) = @_;
2836 2836
2837 my $enc = JSON::XS->new->utf8->canonical; 2837 my $enc = JSON::XS->new->utf8->canonical->relaxed;
2838 2838
2839 warn "loading facedata from $path\n"; 2839 warn "loading facedata from $path\n";
2840 2840
2841 my $facedata; 2841 my $facedata;
2842 0 < aio_load $path, $facedata 2842 0 < aio_load $path, $facedata

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines