projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5522d8
)
re-insert blanks into capability to work around regexp bug(?) in CapFactory::parse
author
Klaus Kaempf
<kkaempf@suse.de>
Thu, 17 Aug 2006 11:57:31 +0000
(11:57 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Thu, 17 Aug 2006 11:57:31 +0000
(11:57 +0000)
zypp/source/susetags/ProductMetadataParser.cc
patch
|
blob
|
history
diff --git
a/zypp/source/susetags/ProductMetadataParser.cc
b/zypp/source/susetags/ProductMetadataParser.cc
index
69dbdc5
..
8c2941c
100644
(file)
--- a/
zypp/source/susetags/ProductMetadataParser.cc
+++ b/
zypp/source/susetags/ProductMetadataParser.cc
@@
-301,15
+301,18
@@
namespace zypp
++next;
if (next != splitted.end()) { // check for "op edition"
string val = *next;
- if (val.find_first_of("<>=") != string::npos)
+ if (val.find_first_of("<>=") != string::npos)
// next token is op
{
- if (++next != splitted.end()) {
+ if (++next != splitted.end()) { // ensure edition follows
+ name += " ";
name += val;
+ name += " ";
name += *next;
it = next;
}
}
}
+ DBG << "parsing[" << name << "]" << endl;
try {
deps[deptag].insert( f.parse( kind, name ) );
}