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

Commite708871

Browse files
committed
Change references of CVS to .git.
1 parentf1312b5 commite708871

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎src/tools/pginclude/pgcompinclude

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# src/tools/pginclude/pgcompinclude
55

66
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
7-
find . \( -nameCVS -a -prune \) -o -name '*.h' -type f -print | while read FILE
7+
find . \( -name.git -a -prune \) -o -name '*.h' -type f -print | while read FILE
88
do
99
sed 's/->[a-zA-Z0-9_\.]*//g' "$FILE" >/tmp/$$a
1010
echo "#include \"postgres.h\"" >/tmp/$$.c
@@ -13,9 +13,11 @@ do
1313
echo "void include_test() {" >>/tmp/$$.c
1414
pgdefine "$FILE" >>/tmp/$$.c
1515
echo "}" >>/tmp/$$.c
16+
# Use -O1 to get warnings only generated by optimization,
17+
# but -O2 is too slow.
1618
cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \
1719
-Wmissing-declarations -I/pg/include -I/pg/backend \
18-
-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -c /tmp/$$.c \
20+
-I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -O1 -c /tmp/$$.c \
1921
-o /tmp/$$.o >/tmp/$$ 2>&1
2022
if [ "$?" -ne 0 ]
2123
thenecho "$FILE"

‎src/tools/pginclude/pgfixinclude

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# src/tools/pginclude/pgfixinclude
44

55
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
6-
find . \( -nameCVS -a -prune \) -o -type f -name '*.[chyls]' -print |
6+
find . \( -name.git -a -prune \) -o -type f -name '*.[chyls]' -print |
77
while read FILE
88
do
99
cat "$FILE" | grep "^#include" |

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp