[Ccscript-devel] ScriptInterp::getMember VS. ScriptCommand::getMember
From:
Zhang Le
Subject:
[Ccscript-devel] ScriptInterp::getMember VS. ScriptCommand::getMember
Date:
Fri, 29 Sep 2006 16:17:54 +0800
These two getMember's behavior is different. For example. for "register.sip" ScriptInterp::getMember's result doesn't include the leading dot, ie. the result is "sip" ScriptCommand::getMember's result include the leading dot, ie. the result is ".sip"
Unfortunately, this difference is overlooked sometimes. For example, in bayonne2-1.5.28 src/checks.cpp, chkSlog function assumes ScriptCommand::getMember's result doesn't include the leading dot, which is apparently wrong.
Although we could fix the problem by modifying chkSlog(), I think the better solution is make the behavior of the two getMember consistent with each other.
So I propose this ccscript3-ScriptCommand-getMember.patch
: