It would appear to me that this code at line 1593 in Fink/Engine.pm:

my $dir = IO::Handle->new();
if (opendir($dir, "$basepath/fink/dists"))
{
        for my $entry (readdir($dir))
        {
                if ($entry =~ /^stamp-/)
                {
                        $cache_file = $basepath . '/fink/dists/' . $entry;
                        last;
                }
        }
        closedir($dir);
}
else
{
        warn "unable to open $basepath/fink/dists: $!";
}

...is causing the problem by getting the wrong file and then checking the
modified time of it...

[seven:ben][/sw]$ ls /sw/fink/dists/stamp-*
-rw-------   1 root  admin  0 Jun  9  2006 /sw/fink/dists/stamp-rel-0.8.1
-rw-r--r--   1 root  admin  0 Mar 20 13:48 /sw/fink/dists/stamp-rsync-live

Obviously the intent was to have it choose the stamp-rsync* or stamp-cvs* file 
not the point release file.  Just below this, it checks to see if $cache_file 
exists or has a modified date greater than 14 days.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to