lizh06 / fabricate

Automatically exported from code.google.com/p/fabricate
0 stars 0 forks source link

[PATCH] Add rename detection to strace runner #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by benh...@gmail.com on 2 Aug 2009 at 10:05