OSDN Git Service

More updates for GNU indent.
authorBruce Momjian <bruce@momjian.us>
Sat, 3 Nov 2001 12:34:15 +0000 (12:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 3 Nov 2001 12:34:15 +0000 (12:34 +0000)
src/tools/pgindent/README
src/tools/pgindent/pgindent

index 18fe4b2..c3ef00a 100644 (file)
@@ -17,8 +17,8 @@ for the second bug in:
 Even with the workaround, installation of the patch produces better
 output.
 
-GNU indent, version 1.9.1, has several bugs, and is not recommended.
-These bugs become pretty major when you are doing >200k lines of code.
+GNU indent, version 2.2.6, has several problems, and is not recommended.
+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
 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.
index c79b070..5a644aa 100755 (executable)
@@ -15,7 +15,7 @@ then  echo "Go to the src/tools/entab directory and do a 'make' and 'make install
        exit 1
 fi
 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
        exit 1
 fi