зеркало из https://github.com/mozilla/pjs.git
Bug 432617: added a missing _MD_UNLOCK() in IsFileLocal. The patch is
contributed by Martin Furter <mf@rola.ch>. r=wtc.
This commit is contained in:
Родитель
f92ada82f5
Коммит
ddd8ec6dd6
|
@ -3653,7 +3653,10 @@ PRInt32 IsFileLocal(HANDLE hFile)
|
|||
_MD_LOCK(&cachedVolumeLock);
|
||||
while(dwIndex <= dwLastCachedDrive)
|
||||
if (dwCachedVolumeSerialNumbers[dwIndex++] == Info.dwVolumeSerialNumber)
|
||||
{
|
||||
_MD_UNLOCK(&cachedVolumeLock);
|
||||
return _PR_LOCAL_FILE;
|
||||
}
|
||||
_MD_UNLOCK(&cachedVolumeLock);
|
||||
|
||||
// volume serial number not found in the cache. Check removable files.
|
||||
|
|
Загрузка…
Ссылка в новой задаче