Обсуждение: orafce - orafce: Rewrite defragmentation() function in a more readable

Поиск
Список
Период
Сортировка

orafce - orafce: Rewrite defragmentation() function in a more readable

От
hlinnaka@pgfoundry.org (User Hlinnaka)
Дата:
Log Message:
-----------
Rewrite defragmentation() function in a more readable way. The logic is
still the same, it first sorts the array and then moves slots and
merges adjacent unused slots. This should also fix bug 1010784, I'm not
100% clear what the bug was, but apparently the old defragmentation()
managed to screw up the list_c counter in some cases.

Modified Files:
--------------
    orafce:
        shmmc.c (r1.16 -> r1.17)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/orafce/orafce/shmmc.c?r1=1.16&r2=1.17)