--- db/prgsrc/updateRS1.pl 2002/06/15 03:46:31 1.8 +++ db/prgsrc/updateRS1.pl 2002/08/01 01:20:47 1.9 @@ -99,10 +99,11 @@ die "No dictionaries found! Check your c print "Getting words...\n"; print TIME "\t\t".(time-$initime)."\n"; +my $broken=0; for my $commonI(1..$times) { - +last if $broken; print "loading nests\n"; @@ -119,8 +120,8 @@ while ((++$sch<=$qlimit) && (($id, @ss) # и вешаем в массив, индексы которого -- словоформы, # а значения -- списки вопросов. { - - print "$sch $id\n" ;#unless (++$sch % 1); + if (-e "RS_stop") {unlink("RS_stop"); $broken=1;last} + print "$sch $id\n" unless ($sch % 10);#unless (++$sch % 1); searchmark($id); if ($forbidden{$id}) {next}; foreach $fieldnumber (0..$#ss) #перебираем поля