From ab879a41ab674129ef1593cda181cc8b64d0dadf Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Fri, 13 Nov 2015 08:51:45 +0000 Subject: libbb: additional support for backslashes in paths --- include/mingw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mingw.h') 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 const char * next_path_sep(const char *path); #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') -#define is_absolute_path(path) ((path)[0] == '/' || has_dos_drive_prefix(path)) +#define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) /* * helpers -- cgit v1.2.3-55-g6feb