Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.
This commit is contained in:
parent
d5be114c07
commit
497cc6bfaf
@ -1756,7 +1756,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if(ptr &&
|
if(ptr &&
|
||||||
(ptr == &nextarg[1]) &&
|
(ptr == &nextarg[1]) &&
|
||||||
(nextarg[2] == '\\') &&
|
(nextarg[2] == '\\' || nextarg[2] == '/') &&
|
||||||
(isalpha((int)nextarg[0])) )
|
(isalpha((int)nextarg[0])) )
|
||||||
/* colon in the second column, followed by a backslash, and the
|
/* colon in the second column, followed by a backslash, and the
|
||||||
first character is an alphabetic letter:
|
first character is an alphabetic letter:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user