Changeset 1038 for trunk/dll/seeall.c


Ignore:
Timestamp:
Jul 4, 2008, 10:33:59 PM (17 years ago)
Author:
Gregg Young
Message:

More fortify cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/seeall.c

    r1037 r1038  
    11321132    hab2 = WinInitialize(0);
    11331133    if (hab2) {
     1134# ifdef FORTIFY
     1135  Fortify_EnterScope();
     1136# endif
    11341137      hmq2 = WinCreateMsgQueue(hab2, 256);
    11351138      if (hmq2) {
     
    11631166      }
    11641167      else
    1165         WinTerminate(hab2);
     1168        WinTerminate(hab2);
     1169# ifdef FORTIFY
     1170    Fortify_LeaveScope();
     1171# endif
    11661172    }
    11671173  }
     
    16391645  ALLDATA *ad = WinQueryWindowPtr(hwnd, QWL_USER);
    16401646
     1647# ifdef FORTIFY
     1648  Fortify_EnterScope();
     1649# endif
    16411650  if (!DosRequestMutexSem(ad->hmtxScan, SEM_INDEFINITE_WAIT)) {
    16421651    priority_normal();
     
    17501759    WinTerminate(hab2);
    17511760  }
     1761# ifdef FORTIFY
     1762    Fortify_LeaveScope();
     1763# endif
    17521764}
    17531765
     
    20432055  ALLDATA *ad = WinQueryWindowPtr(hwnd, QWL_USER);
    20442056
     2057# ifdef FORTIFY
     2058  Fortify_EnterScope();
     2059# endif
    20452060  if (!DosRequestMutexSem(ad->hmtxScan, SEM_INDEFINITE_WAIT)) {
    20462061    priority_normal();
     
    21022117    WinTerminate(hab2);
    21032118  }
     2119# ifdef FORTIFY
     2120    Fortify_LeaveScope();
     2121# endif
    21042122}
    21052123
Note: See TracChangeset for help on using the changeset viewer.