cargilld 2004/01/12 14:00:18
Modified: c/src/xercesc/util/Platforms/OS390 FileHandleImpl.cpp
FileHandleImpl.hpp OS390PlatformUtils.cpp
Log:
Fix 390 compilation errors.
Revision Changes Path
1.3 +2 -1 xml-xerces/c/src/xercesc/util/Platforms/OS390/FileHandleImpl.cpp
Index: FileHandleImpl.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OS390/FileHandleImpl.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- FileHandleImpl.cpp 24 Dec 2003 15:24:14 -0000 1.2
+++ FileHandleImpl.cpp 12 Jan 2004 22:00:18 -0000 1.3
@@ -66,6 +66,7 @@
#include <stdlib.h>
#include <xercesc/util/XMLUniDefs.hpp>
#include "FileHandleImpl.hpp"
+#include <xercesc/framework/MemoryManager.hpp>
XERCES_CPP_NAMESPACE_BEGIN
1.4 +2 -2 xml-xerces/c/src/xercesc/util/Platforms/OS390/FileHandleImpl.hpp
Index: FileHandleImpl.hpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OS390/FileHandleImpl.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- FileHandleImpl.hpp 24 Dec 2003 15:24:14 -0000 1.3
+++ FileHandleImpl.hpp 12 Jan 2004 22:00:18 -0000 1.4
@@ -60,7 +60,7 @@
#ifndef FILEHANDLEIMPL_HPP
#define FILEHANDLEIMPL_HPP
-
+#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/util/XMemory.hpp>
XERCES_CPP_NAMESPACE_BEGIN
1.16 +3 -3
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.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- OS390PlatformUtils.cpp 24 Dec 2003 15:24:14 -0000 1.15
+++ OS390PlatformUtils.cpp 12 Jan 2004 22:00:18 -0000 1.16
@@ -336,7 +336,7 @@
// of the FileHandleImpl class.
fileHandle = fopen(pathobj.getfopenPath(), optionBuffer);
- retVal = new (manager) FileHandleImpl(fileHandle, _FHI_READ,
pathobj.isRecordType(), manager);
+ retVal = new (manager) FileHandleImpl(fileHandle, _FHI_READ,
pathobj.isRecordType(), 0, manager);
// temp fix for HFS files with "type=record" specified
// close the file and re-open it without the fopen options
@@ -1120,7 +1120,7 @@
FILE* fileHandle = 0;
fileHandle = fdopen(dup(0), "rb");
if (fileHandle)
- retVal = new (manager) FileHandleImpl(fileHandle, _FHI_READ,
_FHI_NOT_TYPE_RECORD, manager);
+ retVal = new (manager) FileHandleImpl(fileHandle, _FHI_READ,
_FHI_NOT_TYPE_RECORD, 0, manager);
else
retVal = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]