pgindent README correction

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: pgindent README correction
Date: 2012-01-09 17:31:02
Message-ID: 4F0ACFF602000025000445EC@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

I found that I needed to adjust the command given in the README file
for pgindent. Trivial patch attached.

The one other issue I ran into in following the latest pgindent
instructions was that I had to add #include <stdlib.h> to the
parse.c file (as included in the pg_bsd_indent-1.1.tar.gz file at
ftp://ftp.postgresql.org/pub/dev ). Without it I got this:

parse.c: In function *parse*:
parse.c:236:6: warning: implicit declaration of function *exit*
parse.c:236:6: warning: incompatible implicit declaration of built-in
function *exit*

Can someone fix that and put up a 1.2 version?

-Kevin

Attachment Content-Type Size
pgindent-path.patch text/plain 571 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2012-01-09 17:32:51 Re: pgsql: plpython: Add SPI cursor support
Previous Message Magnus Hagander 2012-01-09 17:19:17 Re: entab .gitignore file

Browse pgsql-www by date

  From Date Subject
Next Message Robert Haas 2012-01-09 18:32:49 Re: pgindent README correction
Previous Message Thom Brown 2011-12-29 00:01:52 Re: broken quote