From 497cc6bfaf74048a6c275abb1eaa9bc2d266dd4c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 18 Dec 2004 10:28:31 +0000 Subject: [PATCH] Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index a7af376..dc4ef6e 100644 --- a/src/main.c +++ b/src/main.c @@ -1756,7 +1756,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ #ifdef WIN32 if(ptr && (ptr == &nextarg[1]) && - (nextarg[2] == '\\') && + (nextarg[2] == '\\' || nextarg[2] == '/') && (isalpha((int)nextarg[0])) ) /* colon in the second column, followed by a backslash, and the first character is an alphabetic letter: -- 2.7.4