/[Search-Estraier]/trunk/scripts/est-spider
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/scripts/est-spider

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 181 by dpavlin, Sat Aug 26 22:33:34 2006 UTC revision 182 by dpavlin, Sat Aug 26 22:35:15 2006 UTC
# Line 310  sub file { Line 310  sub file {
310          return if (! $all && -d $path);          return if (! $all && -d $path);
311    
312          my $mtime = (stat($path))[9] || -1;          my $mtime = (stat($path))[9] || -1;
313          my $mtime_db = eval { $db->get_doc_attr_by_uri("file:///$path", '@mtime') };          my $mtime_db;
314            eval { $db->get_doc_attr_by_uri("file:///$path", '@mtime') } unless ($force);
315          $mtime_db ||= -2;          $mtime_db ||= -2;
316    
317          if ($mtime == $mtime_db) {          if ($mtime == $mtime_db) {

Legend:
Removed from v.181  
changed lines
  Added in v.182

  ViewVC Help
Powered by ViewVC 1.1.26