diff options
| author | seyko <seyko2@gmail.com> | 2015-11-06 02:50:36 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-11-06 02:50:36 +0300 |
| commit | 8fc9c79705162627cc68b5467b35550817d97100 (patch) | |
| tree | 53beb6d34206d2459be2b8a16c7f02b0283324e4 | |
| parent | 7cb921a44b979ae3fa280a1b0f567300667af903 (diff) | |
| download | tinycc-8fc9c79705162627cc68b5467b35550817d97100.tar.gz tinycc-8fc9c79705162627cc68b5467b35550817d97100.tar.bz2 | |
TOK_INCLUDE: fix for the "normalize inc dirs"
A case for the absolute path: prevent an error after openening
| -rw-r--r-- | tccpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" */ |
