Changeset 1459

Timestamp:
Sep 5, 2004, 11:15:44 PM (21 years ago)
Author:
bird
Message:

bugfixing.

Location:
trunk/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/sharedpm.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r1458 r1459  
    500500int     __libc_spmSocketDeref(int iSocket);
    501501
     502
     503
     504
     505
     506
     507
     508
     509
     510
     511
     512
    502513__END_DECLS
    503514
  • trunk/src/emx/src/lib/sys/sharedpm.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r1458 r1459  
    742742}
    743743
     744
     745
     746
     747
     748
     749
     750
     751
     752
     753
     754
     755
     756
     757
     758
     759
     760
     761
     762
     763
     764
     765
     766
    744767
    745768
     
    16851708        SPM_ASSERT_PTR_NULL(pLeft->core.pPrev);
    16861709
    1687         if (pLeft->core.pNext == pFree->core.pPrev)
     1710        if (pLeft == pFree->core.pPrev)
    16881711        {   /* merge with left free chunk. */
    16891712            pLeft->core.pNext = pFree->core.pNext;
     
    17101733
    17111734    /* Check if we can merge with right hand free chunk. */
    1712     if (pRight && pRight->core.pPrev == pFree->core.pNext)
     1735    if (pRight && pRight == pFree->core.pNext)
    17131736    {   /* merge with right free chunk. */
    17141737        pFree->core.pNext = pRight->core.pNext;
Note: See TracChangeset for help on using the changeset viewer.