Skip site navigation (1) Skip section navigation (2)

pgsql/contrib pg_resetxlog/pg_resetxlog.c pgcr ...

From: momjian(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/contrib pg_resetxlog/pg_resetxlog.c pgcr ...
Date: 2001-10-25 00:55:48
Message-ID: 200110250055.f9P0tmL98031@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/cvsroot
Module name:	pgsql
Changes by:	momjian(at)postgresql(dot)org	01/10/24 20:55:48

Modified files:
	contrib/pg_resetxlog: pg_resetxlog.c 
	contrib/pgcrypto: crypt-blowfish.c rijndael.c 

Log message:
	Add more missing 'do { ... } while (0)' in missing macros.  Without it,
	these macros fail in if/else cases:
	
	#define X \
	{ \
	... \
	}
	
	{
	
	if (...)
	X;
	else
	...
	}
	
	with proper setup:
	
	#define X \
	do { \
	... \
	} while (0)
	
	it works fine.


pgsql-committers by date

Next:From: momjianDate: 2001-10-25 01:29:38
Subject: pgsql/ ontrib/fuzzystrmatch/fuzzystrmatch.c on ...
Previous:From: momjianDate: 2001-10-25 00:50:50
Subject: pgsql/src interfaces/odbc/convert.c tools/find ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group