Subject: Paths in .rec files still buggy

From: goredo <[email-masked]>
Date: Wed, 15 Sep 2021 10:50:17 +0000 (UTC)

I just discovered a bug in recorded entries in .rec files. Conditions:
- do file is in /a/b/default.do
- target is in a sub-directory: /a/b/c/file
- it creates an if-create dependency to a file outside the current sub tree: /a/c/dep
- it also(!) has an ifchange dependency on /a/b/c/dep
- the if-create dependency is generated with `redo-ifcreate ../c/dep` (due to the do file being in /a)
- the if-create dependency is recorded in /a/b/c/.redo/file.rec as `../c/dep` as well
- during ood scanning, this resolves to /a/b/c/dep, although it should resolve to /a/c/dep, with the consequence that it is detected as 'created', which ood's the target /a/b/c/file every time. So, it seems that during ood scanning the paths are not resolved in relation to the do file but in relation to the target file.

Kind regards,
–Michael