[ros-diffs] [gvg] 20280: The function epilog is responsible for removing the final exception frame

gvg at svn.reactos.com gvg at svn.reactos.com
Tue Dec 20 21:43:07 CET 2005


The function epilog is responsible for removing the final exception
frame
Modified: trunk/reactos/lib/rtl/i386/exception.c
  _____  

Modified: trunk/reactos/lib/rtl/i386/exception.c
--- trunk/reactos/lib/rtl/i386/exception.c	2005-12-20 20:36:38 UTC
(rev 20279)
+++ trunk/reactos/lib/rtl/i386/exception.c	2005-12-20 20:42:30 UTC
(rev 20280)
@@ -333,7 +333,10 @@

             RegistrationFrame2 = RegistrationFrame2->Next;
 
             /* Remove this handler */
-            RtlpSetExceptionList(OldFrame);
+            if (RegistrationFrame2 != RegistrationFrame)
+            {
+                RtlpSetExceptionList(OldFrame);
+            }
         }
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051220/02806cfc/attachment.html


More information about the Ros-diffs mailing list