projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf111d
)
Suppress GCC 6 warning about self-comparison
author
Tom Lane
<
[email protected]
>
Thu, 1 Sep 2016 16:48:06 +0000
(12:48 -0400)
committer
Tom Lane
<
[email protected]
>
Thu, 1 Sep 2016 16:48:06 +0000
(12:48 -0400)
Back-patch commit
a2fd62dd53fb606dee69e0f4eb12289c87f5c8b1
into older branches. Per complaint from Pavel Stehule.
src/port/path.c
patch
|
blob
|
blame
|
history
diff --git
a/src/port/path.c
b/src/port/path.c
index a0da7c5cf2e3406f74fd271957581987aae3eb21..1e86e5146d48e681f8cdb9b0155dea25b7ab1992 100644
(file)
--- a/
src/port/path.c
+++ b/
src/port/path.c
@@
-82,7
+82,11
@@
skip_drive(const char *path)
bool
has_drive_prefix(const char *path)
{
+#ifdef WIN32
return skip_drive(path) != path;
+#else
+ return false;
+#endif
}
/*