8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af695f commit bffb638Copy full SHA for bffb638
src/port/path.c
@@ -41,9 +41,9 @@
41
#endif
42
43
#ifndef WIN32
44
-#define IS_PATH_SEP(ch) ((ch) == ':')
+#define IS_PATH_VAR_SEP(ch) ((ch) == ':')
45
#else
46
-#define IS_PATH_SEP(ch) ((ch) == ';')
+#define IS_PATH_VAR_SEP(ch) ((ch) == ';')
47
48
49
static void make_relative_path(char *ret_path, const char *target_path,
@@ -110,7 +110,7 @@ first_path_separator(const char *pathlist)
110
111
/* skip_drive is not needed */
112
for (p = pathlist; *p; p++)
113
- if (IS_PATH_SEP(*p))
+ if (IS_PATH_VAR_SEP(*p))
114
return (char *) p;
115
return NULL;
116
}
0 commit comments