You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2008/11/19 23:38:25 UTC
svn commit: r719104 - in /xalan/c/trunk: Tests/Conf/conf.cpp
src/xalanc/Harness/XalanFileUtility.cpp
src/xalanc/PlatformSupport/XalanMessageLoader.hpp
src/xalanc/PlatformSupport/XalanNumberFormat.cpp
src/xalanc/XalanTransformer/XalanTransformer.cpp
Author: dbertoni
Date: Wed Nov 19 14:38:25 2008
New Revision: 719104
URL: http://svn.apache.org/viewvc?rev=719104&view=rev
Log:
Fixes for Visual Studio 6.
Modified:
xalan/c/trunk/Tests/Conf/conf.cpp
xalan/c/trunk/src/xalanc/Harness/XalanFileUtility.cpp
xalan/c/trunk/src/xalanc/PlatformSupport/XalanMessageLoader.hpp
xalan/c/trunk/src/xalanc/PlatformSupport/XalanNumberFormat.cpp
xalan/c/trunk/src/xalanc/XalanTransformer/XalanTransformer.cpp
Modified: xalan/c/trunk/Tests/Conf/conf.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/Tests/Conf/conf.cpp?rev=719104&r1=719103&r2=719104&view=diff
==============================================================================
--- xalan/c/trunk/Tests/Conf/conf.cpp (original)
+++ xalan/c/trunk/Tests/Conf/conf.cpp Wed Nov 19 14:38:25 2008
@@ -145,6 +145,9 @@
"output22.xsl",
#endif
+ // Excluded because it outputs ISO-2022-JP, and not all platforms support this encoding.
+ "output23.xsl",
+
// These sort tests are disabled because the ICU implements a more recent version of the
// the Unicode collation algorithm, so we won't match the Java results.
"sort08.xsl",
@@ -206,9 +209,6 @@
// Excluded because it outputs EBCDIC-CP-IT, and not all platforms support this encoding.
"output22.xsl",
- // Excluded because it outputs ISO-2022-JP, and not all platforms support this encoding.
- "output23.xsl",
-
// Excluded because it outputs HTML, which cannot be parsed. Text comparison fails because
// it try to use SHIFT_JIS for the output encoding, which not all platforms support.
"output73.xsl",
Modified: xalan/c/trunk/src/xalanc/Harness/XalanFileUtility.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/Harness/XalanFileUtility.cpp?rev=719104&r1=719103&r2=719104&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/Harness/XalanFileUtility.cpp (original)
+++ xalan/c/trunk/src/xalanc/Harness/XalanFileUtility.cpp Wed Nov 19 14:38:25 2008
@@ -855,7 +855,7 @@
XalanDestroy(
getMemoryManager(),
- theFormatter);
+ *theFormatter);
XalanSourceTreeDOMSupport domSupport;
XalanSourceTreeParserLiaison parserLiaison(domSupport, getMemoryManager());
Modified: xalan/c/trunk/src/xalanc/PlatformSupport/XalanMessageLoader.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/PlatformSupport/XalanMessageLoader.hpp?rev=719104&r1=719103&r2=719104&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/PlatformSupport/XalanMessageLoader.hpp (original)
+++ xalan/c/trunk/src/xalanc/PlatformSupport/XalanMessageLoader.hpp Wed Nov 19 14:38:25 2008
@@ -76,9 +76,9 @@
MemoryManager& theManager,
XalanMessageLoader* p)
{
- assert (p != 0);
+ assert(p != 0);
- XalanDestroy(theManager, p);
+ XalanDestroy(theManager, *p);
}
};
Modified: xalan/c/trunk/src/xalanc/PlatformSupport/XalanNumberFormat.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/PlatformSupport/XalanNumberFormat.cpp?rev=719104&r1=719103&r2=719104&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/PlatformSupport/XalanNumberFormat.cpp (original)
+++ xalan/c/trunk/src/xalanc/PlatformSupport/XalanNumberFormat.cpp Wed Nov 19 14:38:25 2008
@@ -194,7 +194,7 @@
XalanDOMChar* p = &theGuard.back();
// Leave a null-terminator.
- --p;
+ *p-- = 0;
for (XalanDOMString::size_type i = 0, ix = len - 1; i < len && p > buffer; i++, ix--)
{
Modified: xalan/c/trunk/src/xalanc/XalanTransformer/XalanTransformer.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/XalanTransformer/XalanTransformer.cpp?rev=719104&r1=719103&r2=719104&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/XalanTransformer/XalanTransformer.cpp (original)
+++ xalan/c/trunk/src/xalanc/XalanTransformer/XalanTransformer.cpp Wed Nov 19 14:38:25 2008
@@ -182,7 +182,7 @@
XalanDestroy(
m_memoryManager,
- m_stylesheetExecutionContext);
+ *m_stylesheetExecutionContext);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org