Changeset 1038 for trunk/dll/killproc.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/killproc.c

    r1036 r1038  
    8484  MODINFO *pmi;
    8585
     86# ifdef FORTIFY
     87  Fortify_EnterScope();
     88# endif
    8689  thab = WinInitialize(0);
    8790  thmq = WinCreateMsgQueue(thab, 0);
     
    134137  DecrThreadUsage();
    135138  WinTerminate(thab);
     139# ifdef FORTIFY
     140    Fortify_LeaveScope();
     141# endif
    136142}
    137143
     
    147153  QSLREC *pmi;
    148154
     155# ifdef FORTIFY
     156  Fortify_EnterScope();
     157# endif
    149158  thab = WinInitialize(0);
    150159  thmq = WinCreateMsgQueue(thab, 0);
     
    197206  DecrThreadUsage();
    198207  WinTerminate(thab);
     208# ifdef FORTIFY
     209    Fortify_LeaveScope();
     210# endif
    199211}
    200212
     
    215227  DosError(FERR_DISABLEHARDERR);
    216228
     229# ifdef FORTIFY
     230  Fortify_EnterScope();
     231# endif
    217232  thab = WinInitialize(0);
    218233  thmq = WinCreateMsgQueue(thab, 0);
    219234  WinCancelShutdown(thmq, TRUE);
    220235  IncrThreadUsage();
    221 # ifdef FORTIFY
    222   Fortify_EnterScope();
    223 # endif
    224236
    225237  WinSendDlgItemMsg(hwnd, KILL_LISTBOX, LM_DELETEALL, MPVOID, MPVOID);
     
    289301    }
    290302    fclose(fp);
    291 # ifdef FORTIFY
    292     Fortify_LeaveScope(pszSrcFile, __LINE__);
    293 # endif
    294303  }
    295304Abort:
     
    299308  DecrThreadUsage();
    300309  WinTerminate(thab);
     310# ifdef FORTIFY
     311    Fortify_LeaveScope();
     312# endif
    301313}
    302314
Note: See TracChangeset for help on using the changeset viewer.