From: nasm-bot f. C. G. <gor...@gm...> - 2017-01-05 21:39:15
|
Commit-ID: 4ff8c63ab64012ee8a037e368d87f284579ef2a9 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=4ff8c63ab64012ee8a037e368d87f284579ef2a9 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Fri, 6 Jan 2017 00:36:23 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Fri, 6 Jan 2017 00:36:23 +0300 preproc: Use found path when opening include It's a typo in 169ac7c152ee13ed0c470ceb3371e9afb10e9a60 https://bugzilla.nasm.us/show_bug.cgi?id=3392378 Reported-by: Ryan Prichard <rya...@gm...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- asm/preproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/preproc.c b/asm/preproc.c index b4c90aa..24dbc35 100644 --- a/asm/preproc.c +++ b/asm/preproc.c @@ -1614,7 +1614,7 @@ static FILE *inc_fopen(const char *file, } if (!fp && omode != INC_PROBE) - fp = nasm_open_read(file, fmode); + fp = nasm_open_read(path, fmode); if (found_path) *found_path = path; |