dbertoni 02/04/10 23:17:55
Modified: c/src/XPath FunctionSubstring.cpp
Log:
Removed bogus debugging code.
Revision Changes Path
1.18 +0 -10 xml-xalan/c/src/XPath/FunctionSubstring.cpp
Index: FunctionSubstring.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/FunctionSubstring.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- FunctionSubstring.cpp 11 Apr 2002 05:53:43 -0000 1.17
+++ FunctionSubstring.cpp 11 Apr 2002 06:17:55 -0000 1.18
@@ -216,19 +216,9 @@
}
else
{
- volatile double foo = 0.0;
-
- fprintf(stderr, "arg2->num() = '%f'\n", arg2->num());
- fprintf(stderr, "0 / 0 = '%f'\n", 0.0 / foo);
- fprintf(stderr, "-1 / 0 = '%f'\n", 1.0 / foo);
- fprintf(stderr, "1 / 0 = '%f'\n", 1.0 / foo);
- fprintf(stderr, "sqrt(-2.01) = '%f'\n", sqrt(-2.01));
-
// Get the value of the second argument...
const double theSecondArgValue =
DoubleSupport::round(arg2->num());
-
- fprintf(stderr, "theSecondArgValue = '%f'\n",
theSecondArgValue);
// XPath indexes from 1, so this is the first XPath index....
const XalanDOMString::size_type theStartIndex =
getStartIndex(theSecondArgValue, theSourceStringLength);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]