gio-querymodules: unlink instead of writing empty cache
authorRyan Lortie <desrt@desrt.ca>
Thu, 8 Mar 2012 16:55:09 +0000 (11:55 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 8 Mar 2012 17:07:03 +0000 (12:07 -0500)
commit3fa735848782735a7ccff3abba39c53388592588
treeeae62d39720464314e21afaf1e2012c67ac82f68
parentc9f55445aa2f86b1ea62367849522ecabbe48d72
gio-querymodules: unlink instead of writing empty cache

If there are no modules installed then the most appropriate thing is to
have no cachefile instead of an empty one.  This unbreaks the "clean
directory after 'make uninstall'" check that automake does.

https://bugzilla.gnome.org/show_bug.cgi?id=671664
gio/gio-querymodules.c