diff options
author | Ron Yorston <rmy@pobox.com> | 2015-11-13 08:51:45 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-11-13 08:51:45 +0000 |
commit | ab879a41ab674129ef1593cda181cc8b64d0dadf (patch) | |
tree | 7ddf182a2c74121ae7d3076928b6c2be6f9cb129 /include/mingw.h | |
parent | d6c9296168ad0a770967714515ffa1fca5e60145 (diff) | |
download | busybox-w32-ab879a41ab674129ef1593cda181cc8b64d0dadf.tar.gz busybox-w32-ab879a41ab674129ef1593cda181cc8b64d0dadf.tar.bz2 busybox-w32-ab879a41ab674129ef1593cda181cc8b64d0dadf.zip |
libbb: additional support for backslashes in paths
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 6d494b7ef..196356288 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -459,7 +459,7 @@ pid_t mingw_spawn_1(int mode, const char *cmd, const char *const *argv, const ch | |||
459 | 459 | ||
460 | const char * next_path_sep(const char *path); | 460 | const char * next_path_sep(const char *path); |
461 | #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') | 461 | #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') |
462 | #define is_absolute_path(path) ((path)[0] == '/' || has_dos_drive_prefix(path)) | 462 | #define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) |
463 | 463 | ||
464 | /* | 464 | /* |
465 | * helpers | 465 | * helpers |