Remove temporary directory containing arbitrary files.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 13 Apr 2011 21:02:08 +0000 (22:02 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 13 Apr 2011 21:02:08 +0000 (22:02 +0100)
commit70975981bed8e0c01b5966c10b507bb82086e5f8
tree40e6ce9b15ed02cc72cb0f21a036a7c64bcf58c9
parent6740028b333840eec5e8e46e8512f8155728b037
Remove temporary directory containing arbitrary files.

In preparation for caching inspection information in the temporary
directory (g->tmpdir), allow the temporary directory to contain
arbitrary files, and remove all of them when the handle is closed.

This just generalizes the previous method of cleaning up the tmpdir.
src/guestfs.c