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
6d12c7dc
Commit
6d12c7dc
authored
Jun 14, 2007
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly identify mingw as a win32 platform needing different diff
options to deal with strange line endings.
parent
bd2cb9aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/interfaces/ecpg/test/pg_regress_ecpg.c
src/interfaces/ecpg/test/pg_regress_ecpg.c
+3
-3
No files found.
src/interfaces/ecpg/test/pg_regress_ecpg.c
View file @
6d12c7dc
...
...
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress_ecpg.c,v 1.
1 2007/06/12 11:07:30
mha Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress_ecpg.c,v 1.
2 2007/06/14 13:10:11
mha Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -159,11 +159,11 @@ static void
ecpg_init
(
void
)
{
/* no reason to set -w for ecpg checks, except for when on windows */
if
(
strstr
(
host_platform
,
"-win32"
))
if
(
strstr
(
host_platform
,
"-win32"
)
||
strstr
(
host_platform
,
"-mingw32"
)
)
basic_diff_opts
=
"-w"
;
else
basic_diff_opts
=
""
;
if
(
strstr
(
host_platform
,
"-win32"
))
if
(
strstr
(
host_platform
,
"-win32"
)
||
strstr
(
host_platform
,
"-mingw32"
)
)
pretty_diff_opts
=
"-C3 -w"
;
else
pretty_diff_opts
=
"-C3"
;
...
...
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