Re: [GENERAL] pgindented tsearch2 for 7.3.4 - Mailing list pgsql-hackers

From Nigel J. Andrews
Subject Re: [GENERAL] pgindented tsearch2 for 7.3.4
Date
Msg-id Pine.LNX.4.21.0309241850490.8318-100000@ponder.fairway2k.co.uk
Whole thread Raw
In response to Re: [GENERAL] pgindented tsearch2 for 7.3.4  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [GENERAL] pgindented tsearch2 for 7.3.4  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
On Wed, 24 Sep 2003, Bruce Momjian wrote:

> Nigel J. Andrews wrote:
> > 
> > 
> > I never knew running indent was so damn complicated. All three of my
> > development systems can not manage it without throughing a fault
> ...
> 
> There are about 6 files that can't be run through pgindent, and tsearch2
> has one of them:
> 
>     $ pgindent *.c
>     Hope you installed /src/tools/pgindent/indent.bsd.patch.
>     
>     gistidx.c
>     Error@186: Unbalanced parens
>     Warning@187: Extra )
>     Error@314: Unbalanced parens
> ...

It was a far more basic problem than that! I'd have been pleased if I'd got as
far as that. You developers of today don't know you're born. Back in my day we
used to have to get up before noon just to turn the computer on...

Actually, I had a problem in that I only had GNU indent and BSD indent that was
core dumping but it was unpatched, plus I couldn't find the BSD indent source
on the web. Eventually found it, in a linux distribution of all places, and
then I got the above errors, by which time I was quite prepared to not count
those as such.

There are a few macro's defined that make me think of fortran programmers
moving to C.

Anyway Bruce, you'll see the patch eventually generated lower down you inbox.


-- 
Nigel J. Andrews



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Darwin compile flags
Next
From: Peter Eisentraut
Date:
Subject: Re: Darwin compile flags