http://bugzilla.moblin.org/show_bug.cgi?id=9338
--- Comment #4 from yongsheng zhu <yongsheng.zhu(a)intel.com> 2010-02-01 00:16:51 PST
---
(In reply to comment #3)
(In reply to comment #2)
> so now suppose we have 'foo@default' and 'foo@bar', If i want to
use
> 'foo@default' implicitly by 'foo', it seems to me that it's
impossible,
It should be possible. The normalized name of "foo@default" is "foo",
therefore
it will be matched against "foo" first.
Do you have reason to believe that this doesn't work?
Yes, you are ok. here
your match are based on peer name regardless of context
names.
+ BOOST_FOREACH(const StringPair &entry, getConfigs()) {
+ string entry_peer, entry_context;
+ splitConfigString(entry.first, entry_peer, entry_context);
I miss this line. sorry.
+ if (normal == entry_peer) {
+ // found a matching, existing config, use it
+ normal = entry.first;
+ break;
+ }
+ }
please go on.
--
Configure bugmail:
http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.