Re: Important typo fix for hba.c in 7.4

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruno Wolff III <bruno(at)wolff(dot)to>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Important typo fix for hba.c in 7.4
Date: 2003-03-15 17:13:10
Message-ID: 200303151713.h2FHDAa18207@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> > [ #elsif should be #elif ]
>
> Yuck. I wonder why gcc doesn't complain about this sort of thing?

I don't think gcc every sees it. I think cpp should complain, but cpp
skips right over it because it is not in a block of code it has to worry
about. In this example:

#ifdef SDF
#asdfasf
#endif
#lkjasdf

the first one doesn't generate a warning, while the second does.

This code got in there as part of the OpenBSD support for local ident,
either from the patch or my sloppy fingers.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2003-03-15 19:51:28 Bug #910: query with inherits
Previous Message Tom Lane 2003-03-15 17:09:16 Re: Important typo fix for hba.c in 7.4