You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2004/02/26 23:49:40 UTC
DO NOT REPLY [Bug 27274] New: -
Possible improvement in XalanDOMString::append(const char* ...) function
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27274>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27274
Possible improvement in XalanDOMString::append(const char* ...) function
Summary: Possible improvement in XalanDOMString::append(const
char* ...) function
Product: XalanC
Version: CurrentCVS
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Other
Component: XalanC
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: dmitryh@ca.ibm.com
The function is using a null-ended string as parameter. If we change the second
parameter function "doTranscode" to XalanDOMString::npos , later , in function
doTranscodeFromLocalCodePage , line 1130 we can save unnecessary calls for “new”
and “strncpy”.