1
0
Fork 0

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

release/1.1
rubidium 2010-11-18 22:26:29 +00:00
parent c7f0518f16
commit f7b2a87292
1 changed files with 5 additions and 1 deletions

View File

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