[yum-cvs] yum-metadata-parser xml-parser.c,1.4,1.5
Paul Nasrat
pnasrat at linux.duke.edu
Thu Jun 15 17:36:37 UTC 2006
Update of /home/groups/yum/cvs/yum-metadata-parser
In directory login1.linux.duke.edu:/tmp/cvs-serv10601
Modified Files:
xml-parser.c
Log Message:
Actually populate location_base attribute - used for cd installs
Index: xml-parser.c
===================================================================
RCS file: /home/groups/yum/cvs/yum-metadata-parser/xml-parser.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xml-parser.c 24 May 2006 20:03:11 -0000 1.4
+++ xml-parser.c 15 Jun 2006 17:36:35 -0000 1.5
@@ -178,7 +178,9 @@
value = attrs[++i];
if (!strcmp (attr, "href"))
- p->location_href = g_string_chunk_insert (p->chunk, value);;
+ p->location_href = g_string_chunk_insert (p->chunk, value);
+ else if (!strcmp (attr, "xml:base"))
+ p->location_base = g_string_chunk_insert (p->chunk, value);
}
}
}
More information about the Yum-cvs-commits
mailing list