neilg 2003/08/08 14:39:04 Modified: c/src/xercesc/util/Platforms/OS390 OS390PlatformUtils.cpp Log: fixes to make OS390PlatformUtils.cpp compile. Thanks to Steve Dulin. Revision Changes Path 1.11 +7 -7 xml-xerces/c/src/xercesc/util/Platforms/OS390/OS390PlatformUtils.cpp Index: OS390PlatformUtils.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OS390/OS390PlatformUtils.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- OS390PlatformUtils.cpp 15 May 2003 18:37:48 -0000 1.10 +++ OS390PlatformUtils.cpp 8 Aug 2003 21:39:04 -0000 1.11 @@ -301,8 +301,8 @@ optionBufferSize += (strlen(pathobj.getfopenParms()) + 1); } - char* optionBuffer = (char*) fgMemoryManager->allocate(optionBufferSize * sizeof(char));//new char[optionBufferSize]; - ArrayJanitor<char> janText((char*)optionBuffer, fgMemoryManager); + char* optionBuffer = (char*) XMLPlatformUtils::fgMemoryManager->allocate(optionBufferSize * sizeof(char));//new char[optionBufferSize]; + ArrayJanitor<char> janText((char*)optionBuffer, XMLPlatformUtils::fgMemoryManager); strcpy(optionBuffer,"rb"); // Build the options buffer @@ -360,11 +360,11 @@ // path/path2/filename.ext => //path.path2.ext(filename) // path/path2/filename => //path.path2.filename - char* datasetName = (char*) fgMemoryManager->allocate + char* datasetName = (char*) XMLPlatformUtils::fgMemoryManager->allocate ( (strlen(tmpFileName) + 5) * sizeof(char) );//new char[ strlen(tmpFileName) + 5 ]; - ArrayJanitor<char> janText1((char*)datasetName, fgMemoryManager); + ArrayJanitor<char> janText1((char*)datasetName, XMLPlatformUtils::fgMemoryManager); char *datasetPos = datasetName, *tmpPos = tmpFileName; // We are in EBCDIC mode here @@ -502,8 +502,8 @@ if (pathobj.getfopenParms()) optionBufferSize += (strlen(pathobj.getfopenParms()) + 1); - char* optionBuffer = (char*) fgMemoryManager->allocate((optionBufferSize) * sizeof(char));//new char[optionBufferSize]; - ArrayJanitor<char> janText((char*)optionBuffer, fgMemoryManager); + char* optionBuffer = (char*) XMLPlatformUtils::fgMemoryManager->allocate((optionBufferSize) * sizeof(char));//new char[optionBufferSize]; + ArrayJanitor<char> janText((char*)optionBuffer, XMLPlatformUtils::fgMemoryManager); strcpy(optionBuffer,"wb"); // Build the options buffer
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]