projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b7b4c
)
Ghost files could be in primary files since now
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 15 Dec 2011 12:54:28 +0000
(13:54 +0100)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 15 Dec 2011 12:54:28 +0000
(13:54 +0100)
xml_dump.c
patch
|
blob
|
history
diff --git
a/xml_dump.c
b/xml_dump.c
index
14c67b3
..
fa1c781
100644
(file)
--- a/
xml_dump.c
+++ b/
xml_dump.c
@@
-90,11
+90,6
@@
dump_files(xmlTextWriterPtr writer, Package *package, int primary,
PackageFile *entry = (PackageFile*) element->data;
if (primary) {
- // Only files or dirs could be primary - sorry ghost files :(
- if (entry->type[0] != '\0' && strcmp(entry->type, "file") && strcmp(entry->type, "dir")) {
- continue;
- }
-
// Check if file name match pattern for primary files
if (!g_regex_match(pri_re_1, entry->name, 0, NULL)
&& !g_regex_match(pri_re_2, entry->name, 0, NULL)