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

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgbouncer - pgbouncer: Fix broken alignment in src/slab.c Alignment
Date: 2009-04-07 09:31:42
Message-ID: 20090407093142.8B7E417ADE80@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Sas 2009-04-07 15:12:42 slony1-ctl - slony-ctl: Translation of README in progress
Previous Message Glyn Astill 2009-04-07 08:35:21 Re: writing c functions for postgres