summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-04-24 13:19:03 +0200
committerBastien Nocera <hadess@hadess.net>2018-04-24 15:09:19 +0200
commit0a698126bae762b728a10b17fc995f700138ad56 (patch)
treee98b3c4eba599af98f024c9f22e99728d33685a8
parentfc149b7615deecf3c3af73bcc5ee98a4b716fbac (diff)
downloadshared-mime-info-0a698126bae762b728a10b17fc995f700138ad56.tar.gz
Add some debug when parsing XML package files
So as to know in which order they are processed.
-rw-r--r--update-mime-database.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/update-mime-database.c b/update-mime-database.c
index 3126b5d3..94c300f2 100644
--- a/update-mime-database.c
+++ b/update-mime-database.c
@@ -708,6 +708,8 @@ static void load_source_file(const char *filename)
return;
}
+ g_message("Parsing source file %s...", filename);
+
root = xmlDocGetRootElement(doc);
if (root->ns == NULL || xmlStrcmp(root->ns->href, FREE_NS) != 0)