11diff -c -r bsd_indent/Makefile pg_bsd_indent/Makefile
2- *** bsd_indent/MakefileMon Nov 14 19:30:11 2005
2+ *** bsd_indent/MakefileWed Oct 26 17:13:34 2011
33--- pg_bsd_indent/MakefileWed Oct 12 12:17:12 2011
44***************
55*** 2,10 ****
@@ -38,7 +38,7 @@ diff -c -r bsd_indent/Makefile pg_bsd_indent/Makefile
3838! install: $(TARGET)
3939 install -s -o bin -g bin $(TARGET) /usr/local/bin
4040diff -c -r bsd_indent/README pg_bsd_indent/README
41- *** bsd_indent/READMEWed Oct12 11:51:58 2011
41+ *** bsd_indent/READMEWed Oct26 17:13:34 2011
4242--- pg_bsd_indent/READMEMon Nov 14 19:30:24 2005
4343***************
4444*** 1,3 ****
@@ -57,15 +57,15 @@ diff -c -r bsd_indent/README pg_bsd_indent/README
5757 via some distribution tape for PDP-11 Unix. It has subsequently been
5858 hacked upon by James Gosling @ CMU. It isn't very pretty, and really needs
5959diff -c -r bsd_indent/args.c pg_bsd_indent/args.c
60- *** bsd_indent/args.cMon Nov 14 19:30:00 2005
61- --- pg_bsd_indent/args.cWed Oct12 12:30:06 2011
60+ *** bsd_indent/args.cWed Oct 26 17:13:34 2011
61+ --- pg_bsd_indent/args.cWed Oct26 17:16:56 2011
6262***************
6363*** 83,88 ****
6464--- 83,90 ----
6565 #include <string.h>
6666 #include "indent_globs.h"
6767
68- + #define INDENT_PG_VERSION"1.0 "
68+ + #define INDENT_PG_VERSION"1.1 "
6969+
7070 /* profile types */
7171 #definePRO_SPECIAL1/* special case */
@@ -125,7 +125,7 @@ diff -c -r bsd_indent/args.c pg_bsd_indent/args.c
125125 indent: set_option: internal error: p_special %d\n", p->p_special);
126126***************
127127*** 459,461 ****
128- --- 485,509 ----
128+ --- 485,508 ----
129129 exit(1);
130130 }
131131 }
@@ -145,17 +145,16 @@ diff -c -r bsd_indent/args.c pg_bsd_indent/args.c
145145+ while ((fgets(line, BUFSIZ, file)) != NULL)
146146+ {
147147+ /* Remove trailing whitespace */
148- + if (strstr(line, " \t\n\r") != NULL)
149- + *strstr(line, " \t\n\r") = '\0';
148+ + *(line + strcspn(line, " \t\n\r")) = '\0';
150149+ addkey(strdup(line), 4);
151150+ }
152151+ fclose(file);
153152+ }
154- Only in pg_bsd_indent/ : args.o
155- Only inbsd_indent/ : indent.bsd.patch
156- Only in pg_bsd_indent/ : indent.o
153+ Only in pg_bsd_indent: args.o
154+ Only inpg_bsd_indent : indent.bsd.patch
155+ Only in pg_bsd_indent: indent.o
157156diff -c -r bsd_indent/indent_globs.h pg_bsd_indent/indent_globs.h
158- *** bsd_indent/indent_globs.hWed Oct12 11:51:58 2011
157+ *** bsd_indent/indent_globs.hWed Oct26 17:13:34 2011
159158--- pg_bsd_indent/indent_globs.hMon Nov 14 19:30:24 2005
160159***************
161160*** 239,245 ****
@@ -178,9 +177,9 @@ diff -c -r bsd_indent/indent_globs.h pg_bsd_indent/indent_globs.h
178177
179178 EXTERN struct parser_state {
180179 int last_token;
181- Only in pg_bsd_indent/ : io.o
180+ Only in pg_bsd_indent: io.o
182181diff -c -r bsd_indent/lexi.c pg_bsd_indent/lexi.c
183- *** bsd_indent/lexi.cWed Oct12 11:51:58 2011
182+ *** bsd_indent/lexi.cWed Oct26 17:13:34 2011
184183--- pg_bsd_indent/lexi.cMon Nov 14 19:30:24 2005
185184***************
186185*** 93,99 ****
@@ -221,9 +220,9 @@ diff -c -r bsd_indent/lexi.c pg_bsd_indent/lexi.c
221220 p->rwd = key;
222221 p->rwcode = val;
223222 p[1].rwd = 0;
224- Only in pg_bsd_indent/ : lexi.o
223+ Only in pg_bsd_indent: lexi.o
225224diff -c -r bsd_indent/parse.c pg_bsd_indent/parse.c
226- *** bsd_indent/parse.cWed Oct12 11:51:58 2011
225+ *** bsd_indent/parse.cWed Oct26 17:13:34 2011
227226--- pg_bsd_indent/parse.cMon Nov 14 19:30:24 2005
228227***************
229228*** 231,236 ****
@@ -239,9 +238,9 @@ diff -c -r bsd_indent/parse.c pg_bsd_indent/parse.c
239238 reduce();/* see if any reduction can be done */
240239
241240 #ifdef debug
242- Only in pg_bsd_indent/ : parse.o
241+ Only in pg_bsd_indent: parse.o
243242diff -c -r bsd_indent/pr_comment.c pg_bsd_indent/pr_comment.c
244- *** bsd_indent/pr_comment.cWed Oct12 11:51:58 2011
243+ *** bsd_indent/pr_comment.cWed Oct26 17:13:34 2011
245244--- pg_bsd_indent/pr_comment.cMon Nov 14 19:30:24 2005
246245***************
247246*** 148,154 ****
@@ -286,4 +285,4 @@ diff -c -r bsd_indent/pr_comment.c pg_bsd_indent/pr_comment.c
286285 } else
287286 if (++buf_ptr >= buf_end)
288287 fill_buffer();
289- Only in pg_bsd_indent/ : pr_comment.o
288+ Only in pg_bsd_indent: pr_comment.o