dbertoni 2002/11/27 15:47:45
Modified: c/samples/SerializeNodeSet SerializeNodeSet.cpp
Log:
Workaround for gcc 3.1 bug.
Revision Changes Path
1.6 +3 -1 xml-xalan/c/samples/SerializeNodeSet/SerializeNodeSet.cpp
Index: SerializeNodeSet.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/samples/SerializeNodeSet/SerializeNodeSet.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SerializeNodeSet.cpp 26 Nov 2002 02:28:01 -0000 1.5
+++ SerializeNodeSet.cpp 27 Nov 2002 23:47:45 -0000 1.6
@@ -102,8 +102,10 @@
// Hook the two together...
theDOMSupport.setParserLiaison(&theLiaison);
+ const XalanDOMString theFileName(argv[1]);
+
// Create an input source that represents a
local file...
- const LocalFileInputSource
theInputSource(XalanDOMString(argv[1]).c_str());
+ const LocalFileInputSource
theInputSource(theFileName.c_str());
// Parse the document...
XalanDocument* const theDocument =
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]