ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC.pm (file contents):
Revision 1.204 by root, Wed Jan 14 23:51:18 2009 UTC vs.
Revision 1.207 by root, Tue Sep 15 18:49:55 2009 UTC

17use Carp (); 17use Carp ();
18 18
19our $VERSION; 19our $VERSION;
20 20
21BEGIN { 21BEGIN {
22 $VERSION = '2.03'; 22 $VERSION = '2.05';
23 23
24 use XSLoader; 24 use XSLoader;
25 XSLoader::load "Deliantra::Client", $VERSION; 25 XSLoader::load "Deliantra::Client", $VERSION;
26} 26}
27 27
141sub find_rcfile($) { 141sub find_rcfile($) {
142 my $path; 142 my $path;
143 143
144 for (@RC_PATH, "") { 144 for (@RC_PATH, "") {
145 $path = "$RC_BASE/$_/$_[0]"; 145 $path = "$RC_BASE/$_/$_[0]";
146 return $path if -r $path; 146 return $path if -e $path;
147 } 147 }
148 148
149 die "FATAL: can't find required file \"$_[0]\" in \"$RC_BASE\"\n"; 149 die "FATAL: can't find required file \"$_[0]\" in \"$RC_BASE\"\n";
150} 150}
151 151

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines