X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FUSDB.pm;h=4cd4143bd3b7aca6794a188678ba8d43a3f2b2cb;hb=cdc4f242667e4df3b2923fde3b888759b1256510;hp=89cd9fe5661c9e1988e6e4a2954f58fdf9a2d85f;hpb=8178d787d7cc8040fa8958197582bba5c80e6f59;p=spider.git diff --git a/perl/USDB.pm b/perl/USDB.pm index 89cd9fe5..4cd4143b 100644 --- a/perl/USDB.pm +++ b/perl/USDB.pm @@ -95,7 +95,7 @@ sub load my %dbn; if (-e $dbfn ) { - syscopy($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 $!";