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

Commitd18f5c3

Browse files
committed
Ignore blank lines in typedef file.
1 parent35390aa commitd18f5c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/tools/pgindent/pgindent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.98 2008/01/1620:13:44 momjian Exp $
3+
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.99 2008/04/1621:03:08 momjian Exp $
44

55
# Known bugs:
66
#
@@ -133,7 +133,7 @@ do
133133
# We get the list of typedef's from /src/tools/find_typedef
134134
indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l79 \
135135
-lp -nip -npro -bbb$EXTRA_OPTS \
136-
`cat"$TYPEDEFS"| sed's/.*/-T& /'` \
136+
`cat"$TYPEDEFS"| sed-e'/^$/d' -e's/.*/-T& /'` \
137137
/tmp/$$a>/tmp/$$2>&1
138138

139139
if ["$?"-ne 0-o-s /tmp/$$ ]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp