namazu-users-en
[Top] [All Lists]

[Namazu-users-en] Re: cfile_mtime in line 1852

2005-06-15 08:30:27
Bhaskar wrote:

Sometimes, I am getting null value for the
variable cfile_mtime present in line number 1852 of mknmz.

Would like to know under what situation this can happen and how this
will impact the indexing. Will indexing provide wrong result because
of this.

Was not the file deleted while executing mknmz?
(It might be another reason if sometimes generated. )

To our regret, the reason why the problem occurs is not understood in 
information only on this. 

The 1852 line number of mknmz is as follows. 

            my $cfile_mtime = (stat($cfile))[9];

Please add and execute the following block after 1852 lines number
of mknmz. 

unless ($cfile_mtime) {
    if (-f $cfile) {
        print STDERR "FOUND $cfile .\n";
    } else {
        print STDERR "NOT FOUND $cfile .\n";
    }
}

Something might be understood from this result. 

According to circumstances, the index might be destroyed. 
-- 
=====================================================================
TADAMASA TERANISHI
http://www.asahi-net.or.jp/~yw3t-trns/index.htm
Key fingerprint =  474E 4D93 8E97 11F6 662D  8A42 17F5 52F4 10E7 D14E

_______________________________________________
Namazu-users-en mailing list
Namazu-users-en(_at_)namazu(_dot_)org
http://www.namazu.org/cgi-bin/mailman/listinfo/namazu-users-en

<Prev in Thread] Current Thread [Next in Thread>