Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
8e6697fc
Commit
8e6697fc
authored
Jun 14, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update include scripts
parent
7fe87222
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
4 deletions
+17
-4
src/tools/pginclude/README
src/tools/pginclude/README
+10
-0
src/tools/pginclude/pgdefine
src/tools/pginclude/pgdefine
+2
-0
src/tools/pginclude/pgfixinclude
src/tools/pginclude/pgfixinclude
+1
-1
src/tools/pginclude/pginclude
src/tools/pginclude/pginclude
+2
-1
src/tools/pginclude/pgrminclude
src/tools/pginclude/pgrminclude
+2
-2
No files found.
src/tools/pginclude/README
0 → 100644
View file @
8e6697fc
These utilities help clean up #include file usage:
pgfixinclude change #include's to <> or ""
pgrminclude remove extra #include's
pginclude [-v] report which #include files can not compile on their own
pgdefine create macro calls for all defines in the file (used by
the above routines)
src/tools/pginclude/pgdefine
View file @
8e6697fc
:
# create macro calls for all defines in the file
trap "rm -f /tmp/$$" 0 1 2 3 15
for FILE
do
...
...
src/tools/pginclude/pgfixinclude
View file @
8e6697fc
:
#
mark includes as
<> or ""
#
change #include's to
<> or ""
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -print |
...
...
src/tools/pginclude/pginclude
View file @
8e6697fc
:
# report which include files can not compile on their own
# report which #include files can not compile on their own
# takes -v option to display compile failure message and line numbers
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -name '*.[ch]' -type f -print | while read FILE
...
...
src/tools/pginclude/pg
no
include
→
src/tools/pginclude/pg
rm
include
View file @
8e6697fc
:
# re
port which files have extra include
s
# re
move extra #include'
s
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -print |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment