From: Bruce Momjian Date: Mon, 7 Nov 2005 23:50:20 +0000 (+0000) Subject: Lower pgident length to 77, document BSD indent bug. X-Git-Tag: REL8_2_BETA1~1947 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6521ea008e2c02c69c13e69c78383114a95caa9e;p=postgresql Lower pgident length to 77, document BSD indent bug. --- diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent index 212dcc9e8c..c743751bf1 100755 --- a/src/tools/pgindent/pgindent +++ b/src/tools/pgindent/pgindent @@ -104,7 +104,9 @@ do sed 's;^CATALOG(.*$;/*&*/;' >/tmp/$$a # We get the list of typedef's from /src/tools/find_typedef - indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l78 \ +# BSD indent sometimes goes 1-3 characters after the -l length +# so we have to set it a little lower than the value we want + indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l77 \ -lp -nip -npro -bbb $EXTRA_OPTS \ -TAES_KEY \ -TASN1_BIT_STRING \