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
72f311b8
Commit
72f311b8
authored
May 13, 2003
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed order of include file search path.
parent
1c9ac7df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+4
-0
src/interfaces/ecpg/preproc/ecpg.c
src/interfaces/ecpg/preproc/ecpg.c
+17
-10
No files found.
src/interfaces/ecpg/ChangeLog
View file @
72f311b8
...
...
@@ -1404,6 +1404,10 @@ Fri May 2 16:37:06 CEST 2003
Tue May 6 11:51:33 CEST 2003
- Added rfmtlong compatibility function.
Tue May 13 13:34:12 CEST 2003
- Fixed order of include search path.
- Set ecpg version to 2.12.0.
- Set ecpg library to 3.4.2.
- Set pgtypes library to 1.0.0
...
...
src/interfaces/ecpg/preproc/ecpg.c
View file @
72f311b8
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.6
8 2003/05/02 14:43:25
meskes Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.6
9 2003/05/13 11:29:14
meskes Exp $ */
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
...
...
@@ -61,12 +61,19 @@ help(const char *progname)
static
void
add_include_path
(
char
*
path
)
{
struct
_include_path
*
ip
=
include_paths
;
struct
_include_path
*
ip
=
include_paths
,
*
new
;
include_paths
=
mm_alloc
(
sizeof
(
struct
_include_path
));
include_paths
->
path
=
path
;
include_paths
->
next
=
ip
;
new
=
mm_alloc
(
sizeof
(
struct
_include_path
));
new
->
path
=
path
;
new
->
next
=
NULL
;
if
(
ip
==
NULL
)
include_paths
=
new
;
else
{
for
(;
ip
->
next
!=
NULL
;
ip
=
ip
->
next
);
ip
->
next
=
new
;
}
}
static
void
...
...
@@ -125,11 +132,6 @@ main(int argc, char *const argv[])
}
}
add_include_path
(
"/usr/include"
);
add_include_path
(
INCLUDE_PATH
);
add_include_path
(
"/usr/local/include"
);
add_include_path
(
"."
);
while
((
c
=
getopt
(
argc
,
argv
,
"vcio:I:tD:dC:"
))
!=
-
1
)
{
switch
(
c
)
...
...
@@ -187,6 +189,11 @@ main(int argc, char *const argv[])
}
}
add_include_path
(
"."
);
add_include_path
(
"/usr/local/include"
);
add_include_path
(
INCLUDE_PATH
);
add_include_path
(
"/usr/include"
);
if
(
verbose
)
{
fprintf
(
stderr
,
"%s, the PostgreSQL embedded C preprocessor, version %d.%d.%d
\n
"
,
...
...
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