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 2002/04/12 07:15:00 UTC
cvs commit: xml-xalan/c/src/XalanExe XalanExe.cpp
dbertoni 02/04/11 22:15:00
Modified: c/src/XalanExe XalanExe.cpp
Log:
Cleanup for picky compilers.
Revision Changes Path
1.5 +4 -0 xml-xalan/c/src/XalanExe/XalanExe.cpp
Index: XalanExe.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XalanExe/XalanExe.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XalanExe.cpp 23 Feb 2002 04:19:51 -0000 1.4
+++ XalanExe.cpp 12 Apr 2002 05:15:00 -0000 1.5
@@ -222,7 +222,11 @@
{
if (argv[i][0] == '-')
{
+#if defined(XALAN_STRICT_ANSI_HEADERS)
+ if (std::strlen(argv[i]) != 2)
+#else
if (strlen(argv[i]) != 2)
+#endif
{
fSuccess = false;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org