Skip to content

Commit 5ec739b

Browse files
committed
[RTL] Change comment to indicate a hack
1 parent 6ab81dc commit 5ec739b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/lib/rtl/critical.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ RtlpFreeDebugInfo(PRTL_CRITICAL_SECTION_DEBUG DebugInfo)
369369
}
370370
else
371371
{
372-
/* Wine stores a section name pointer in the Flags member */
372+
/* HACK for Wine: stores a section name pointer in the Flags member */
373373
DPRINT("Assuming static: %p inside Process: %p\n",
374374
DebugInfo,
375375
NtCurrentTeb()->ClientId.UniqueProcess);
@@ -415,7 +415,7 @@ RtlDeleteCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
415415
/* Remove it from the list */
416416
RemoveEntryList(&CriticalSection->DebugInfo->ProcessLocksList);
417417
#if 0
418-
/* We need to preserve Flags for RtlpFreeDebugInfo */
418+
/* HACK for Wine: We need to preserve Flags for RtlpFreeDebugInfo */
419419
RtlZeroMemory(CriticalSection->DebugInfo, sizeof(RTL_CRITICAL_SECTION_DEBUG));
420420
#endif
421421
}

0 commit comments

Comments
 (0)