From 6521ea008e2c02c69c13e69c78383114a95caa9e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 7 Nov 2005 23:50:20 +0000 Subject: [PATCH] Lower pgident length to 77, document BSD indent bug. --- src/tools/pgindent/pgindent | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- 2.40.0