Ignore:
Timestamp:
Oct 9, 2005, 3:11:51 PM (20 years ago)
Author:
pr
Message:

Update functions using exception handlers to force non-register variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/except.c

    r265 r297  
    128128 +          int your_func(int)
    129129 +          {
    130  +              BOOL    fSemOwned = FALSE;
     130 +              volatile BOOL    fSemOwned = FALSE;
    131131 +
    132132 +              TRY_QUIET(excpt1)           // or TRY_LOUD
     
    188188
    189189/*
    190  *      This file Copyright (C) 1992-99 Ulrich M”ller,
    191  *                                      Monte Copeland,
    192  *                                      Roman Stangl,
    193  *                                      Kim Rasmussen,
    194  *                                      Marc Fiammante,
    195  *                                      John Currier,
    196  *                                      Anthony Cruise.
     190 *      This file Copyright (C) 1992-2005 Ulrich M”ller,
     191 *                                        Monte Copeland,
     192 *                                        Roman Stangl,
     193 *                                        Kim Rasmussen,
     194 *                                        Marc Fiammante,
     195 *                                        John Currier,
     196 *                                        Anthony Cruise.
    197197 *      This file is part of the "XWorkplace helpers" source package.
    198198 *      This is free software; you can redistribute it and/or modify
     
    917917     */
    918918
    919     if (pReportRec->fHandlerFlags & EH_EXIT_UNWIND)
    920        return XCPT_CONTINUE_SEARCH;
    921     if (pReportRec->fHandlerFlags & EH_UNWINDING)
    922        return XCPT_CONTINUE_SEARCH;
    923     if (pReportRec->fHandlerFlags & EH_NESTED_CALL)
     919    // XWP V1.0.4 (2005-10-09) [pr]: Optimize
     920    if (pReportRec->fHandlerFlags & (EH_EXIT_UNWIND | EH_UNWINDING | EH_NESTED_CALL))
    924921       return XCPT_CONTINUE_SEARCH;
    925922
     
    10131010                              PVOID pv)
    10141011{
    1015     if (pReportRec->fHandlerFlags & EH_EXIT_UNWIND)
    1016        return XCPT_CONTINUE_SEARCH;
    1017     if (pReportRec->fHandlerFlags & EH_UNWINDING)
    1018        return XCPT_CONTINUE_SEARCH;
    1019     if (pReportRec->fHandlerFlags & EH_NESTED_CALL)
     1012    // XWP V1.0.4 (2005-10-09) [pr]: Optimize
     1013    if (pReportRec->fHandlerFlags & (EH_EXIT_UNWIND | EH_UNWINDING | EH_NESTED_CALL))
    10201014       return XCPT_CONTINUE_SEARCH;
    10211015
Note: See TracChangeset for help on using the changeset viewer.