Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id B6EBA633662 for ; Tue, 7 Apr 2009 06:32:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 72807-09 for ; Tue, 7 Apr 2009 06:31:39 -0300 (ADT) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by mail.postgresql.org (Postfix) with ESMTP id 8D7BA6330A6 for ; Tue, 7 Apr 2009 06:31:44 -0300 (ADT) Received: from localhost (maia-4.hub.org [200.46.204.183]) by pgfoundry.org (Postfix) with ESMTP id 552A917ADED2 for ; Tue, 7 Apr 2009 09:31:44 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21886-03 for ; Tue, 7 Apr 2009 06:31:42 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 1214) id 8B7E417ADE80; Tue, 7 Apr 2009 09:31:42 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgbouncer - pgbouncer: Fix broken alignment in src/slab.c Alignment X-Mailer: activitymail 1.19, http://search.cpan.org/dist/activitymail/ X-PgFoundry: pgbouncer - Content-Type: text/plain Message-Id: <20090407093142.8B7E417ADE80@pgfoundry.org> Date: Tue, 7 Apr 2009 09:31:42 +0000 (UTC) From: mkz@pgfoundry.org (User Mkz) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200904/96 X-Sequence-Number: 36590 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)