[ros-diffs] [weiden] 16921: fixed success check in
RtlpCreateAtomHandle,
ExCreateHandle returns EX_INVALID_HANDLE in case of failure. Thx to
Filip
weiden at svn.reactos.com
weiden at svn.reactos.com
Sun Jul 31 20:52:41 CEST 2005
fixed success check in RtlpCreateAtomHandle, ExCreateHandle returns
EX_INVALID_HANDLE in case of failure. Thx to Filip
Modified: trunk/reactos/ntoskrnl/rtl/libsupp.c
_____
Modified: trunk/reactos/ntoskrnl/rtl/libsupp.c
--- trunk/reactos/ntoskrnl/rtl/libsupp.c 2005-07-31 12:11:56 UTC
(rev 16920)
+++ trunk/reactos/ntoskrnl/rtl/libsupp.c 2005-07-31 18:52:36 UTC
(rev 16921)
@@ -260,7 +260,7 @@
HandleIndex = ExCreateHandle(AtomTable->ExHandleTable,
&ExEntry);
- if (HandleIndex != 0)
+ if (HandleIndex != EX_INVALID_HANDLE)
{
/* FIXME - Handle Indexes >= 0xC000 ?! */
if (HandleIndex < 0xC000)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050731/801e44ba/attachment.html
More information about the Ros-diffs
mailing list