edit: Clean up temporary files.
authorRichard Jones <rjones@redhat.com>
Sun, 11 Jul 2010 22:11:08 +0000 (23:11 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 12 Jul 2010 07:48:17 +0000 (08:48 +0100)
commitc94c97db6c980592aef3f1b4b73a90a8b4ecc47a
treed1e24566fe33319317260dcbd7d3e54d54c67df3
parentc8a3191eb0b9d0e6bcae0fde29706e97d098a0ed
edit: Clean up temporary files.

Note to self: The 'tempfile' function does *not* default to
removing files with the program exits!

For stable-1.4 branch:
 - Cherry picked from commit 10ea14a3f1adb7023dd0601e4759bd24a030a1c3
 - Rebased
tools/virt-edit