зеркало из https://github.com/mozilla/gecko-dev.git
ignore spotlight subdirectories when doing local folder discovery, sr=mscott, part of 290057
This commit is contained in:
Родитель
69506e4f95
Коммит
32875d5b06
|
@ -220,7 +220,9 @@ nsShouldIgnoreFile(nsString& name)
|
|||
name.LowerCaseEqualsLiteral("feeditems.rdf"))
|
||||
return PR_TRUE;
|
||||
|
||||
return (nsStringEndsWith(name,".sbd") || nsStringEndsWith(name,SUMMARY_SUFFIX));
|
||||
// The .mozmsgs dir is for spotlight support
|
||||
return (nsStringEndsWith(name, ".mozmsgs") || nsStringEndsWith(name,".sbd") ||
|
||||
nsStringEndsWith(name,SUMMARY_SUFFIX));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче