mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 00:13:16 +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
|
||||
{
|
||||
/* 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",
|
||||
DebugInfo,
|
||||
NtCurrentTeb()->ClientId.UniqueProcess);
|
||||
|
@ -415,7 +415,7 @@ RtlDeleteCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
|||
/* Remove it from the list */
|
||||
RemoveEntryList(&CriticalSection->DebugInfo->ProcessLocksList);
|
||||
#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));
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue