aboutsummaryrefslogtreecommitdiff
path: root/src/tools/pgindent/indent.bsd.patch
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-09-13 16:27:13 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-09-13 16:27:13 +0000
commitba0b03de2e8ef517010f77709eac6de20371d0f3 (patch)
treefcca810e37611f9d3b0cfe85212b269378915d3f /src/tools/pgindent/indent.bsd.patch
parent48fd8b3e8f904b7bf4a52b1b41551288f9e7c20e (diff)
downloadpostgresql-ba0b03de2e8ef517010f77709eac6de20371d0f3.tar.gz
postgresql-ba0b03de2e8ef517010f77709eac6de20371d0f3.zip
Let's hope this fixes the "bug" that was introduced
Diffstat (limited to 'src/tools/pgindent/indent.bsd.patch')
-rw-r--r--src/tools/pgindent/indent.bsd.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/tools/pgindent/indent.bsd.patch b/src/tools/pgindent/indent.bsd.patch
new file mode 100644
index 00000000000..ba5d4756f44
--- /dev/null
+++ b/src/tools/pgindent/indent.bsd.patch
@@ -0,0 +1,23 @@
+
+This increases the number of typedef's understood by BSD indent from 100
+to 1000.
+
+*** ./lexi.c.orig Mon Sep 8 17:55:47 1997
+--- ./lexi.c Mon Sep 8 17:02:10 1997
+***************
+*** 58,64 ****
+ int rwcode;
+ };
+
+! struct templ specials[100] =
+ {
+ "switch", 1,
+ "case", 2,
+--- 58,64 ----
+ int rwcode;
+ };
+
+! struct templ specials[1000] =
+ {
+ "switch", 1,
+ "case", 2,