projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d4294
)
Suppress GCC 6 warning about self-comparison
author
Peter Eisentraut
<peter_e@gmx.net>
Sat, 20 Feb 2016 04:07:46 +0000
(23:07 -0500)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 9 Mar 2016 00:41:51 +0000
(19:41 -0500)
Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
src/port/path.c
patch
|
blob
|
history
diff --git
a/src/port/path.c
b/src/port/path.c
index 5c9de0cd331659b41faeb5459d90a0ad21141421..7bf7cbc9b3e11d94fa23a39a85f7434fbe9a6da6 100644
(file)
--- a/
src/port/path.c
+++ b/
src/port/path.c
@@
-86,7
+86,11
@@
skip_drive(const char *path)
bool
has_drive_prefix(const char *path)
{
+#ifdef WIN32
return skip_drive(path) != path;
+#else
+ return false;
+#endif
}
/*