Changeset 21971 for trunk/src


Ignore:
Timestamp:
Feb 17, 2012, 11:35:56 AM (14 years ago)
Author:
dmik
Message:

Fix debug build break (r21967 regression).

Some code doesn't actually use RTL_CRITICAL_SECTION which
contains the needed debug fields.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/rsaenh/handle.c

    r21967 r21971  
    6060    InitializeCriticalSection(&lpTable->mutex);
    6161#ifdef DEBUG
    62     lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETBL.mutex");
     62    //lpTable->mutex.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": HANDLETBL.mutex");
    6363#endif
    6464}
     
    8181    HeapFree(GetProcessHeap(), 0, lpTable->paEntries);
    8282#ifdef DEBUG
    83     lpTable->mutex.DebugInfo->Spare[0] = 0;
     83    //lpTable->mutex.DebugInfo->Spare[0] = 0;
    8484#endif
    8585    DeleteCriticalSection(&lpTable->mutex);
  • trunk/src/secur32/secur32.c

    r21967 r21971  
    560560    InitializeCriticalSection(&cs);
    561561#ifdef DEBUG
    562     cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
     562    //cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
    563563#endif
    564564    /* First load built-in providers */
     
    710710    LeaveCriticalSection(&cs);
    711711#ifdef DEBUG
    712     cs.DebugInfo->Spare[0] = 0;
     712    //cs.DebugInfo->Spare[0] = 0;
    713713#endif
    714714    DeleteCriticalSection(&cs);
Note: See TracChangeset for help on using the changeset viewer.