projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change syscopy to copy
[spider.git]
/
perl
/
USDB.pm
diff --git
a/perl/USDB.pm
b/perl/USDB.pm
index 89cd9fe5661c9e1988e6e4a2954f58fdf9a2d85f..4cd4143bd3b7aca6794a188678ba8d43a3f2b2cb 100644
(file)
--- a/
perl/USDB.pm
+++ b/
perl/USDB.pm
@@
-95,7
+95,7
@@
sub load
my %dbn;
if (-e $dbfn ) {
my %dbn;
if (-e $dbfn ) {
-
sys
copy($dbfn, "$dbfn.new") or return "cannot copy $dbfn -> $dbfn.new $!";
+ copy($dbfn, "$dbfn.new") or return "cannot copy $dbfn -> $dbfn.new $!";
}
tie %dbn, 'DB_File', "$dbfn.new", O_RDWR|O_CREAT, 0664, $a or return "cannot tie $dbfn.new $!";
}
tie %dbn, 'DB_File', "$dbfn.new", O_RDWR|O_CREAT, 0664, $a or return "cannot tie $dbfn.new $!";