xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/Tests/Harness FileUtility.cpp
Date Mon, 06 May 2002 05:32:39 GMT
dbertoni    02/05/05 22:32:39

  Modified:    c/Tests/Harness FileUtility.cpp
  Log:
  More efficient string processing.
  
  Revision  Changes    Path
  1.37      +2 -5      xml-xalan/c/Tests/Harness/FileUtility.cpp
  
  Index: FileUtility.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Harness/FileUtility.cpp,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- FileUtility.cpp	3 May 2002 06:29:21 -0000	1.36
  +++ FileUtility.cpp	6 May 2002 05:32:39 -0000	1.37
  @@ -382,7 +382,7 @@
   
   		if (ii < length(args.base))
   		{
  -			args.output = substring(args.base, 0, ii + 1);
  +			args.output.assign(args.base, 0, ii + 1);
   		}
   
   		append(args.output,XalanDOMString(outDir));
  @@ -539,10 +539,7 @@
   
   	if (thePeriodIndex != -1)
   	{
  -		targetFile = substring(theXMLFileName,
  -							  0,
  -							  thePeriodIndex + 1);
  -
  +		targetFile.assign(theXMLFileName, 0, thePeriodIndex + 1);
   
   		targetFile += XalanDOMString(suffix);
   	}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message