The system call rename is not detected when using strace, and because of
that the classic trick to output to a temporary file and then switch to
the final file using rename() to keep the file consistent is not detected.
GCC is an (important) example of this, object files were detected (as
inputs) by chance, just because they were stat64()ed.
This patch adds rename() detection, adding the destination file as an
output, which seems the most sensible thing to do.
The attached patch depends on the patch in Issue 12 to be applied.
Original issue reported on code.google.com by llu...@gmail.com on 31 Jul 2009 at 10:08
Original issue reported on code.google.com by
llu...@gmail.com
on 31 Jul 2009 at 10:08Attachments: