preproc: Add found files to the list of dependencies even when cached
commit1fdc5f001c06fdfa04a3ab4a9b9bd002dc591c10
authorMartin Storsjö <martin@martin.st>
Sun, 13 Aug 2017 14:28:46 +0000 (13 17:28 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sun, 13 Aug 2017 16:33:03 +0000 (13 19:33 +0300)
tree6f2334ccdf28d7cefe667df6de23c2dddfe9de19
parentfdbf7012ba371cd7eb7f22e7aedc32511b0867e4
preproc: Add found files to the list of dependencies even when cached

This fixes the dependency listings as generated with -MD (if
assembling runs in multiple passes).

https://bugzilla.nasm.us/show_bug.cgi?id=3392420

gorcunov@: add missing zero byte

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
asm/preproc.c