variable, not a directory path.
#endif
#ifndef WIN32
-#define IS_PATH_SEP(ch) ((ch) == ':')
+#define IS_PATH_VAR_SEP(ch) ((ch) == ':')
#else
-#define IS_PATH_SEP(ch) ((ch) == ';')
+#define IS_PATH_VAR_SEP(ch) ((ch) == ';')
#endif
static void make_relative_path(char *ret_path, const char *target_path,
/* skip_drive is not needed */
for (p = pathlist; *p; p++)
- if (IS_PATH_SEP(*p))
+ if (IS_PATH_VAR_SEP(*p))
return (char *) p;
return NULL;
}