help (Windows): Revert leftovers of old implementation

This commit is contained in:
Steffen Prohaska
2008-07-14 07:28:49 +02:00
parent 04bad24770
commit 9b096dc9bb
2 changed files with 0 additions and 15 deletions

View File

@@ -527,8 +527,6 @@ static inline int is_absolute_path(const char *path)
const char *make_absolute_path(const char *path);
const char *make_nonrelative_path(const char *path);
const char *make_relative_path(const char *abs, const char *base);
/* Convert slashes in place. On Windows to backslashes. */
char *make_native_separator(char *path);
int normalize_absolute_path(char *buf, const char *path);
int longest_ancestor_length(const char *path, const char *prefix_list);

13
path.c
View File

@@ -439,16 +439,3 @@ int longest_ancestor_length(const char *path, const char *prefix_list)
return max_len;
}
char *make_native_separator(char* path) {
#ifdef __MINGW32__
char* c;
for (c = path; *c; c++) {
if (*c == '/')
*c = '\\';
}
return path;
#else
return path;
#endif
}