Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb4ca39b

Browse files
committed
Allow pgindent to work with newer BSD indents.
1 parent44f8c5c commitb4ca39b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/tools/pgindent/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ for the second bug in:
2323
/src/tools/pgindent/indent.bsd.patch
2424

2525
Even with the workaround, installation of the patch produces better
26-
output.
26+
output. You can get a patched BSD indent from ftp://ftp.postgresql.org/pub/dev.
2727

2828
GNU indent, version 2.2.6, has several problems, and is not recommended.
2929
These bugs become pretty major when you are doing >400k lines of code.

‎src/tools/pgindent/pgindent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ thenecho "Go to the src/tools/entab directory and do a 'make' and 'make install
1414
echo"Then run$0 again."
1515
exit 1
1616
fi
17-
indent -version</dev/null>/dev/null2>&1
17+
indent -?</dev/null>/dev/null2>&1
1818
if ["$?"-ne 1 ]
1919
thenecho"You do not appear to have 'indent' installed on your system.">&2
2020
exit 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp