More updates for GNU indent.
This commit is contained in:
parent
58df3f785e
commit
f008976bcd
@ -17,8 +17,8 @@ for the second bug in:
|
|||||||
Even with the workaround, installation of the patch produces better
|
Even with the workaround, installation of the patch produces better
|
||||||
output.
|
output.
|
||||||
|
|
||||||
GNU indent, version 1.9.1, has several bugs, and is not recommended.
|
GNU indent, version 2.2.6, has several problems, and is not recommended.
|
||||||
These bugs become pretty major when you are doing >200k lines of code.
|
These bugs become pretty major when you are doing >400k lines of code.
|
||||||
If you don't believe me, take a directory and make a copy. Run pgindent
|
If you don't believe me, take a directory and make a copy. Run pgindent
|
||||||
on the copy using GNU indent, and do a diff -r. You will see what I
|
on the copy using GNU indent, and do a diff -r. You will see what I
|
||||||
mean. GNU indent does some things better, but mangles too.
|
mean. GNU indent does some things better, but mangles too.
|
||||||
|
@ -15,7 +15,7 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
indent -version </dev/null >/dev/null 2>&1
|
indent -version </dev/null >/dev/null 2>&1
|
||||||
if [ "$?" -eq 0 ]
|
if [ "$?" -ne 1 ]
|
||||||
then echo "You do not appear to have 'indent' installed on your system." >&2
|
then echo "You do not appear to have 'indent' installed on your system." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user