[ros-diffs] [ion] 24997: - Fix a bug in DbgkOpenHandles which was causing file handles to get lost. - Process create, thread create and DLL load events are now working perfectly. See http://www.tinykrnl.org/dbgworking.png

ion at svn.reactos.org ion at svn.reactos.org
Thu Nov 30 19:30:06 CET 2006


Author: ion
Date: Thu Nov 30 21:30:05 2006
New Revision: 24997

URL: http://svn.reactos.org/svn/reactos?rev=24997&view=rev
Log:
- Fix a bug in DbgkOpenHandles which was causing file handles to get lost.
- Process create, thread create and DLL load events are now working perfectly. See http://www.tinykrnl.org/dbgworking.png

Modified:
    trunk/reactos/ntoskrnl/dbgk/debug.c

Modified: trunk/reactos/ntoskrnl/dbgk/debug.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/dbgk/debug.c?rev=24997&r1=24996&r2=24997&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/dbgk/debug.c (original)
+++ trunk/reactos/ntoskrnl/dbgk/debug.c Thu Nov 30 21:30:05 2006
@@ -1039,7 +1039,7 @@
                                    0,
                                    DUPLICATE_SAME_ACCESS,
                                    KernelMode);
-        if (NT_SUCCESS(Status)) *DupHandle = NULL;
+        if (!NT_SUCCESS(Status)) *DupHandle = NULL;
 
         /* Close the original handle */
         ObCloseHandle(Handle, KernelMode);




More information about the Ros-diffs mailing list