mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Revert pgindent length back to 79 because we are going to fix the BSD
indent bug.
This commit is contained in:
		@@ -4,7 +4,7 @@ files.
 | 
				
			|||||||
Get the list of typedef's included in pgindent by running this on the
 | 
					Get the list of typedef's included in pgindent by running this on the
 | 
				
			||||||
pgsql/bin and pgsql/lib directories:
 | 
					pgsql/bin and pgsql/lib directories:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/src/tools/find_typedef
 | 
						/src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/lib
 | 
				
			||||||
 | 
					
 | 
				
			||||||
and update the list in pgindent.  This requires the binaries have debug 
 | 
					and update the list in pgindent.  This requires the binaries have debug 
 | 
				
			||||||
symbols.
 | 
					symbols.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -104,9 +104,7 @@ do
 | 
				
			|||||||
	sed 's;^CATALOG(.*$;/*&*/;' >/tmp/$$a
 | 
						sed 's;^CATALOG(.*$;/*&*/;' >/tmp/$$a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# We get the list of typedef's from /src/tools/find_typedef
 | 
					# We get the list of typedef's from /src/tools/find_typedef
 | 
				
			||||||
# BSD indent sometimes goes 1-3 characters after the -l length
 | 
						indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l79 \
 | 
				
			||||||
# so we have to set it a little lower than the value we want
 | 
					 | 
				
			||||||
	indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l77 \
 | 
					 | 
				
			||||||
		-lp -nip -npro -bbb $EXTRA_OPTS \
 | 
							-lp -nip -npro -bbb $EXTRA_OPTS \
 | 
				
			||||||
-TAES_KEY \
 | 
					-TAES_KEY \
 | 
				
			||||||
-TASN1_BIT_STRING \
 | 
					-TASN1_BIT_STRING \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user