xbmc/xbmc — pull request #1042 by eriklundberg (2012-06-03 17:54:48+00:00)
Title: Bug when cleaning the database from rar files

Since the CRarFile::Exist method looks for files in the rar cache, it might return false positives when a file exists in the cache but not in the filesystem.

This small fix solves that problem by adding a check to the RarFile::Exists method, checking for the file in the filesystem using the CFile::Exists-method. If so; it continues by looking for the file in the archive, else it returns false.