From: minima Date: Sun, 13 Oct 2002 21:00:27 +0000 (+0000) Subject: change syscopy to copy X-Git-Tag: PRE-1-52~154 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=cdc4f242667e4df3b2923fde3b888759b1256510;p=spider.git change syscopy to copy --- 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 $!";