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
624789d1
Commit
624789d1
authored
Jun 19, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup for Win32 compile.
Andreas Pflug
parent
a11333fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
src/bin/psql/win32.mak
src/bin/psql/win32.mak
+9
-9
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+3
-2
src/interfaces/libpq/win32.mak
src/interfaces/libpq/win32.mak
+4
-1
No files found.
src/bin/psql/win32.mak
View file @
624789d1
...
...
@@ -99,15 +99,15 @@ LINK32_OBJS = $(LINK32_OBJS) "..\..\interfaces\libpq\Release\libpqdll.lib"
!ENDIF
"..\..\port\pg_config_paths.h"
:
win32.mak
echo
\
#define PGBINDIR "" >$@
echo
\
#define PGSHAREDIR "" >>$@
echo
\
#define SYSCONFDIR "" >>$@
echo
\
#define INCLUDEDIR "" >>$@
echo
\
#define PKGINCLUDEDIR "" >>$@
echo
\
#define INCLUDEDIRSERVER "" >>$@
echo
\
#define LIBDIR "" >>$@
echo
\
#define PKGLIBDIR "" >>$@
echo
\
#define LOCALEDIR "" >>$@
echo
#define PGBINDIR "" >$@
echo
#define PGSHAREDIR "" >>$@
echo
#define SYSCONFDIR "" >>$@
echo
#define INCLUDEDIR "" >>$@
echo
#define PKGINCLUDEDIR "" >>$@
echo
#define INCLUDEDIRSERVER "" >>$@
echo
#define LIBDIR "" >>$@
echo
#define PKGLIBDIR "" >>$@
echo
#define LOCALEDIR "" >>$@
"$(OUTDIR)"
:
if
not
exist
"$(OUTDIR)/$(NULL)"
mkdir
"$(OUTDIR)"
...
...
src/interfaces/libpq/fe-connect.c
View file @
624789d1
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.31
1 2005/06/12 00:07:07 neilc
Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.31
2 2005/06/19 13:10:55 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -3104,6 +3104,8 @@ PasswordFromFile(char *hostname, char *port, char *dbname, char *username)
if
(
stat
(
pgpassfile
,
&
stat_buf
)
==
-
1
)
return
NULL
;
#ifndef WIN32
if
(
!
S_ISREG
(
stat_buf
.
st_mode
))
{
fprintf
(
stderr
,
...
...
@@ -3113,7 +3115,6 @@ PasswordFromFile(char *hostname, char *port, char *dbname, char *username)
return
NULL
;
}
#ifndef WIN32
/* If password file is insecure, alert the user and ignore it. */
if
(
stat_buf
.
st_mode
&
(
S_IRWXG
|
S_IRWXO
))
{
...
...
src/interfaces/libpq/win32.mak
View file @
624789d1
...
...
@@ -115,7 +115,7 @@ pthread.h: pthread.h.win32
copy pthread.h.win32 pthread.h
pg_config_paths.h
:
win32.mak
echo
\
#
define SYSCONFDIR
""
>
pg_config_paths.h
echo
#define SYSCONFDIR "" > pg_config_paths.h
"$(OUTDIR)"
:
if
not
exist
"$(OUTDIR)/$(NULL)"
mkdir
"$(OUTDIR)"
...
...
@@ -215,5 +215,8 @@ LINK32_OBJS= \
$(CPP_PROJ)
/I
"."
..\..\backend\utils\mb\encnames.c
<<
.c{$(CPP_OBJS)}.obj
:
$(CPP)
$(CPP_PROJ)
$<
.c.obj
:
$(CPP)
$(CPP_PROJ)
$<
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