[ros-diffs] [navaraf] 17022: Merge 16921 (weiden) from trunk:

navaraf at svn.reactos.com navaraf at svn.reactos.com
Wed Aug 3 19:20:26 CEST 2005


Merge 16921 (weiden) from trunk:
fixed success check in RtlpCreateAtomHandle, ExCreateHandle returns
EX_INVALID_HANDLE in case of failure. Thx to Filip
Modified: branches/ros-branch-0_2_7/reactos/ntoskrnl/rtl/libsupp.c
  _____  

Modified: branches/ros-branch-0_2_7/reactos/ntoskrnl/rtl/libsupp.c
--- branches/ros-branch-0_2_7/reactos/ntoskrnl/rtl/libsupp.c
2005-08-03 17:19:36 UTC (rev 17021)
+++ branches/ros-branch-0_2_7/reactos/ntoskrnl/rtl/libsupp.c
2005-08-03 17:20:19 UTC (rev 17022)
@@ -242,7 +242,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/20050803/943dfea4/attachment.html


More information about the Ros-diffs mailing list