зеркало из https://github.com/mozilla/pjs.git
bug 202480. Windows doesn't care about case. ::Contains must not either. r=darin
This commit is contained in:
Родитель
1a3d8d508f
Коммит
b7c3e27952
|
@ -1953,7 +1953,7 @@ nsLocalFile::Contains(nsIFile *inFile, PRBool recur, PRBool *_retval)
|
|||
if ( NS_FAILED(inFile->GetNativeTarget(inFilePath)))
|
||||
inFile->GetNativePath(inFilePath);
|
||||
|
||||
if ( strncmp( myFilePath.get(), inFilePath.get(), myFilePathLen) == 0)
|
||||
if ( PL_strncasecmp( myFilePath.get(), inFilePath.get(), myFilePathLen) == 0)
|
||||
{
|
||||
// now make sure that the |inFile|'s path has a trailing
|
||||
// separator.
|
||||
|
|
Загрузка…
Ссылка в новой задаче