зеркало из https://github.com/mozilla/pjs.git
Back out a small part of bug 391848 to fix bustage for some people (and add a comment warning about the problem).
This commit is contained in:
Родитель
4ae4444c8a
Коммит
21fd23e1f5
|
@ -810,7 +810,9 @@ BOOL SymGetModuleInfoEspecial(HANDLE aProcess, DWORD aAddr, PIMAGEHLP_MODULE aMo
|
|||
* Not loaded, here's the magic.
|
||||
* Go through all the modules.
|
||||
*/
|
||||
enumRes = _EnumerateLoadedModules(aProcess, callbackEspecial, (PVOID)&aAddr);
|
||||
// Need to cast to PENUMLOADED_MODULES_CALLBACK for some compiler
|
||||
// or platform SDK; see bug 391848.
|
||||
enumRes = _EnumerateLoadedModules(aProcess, (PENUMLOADED_MODULES_CALLBACK)callbackEspecial, (PVOID)&aAddr);
|
||||
if (FALSE != enumRes)
|
||||
{
|
||||
/*
|
||||
|
@ -877,7 +879,9 @@ BOOL SymGetModuleInfoEspecial64(HANDLE aProcess, DWORD64 aAddr, PIMAGEHLP_MODULE
|
|||
* Not loaded, here's the magic.
|
||||
* Go through all the modules.
|
||||
*/
|
||||
enumRes = _EnumerateLoadedModules64(aProcess, callbackEspecial64, (PVOID)&aAddr);
|
||||
// Need to cast to PENUMLOADED_MODULES_CALLBACK for some compiler
|
||||
// or platform SDK; see bug 391848.
|
||||
enumRes = _EnumerateLoadedModules64(aProcess, (PENUMLOADED_MODULES_CALLBACK64)callbackEspecial64, (PVOID)&aAddr);
|
||||
if (FALSE != enumRes)
|
||||
{
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче