Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.
authorDaniel Stenberg <daniel@haxx.se>
Sat, 18 Dec 2004 10:28:31 +0000 (10:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Dec 2004 10:28:31 +0000 (10:28 +0000)
src/main.c

index a7af376..dc4ef6e 100644 (file)
@@ -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: