From 4ea214bf8d5f38df55a009d4dc3c8dad8aa71143 Mon Sep 17 00:00:00 2001 From: bagajjal Date: Mon, 9 Dec 2019 10:52:52 -0800 Subject: [PATCH] ssh config include failed to read windows file paths (#414) * ssh config "include", failed to read windows file paths --- readconf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readconf.c b/readconf.c index fcb1a490e..a5aaf821e 100644 --- a/readconf.c +++ b/readconf.c @@ -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 "