TOK_INCLUDE: fix for the "normalize inc dirs"
A case for the absolute path: prevent an error after openening
This commit is contained in:
parent
7cb921a44b
commit
8fc9c79705
1 changed files with 1 additions and 1 deletions
2
tccpp.c
2
tccpp.c
|
|
@ -1639,7 +1639,7 @@ ST_FUNC void preprocess(int is_bof)
|
|||
if (!IS_ABSPATH(buf))
|
||||
continue;
|
||||
buf1[0] = 0;
|
||||
i = n; /* force end loop */
|
||||
i = n - 1; /* force end loop */
|
||||
|
||||
} else if (i == -1) {
|
||||
/* search in current dir if "header.h" */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue