(svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars

This commit is contained in:
rubidium 2010-11-18 22:26:29 +00:00
parent cc5fd40a74
commit 9ba8361f77

View File

@ -543,7 +543,11 @@ static void SimplifyFileName(char *name)
#endif
}
/* static */ uint TarScanner::DoScan() {
/* static */ uint TarScanner::DoScan()
{
_tar_filelist.clear();
_tar_list.clear();
DEBUG(misc, 1, "Scanning for tars");
TarScanner fs;
uint num = fs.Scan(".tar", DATA_DIR, false);