ssh config include failed to read windows file paths (#414)

* ssh config "include", failed to read windows file paths
This commit is contained in:
bagajjal 2019-12-09 10:52:52 -08:00 committed by GitHub
parent 34608f3d29
commit 4ea214bf8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1553,6 +1553,10 @@ parse_keytypes:
} else
arg2 = xstrdup(arg);
memset(&gl, 0, sizeof(gl));
#ifdef WINDOWS
convertToForwardslash(arg2);
#endif // WINDOWS
r = glob(arg2, GLOB_TILDE, NULL, &gl);
if (r == GLOB_NOMATCH) {
debug("%.200s line %d: include %s matched no "