Обсуждение: pgbouncer - pgbouncer: Fix broken alignment in src/slab.c Alignment

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

pgbouncer - pgbouncer: Fix broken alignment in src/slab.c Alignment

От
mkz@pgfoundry.org (User Mkz)
Дата:
Log Message:
-----------
Fix broken alignment in src/slab.c

Alignment macro was buggy, thus resulting in bad alignment.
This means speed hit on x86, but may result in crashes
on arches which are strict on alignment, unless the macro
is pre-defined in OS headers.

No problems from the field have been reported, thus maybe
even the bad alignment happened to be aligned?

Modified Files:
--------------
    pgbouncer/src:
        slab.c (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/slab.c.diff?r1=1.9&r2=1.10)