[ros-diffs] [fireball] 51083: [RTL] - Limit unimplemented warnings about RtlActivateActivationContextUnsafeFast calls for now so that they don't flood the log too much.

fireball at svn.reactos.org fireball at svn.reactos.org
Thu Mar 17 14:24:34 UTC 2011


Author: fireball
Date: Thu Mar 17 14:24:34 2011
New Revision: 51083

URL: http://svn.reactos.org/svn/reactos?rev=51083&view=rev
Log:
[RTL]
- Limit unimplemented warnings about RtlActivateActivationContextUnsafeFast calls for now so that they don't flood the log too much.

Modified:
    trunk/reactos/lib/rtl/actctx.c

Modified: trunk/reactos/lib/rtl/actctx.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/actctx.c?rev=51083&r1=51082&r2=51083&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/actctx.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/actctx.c [iso-8859-1] Thu Mar 17 14:24:34 2011
@@ -2735,7 +2735,12 @@
 RtlActivateActivationContextUnsafeFast(IN PRTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_EXTENDED Frame,
                                        IN PVOID Context)
 {
-    UNIMPLEMENTED;
+    static int i;
+
+    if (i == 0)
+        UNIMPLEMENTED;
+    i++;
+
     return STATUS_NOT_IMPLEMENTED;
 }
 
@@ -2743,7 +2748,12 @@
 NTAPI
 RtlDeactivateActivationContextUnsafeFast(IN PRTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_EXTENDED Frame)
 {
-    UNIMPLEMENTED;
+    static int i;
+
+    if (i == 0)
+        UNIMPLEMENTED;
+    i++;
+
     return STATUS_NOT_IMPLEMENTED;
 }
 




More information about the Ros-diffs mailing list