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.253 by root, Wed Apr 18 17:32:07 2007 UTC vs.
Revision 1.254 by root, Thu Apr 19 11:12:45 2007 UTC

1352 1352
1353# the original (read-only) location 1353# the original (read-only) location
1354sub load_path { 1354sub load_path {
1355 my ($self) = @_; 1355 my ($self) = @_;
1356 1356
1357 "$MAPDIR($self->{path}" 1357 "$MAPDIR/$self->{path}.map"
1358} 1358}
1359 1359
1360# the temporary/swap location 1360# the temporary/swap location
1361sub save_path { 1361sub save_path {
1362 my ($self) = @_; 1362 my ($self) = @_;
1363 1363
1364 (my $path = $_[0]{path}) =~ s/\//$PATH_SEP/g; 1364 (my $path = $_[0]{path}) =~ s/\//$PATH_SEP/g;
1365 "$TMPDIR/$path" 1365 "$TMPDIR/$path.map"
1366} 1366}
1367 1367
1368# the unique path, undef == no special unique path 1368# the unique path, undef == no special unique path
1369sub uniq_path { 1369sub uniq_path {
1370 my ($self) = @_; 1370 my ($self) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines