mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +00:00
[RTL] Change comment to indicate a hack
This commit is contained in:
parent
6ab81dcc31
commit
5ec739bf2e
1 changed files with 2 additions and 2 deletions
|
@ -369,7 +369,7 @@ RtlpFreeDebugInfo(PRTL_CRITICAL_SECTION_DEBUG DebugInfo)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Wine stores a section name pointer in the Flags member */
|
/* HACK for Wine: stores a section name pointer in the Flags member */
|
||||||
DPRINT("Assuming static: %p inside Process: %p\n",
|
DPRINT("Assuming static: %p inside Process: %p\n",
|
||||||
DebugInfo,
|
DebugInfo,
|
||||||
NtCurrentTeb()->ClientId.UniqueProcess);
|
NtCurrentTeb()->ClientId.UniqueProcess);
|
||||||
|
@ -415,7 +415,7 @@ RtlDeleteCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
/* Remove it from the list */
|
/* Remove it from the list */
|
||||||
RemoveEntryList(&CriticalSection->DebugInfo->ProcessLocksList);
|
RemoveEntryList(&CriticalSection->DebugInfo->ProcessLocksList);
|
||||||
#if 0
|
#if 0
|
||||||
/* We need to preserve Flags for RtlpFreeDebugInfo */
|
/* HACK for Wine: We need to preserve Flags for RtlpFreeDebugInfo */
|
||||||
RtlZeroMemory(CriticalSection->DebugInfo, sizeof(RTL_CRITICAL_SECTION_DEBUG));
|
RtlZeroMemory(CriticalSection->DebugInfo, sizeof(RTL_CRITICAL_SECTION_DEBUG));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue