fix Include filepath resolution for Windows (#653)
This commit is contained in:
parent
ad957f89e0
commit
ba5a84ba35
|
@ -2121,6 +2121,9 @@ process_server_config_line_depth(ServerOptions *options, char *line,
|
|||
/* requested glob was not in cache */
|
||||
debug2("%s line %d: new include %s",
|
||||
filename, linenum, arg);
|
||||
#ifdef WINDOWS
|
||||
convertToForwardslash(arg);
|
||||
#endif // WINDOWS
|
||||
if ((r = glob(arg, 0, NULL, &gbuf)) != 0) {
|
||||
if (r != GLOB_NOMATCH) {
|
||||
fatal("%s line %d: include \"%s\" glob "
|
||||
|
|
Loading…
Reference in New Issue