]> sourceware.org Git - libabigail.git/commit
Do not forget to erase temporary directories in abipkgdiff
authorDodji Seketeli <dodji@redhat.com>
Tue, 13 Jun 2017 15:04:40 +0000 (17:04 +0200)
committerDodji Seketeli <dodji@redhat.com>
Tue, 13 Jun 2017 15:04:40 +0000 (17:04 +0200)
commitd1095a8b1efc6281a5b0e08e3f4380926fa5e28e
treece8efc40d38edd82622407498011349eb0640458
parent3011d2ac8da21e2f7cba868ba43963e60c22f283
Do not forget to erase temporary directories in abipkgdiff

When abipkgdiff decides that two packages have no content to compare
it forgets to remove the temporary directories that were created.

* tools/abipkgdiff.cc (maybe_erase_temp_dirs): Define new static
function.
(compare): Call the new maybe_erase_temp_dirs on all return
points.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tools/abipkgdiff.cc
This page took 0.030504 seconds and 5 git commands to generate.