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

Commit0e264fb

Browse files
committed
Add c.h to exclusion list.
1 parent9b4dac7 commit0e264fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/tools/pginclude/pgnoinclude

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
33
find . \( -name CVS -a -prune \) -o -type f -print |
44
grep -v '\./postgres.h' |
55
grep -v '\./config.h' |
6+
grep -v '\./c.h' |
67
while read FILE
78
do
89
if [ "`echo $FILE | sed -n 's/^.*\.\([^\.]*\)$/\1/p'`" = "h" ]
@@ -22,6 +23,7 @@ do
2223
[ -s /usr/include/$INCLUDE ] && continue
2324
[ "$INCLUDE" = postgres.h ] && continue
2425
[ "$INCLUDE" = config.h ] && continue
26+
[ "$INCLUDE" = c.h ] && continue
2527
# preserve configure-specific includes
2628
grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
2729
egrep -q '^#if|^#else' && continue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp