Revert pgindent length back to 79 because we are going to fix the BSD

indent bug.
This commit is contained in:
Bruce Momjian 2005-11-13 02:38:49 +00:00
parent f9db22e88e
commit 19cb457146
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,7 @@ files.
Get the list of typedef's included in pgindent by running this on the Get the list of typedef's included in pgindent by running this on the
pgsql/bin and pgsql/lib directories: pgsql/bin and pgsql/lib directories:
/src/tools/find_typedef /src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
and update the list in pgindent. This requires the binaries have debug and update the list in pgindent. This requires the binaries have debug
symbols. symbols.

View File

@ -104,9 +104,7 @@ do
sed 's;^CATALOG(.*$;/*&*/;' >/tmp/$$a sed 's;^CATALOG(.*$;/*&*/;' >/tmp/$$a
# We get the list of typedef's from /src/tools/find_typedef # We get the list of typedef's from /src/tools/find_typedef
# BSD indent sometimes goes 1-3 characters after the -l length indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l79 \
# 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 \ -lp -nip -npro -bbb $EXTRA_OPTS \
-TAES_KEY \ -TAES_KEY \
-TASN1_BIT_STRING \ -TASN1_BIT_STRING \