diff options
author | Ron Yorston <rmy@pobox.com> | 2012-06-26 13:28:45 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-06-26 14:51:56 +0100 |
commit | b25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa (patch) | |
tree | 017081095323febda9315fd03fd852c201b4ea0d /miscutils | |
parent | 8ed4a312b78eb0c243267978b776a443ddb55a83 (diff) | |
download | busybox-w32-b25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa.tar.gz busybox-w32-b25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa.tar.bz2 busybox-w32-b25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa.zip |
mingw32: add man
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/man.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/man.c b/miscutils/man.c index 611466349..236fdcebd 100644 --- a/miscutils/man.c +++ b/miscutils/man.c | |||
@@ -204,7 +204,11 @@ int man_main(int argc UNUSED_PARAM, char **argv) | |||
204 | char *next_path; | 204 | char *next_path; |
205 | char **path_element; | 205 | char **path_element; |
206 | 206 | ||
207 | #if ENABLE_PLATFORM_MINGW32 | ||
208 | next_path = next_path_sep(path); | ||
209 | #else | ||
207 | next_path = strchr(path, ':'); | 210 | next_path = strchr(path, ':'); |
211 | #endif | ||
208 | if (next_path) { | 212 | if (next_path) { |
209 | *next_path = '\0'; | 213 | *next_path = '\0'; |
210 | if (next_path++ == path) /* "::"? */ | 214 | if (next_path++ == path) /* "::"? */ |