Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6521ea0

Browse files
committed
Lower pgident length to 77, document BSD indent bug.
1 parent aaf8cb0 commit 6521ea0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/pgindent/pgindent

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ do
104104
sed 's;^CATALOG(.*$;/*&*/;' >/tmp/$$a
105105

106106
# We get the list of typedef's from /src/tools/find_typedef
107-
indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l78 \
107+
# BSD indent sometimes goes 1-3 characters after the -l length
108+
# so we have to set it a little lower than the value we want
109+
indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l77 \
108110
-lp -nip -npro -bbb $EXTRA_OPTS \
109111
-TAES_KEY \
110112
-TASN1_BIT_STRING \

0 commit comments

Comments
 (0)