|
From: Mojo N. <moj...@us...> - 2004-08-18 03:41:59
|
Update of /cvsroot/sprawler/sprawler/lib/Sprawler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9674/lib/Sprawler Modified Files: Master.pm Log Message: Added creating of necessary directories. Unfortunately master.pl fails on the first pass at creating master_indexes and log directories... on second try it works, something about trying to use the log file prior to the path being defined and it happens when the list needs to be seeded. I'll try to fix it shortly. mojo Index: Master.pm =================================================================== RCS file: /cvsroot/sprawler/sprawler/lib/Sprawler/Master.pm,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** Master.pm 25 Jun 2004 02:31:05 -0000 1.40 --- Master.pm 18 Aug 2004 03:41:37 -0000 1.41 *************** *** 59,63 **** $self->{URLPATHS}=[]; $self->{INDEX_EXT}=[]; - bless ($self, $class); return $self; --- 59,62 ---- *************** *** 335,338 **** --- 334,338 ---- my $fh=shift; my %db=(); + print STDERR "DBFILE $db_file\n"; my $db_obj = tie %db, 'DB_File', "$db_file", O_RDWR|O_CREAT, 0644, $DB_BTREE; my $fd = $db_obj->fd; |