tng 2002/11/04 07:13:01
Modified: c/src/xercesc/util/Platforms/AIX AIXPlatformUtils.cpp
c/src/xercesc/util/Platforms/FreeBSD
FreeBSDPlatformUtils.cpp
c/src/xercesc/util/Platforms/HPUX HPPlatformUtils.cpp
c/src/xercesc/util/Platforms/IRIX IRIXPlatformUtils.cpp
c/src/xercesc/util/Platforms/Linux LinuxPlatformUtils.cpp
c/src/xercesc/util/Platforms/MacOS MacOSPlatformUtils.cpp
MacOSPlatformUtils.hpp
c/src/xercesc/util/Platforms/OS2 OS2PlatformUtils.cpp
c/src/xercesc/util/Platforms/OS390 OS390PlatformUtils.cpp
c/src/xercesc/util/Platforms/OS400 OS400PlatformUtils.cpp
OS400PlatformUtils.hpp
c/src/xercesc/util/Platforms/OpenServer
OpenServerPlatformUtils.cpp
c/src/xercesc/util/Platforms/PTX PTXPlatformUtils.cpp
c/src/xercesc/util/Platforms/Solaris
SolarisPlatformUtils.cpp
c/src/xercesc/util/Platforms/Tandem TandemPlatformUtils.cpp
c/src/xercesc/util/Platforms/Tru64 Tru64PlatformUtils.cpp
c/src/xercesc/util/Platforms/UnixWare
UnixWarePlatformUtils.cpp
c/src/xercesc/util/Platforms/Win32 Win32PlatformUtils.cpp
Log:
C++ Namespace Support.
Revision Changes Path
1.9 +7 -2 xml-xerces/c/src/xercesc/util/Platforms/AIX/AIXPlatformUtils.cpp
Index: AIXPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/AIX/AIXPlatformUtils.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- AIXPlatformUtils.cpp 15 Jul 2002 21:52:32 -0000 1.8
+++ AIXPlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.9
@@ -106,6 +106,8 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
+
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Platform init method
// ---------------------------------------------------------------------------
@@ -283,7 +285,7 @@
void
XMLPlatformUtils::writeBufferToFile( FileHandle const theFile
, long toWrite
- , const XMLByte* const toFlush)
+ , const XMLByte* const toFlush)
{
if (!theFile ||
(toWrite <= 0 ) ||
@@ -651,3 +653,6 @@
{
}
********************* End of code attic *******************************/
+
+XERCES_CPP_NAMESPACE_END
+
1.5 +7 -1
xml-xerces/c/src/xercesc/util/Platforms/FreeBSD/FreeBSDPlatformUtils.cpp
Index: FreeBSDPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/FreeBSD/FreeBSDPlatformUtils.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FreeBSDPlatformUtils.cpp 5 Jul 2002 21:29:58 -0000 1.4
+++ FreeBSDPlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.5
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.5 2002/11/04 15:13:00 tng
+ * C++ Namespace Support.
+ *
* Revision 1.4 2002/07/05 21:29:58 peiyongz
* Bug# 10250: patch from James Berry
*
@@ -129,6 +132,7 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Private Static Methods
@@ -333,7 +337,7 @@
if (toRead == 0)
return 0;
size_t noOfItemsRead = fread((void*) toFill, 1, toRead, (FILE*)theFile);
-
+
if(ferror((FILE*)theFile))
{
ThrowXML(XMLPlatformUtilsException,
@@ -723,3 +727,5 @@
atomicOpsMutex.fHandle = 0;
#endif
}
+
+XERCES_CPP_NAMESPACE_END
1.7 +6 -2 xml-xerces/c/src/xercesc/util/Platforms/HPUX/HPPlatformUtils.cpp
Index: HPPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/HPUX/HPPlatformUtils.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- HPPlatformUtils.cpp 15 Jul 2002 21:52:48 -0000 1.6
+++ HPPlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.7
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.7 2002/11/04 15:13:00 tng
+ * C++ Namespace Support.
+ *
* Revision 1.6 2002/07/15 21:52:48 peiyongz
* CouldNotWriteToFile
*
@@ -199,7 +202,7 @@
#endif
-
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
@@ -403,7 +406,7 @@
void
XMLPlatformUtils::writeBufferToFile( FileHandle const theFile
, long toWrite
- , const XMLByte* const toFlush)
+ , const XMLByte* const toFlush)
{
if (!theFile ||
(toWrite <= 0 ) ||
@@ -788,3 +791,4 @@
#endif
}
+XERCES_CPP_NAMESPACE_END
1.3 +5 -0
xml-xerces/c/src/xercesc/util/Platforms/IRIX/IRIXPlatformUtils.cpp
Index: IRIXPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/IRIX/IRIXPlatformUtils.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- IRIXPlatformUtils.cpp 21 May 2002 20:31:47 -0000 1.2
+++ IRIXPlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.3 2002/11/04 15:13:00 tng
+ * C++ Namespace Support.
+ *
* Revision 1.2 2002/05/21 20:31:47 tng
* Minor update: Remove obsolete code
*
@@ -162,6 +165,7 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Private Static Methods
@@ -784,4 +788,5 @@
// We don't have any termination requirements at this time
//}
+XERCES_CPP_NAMESPACE_END
1.8 +7 -0
xml-xerces/c/src/xercesc/util/Platforms/Linux/LinuxPlatformUtils.cpp
Index: LinuxPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Linux/LinuxPlatformUtils.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- LinuxPlatformUtils.cpp 19 Aug 2002 19:38:17 -0000 1.7
+++ LinuxPlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.8
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.8 2002/11/04 15:13:00 tng
+ * C++ Namespace Support.
+ *
* Revision 1.7 2002/08/19 19:38:17 tng
* [Bug 11771] Linux specific IconvGNU transcoder. Patch from Vasily Tchekalkin.
*
@@ -213,6 +216,8 @@
#endif
+XERCES_CPP_NAMESPACE_BEGIN
+
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Private Static Methods
// ---------------------------------------------------------------------------
@@ -778,4 +783,6 @@
atomicOpsMutex.fHandle = 0;
#endif
}
+
+XERCES_CPP_NAMESPACE_END
1.8 +7 -5
xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp
Index: MacOSPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MacOSPlatformUtils.cpp 15 Jul 2002 21:53:25 -0000 1.7
+++ MacOSPlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.8
@@ -115,7 +115,7 @@
#include <URLAccess.h>
#endif
-
+XERCES_CPP_NAMESPACE_BEGIN
//----------------------------------------------------------------------------
// Local Constants
@@ -309,7 +309,7 @@
XMLMacFile::create(const XMLCh* const filePath)
{
OSErr err = noErr;
-
+
// Split path into directory and filename components
int posSlash = XMLString::lastIndexOf(filePath, '/',
XMLString::stringLen(filePath) - 1);
int posName = (posSlash == -1) ? 0 : posSlash+1;
@@ -366,7 +366,7 @@
{
// Transcode the unicode name to native encoding
ArrayJanitor<const char> nativeName(XMLString::transcode(namePtr));
-
+
// Make a partial pathname from our current spec (parent directory) to
the new file
unsigned char name[31 * 2 + 1 * 2 + 1];
unsigned char* partial = &name[1];
@@ -539,7 +539,7 @@
XMLCustomPanicProc(reason, reasonStr);
#else
char text[256];
-
+
#if defined(XML_METROWERKS) || defined(_GLIBCPP_USE_C99)
std::snprintf(text, sizeof(text), "Xerces Panic Error: %s", reasonStr);
#else
@@ -1893,3 +1893,5 @@
// Return number of unicode characters in dst
return result;
}
+
+XERCES_CPP_NAMESPACE_END
1.5 +21 -17
xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.hpp
Index: MacOSPlatformUtils.hpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/MacOS/MacOSPlatformUtils.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MacOSPlatformUtils.hpp 5 Sep 2002 16:51:54 -0000 1.4
+++ MacOSPlatformUtils.hpp 4 Nov 2002 15:13:00 -0000 1.5
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -57,7 +57,7 @@
/*
* $Id$
*/
-
+
#pragma once
#include <xercesc/util/XercesDefs.hpp>
@@ -71,6 +71,7 @@
#include <Files.h>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
// Abstract class for files. This could be used to allow multiple file paradigms.
class XMLMacAbstractFile
@@ -78,7 +79,7 @@
public:
XMLMacAbstractFile() {}
virtual ~XMLMacAbstractFile() {}
-
+
virtual unsigned int currPos() = 0;
virtual void close() = 0;
virtual unsigned int size() = 0;
@@ -96,7 +97,7 @@
public:
XMLMacFile() : mFileRefNum(0), mFileValid(false) {}
virtual ~XMLMacFile();
-
+
unsigned int currPos();
void close();
unsigned int size();
@@ -105,7 +106,7 @@
unsigned int read(const unsigned int, XMLByte* const);
void write(const long byteCount, const XMLByte* const buffer);
void reset();
-
+
protected:
void create(const XMLCh* const);
void openWithPermission(const XMLCh* const, int macPermission);
@@ -159,3 +160,6 @@
CopyUniCharsToXMLChs(const UniChar* src, XMLCh* dst, std::size_t charCount,
std::size_t maxChars);
XMLUTIL_EXPORT UniChar*
CopyXMLChsToUniChars(const XMLCh* src, UniChar* dst, std::size_t charCount,
std::size_t maxChars);
+
+XERCES_CPP_NAMESPACE_END
+
1.2 +16 -13 xml-xerces/c/src/xercesc/util/Platforms/OS2/OS2PlatformUtils.cpp
Index: OS2PlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OS2/OS2PlatformUtils.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- OS2PlatformUtils.cpp 1 Feb 2002 22:22:25 -0000 1.1
+++ OS2PlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.2
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -98,6 +98,7 @@
#endif
#include <OS2.h>
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Platform init and term methods
@@ -539,4 +540,6 @@
return 0;
#endif
}
+
+XERCES_CPP_NAMESPACE_END
1.5 +4 -1
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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- OS390PlatformUtils.cpp 18 Sep 2002 15:22:48 -0000 1.4
+++ OS390PlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.5
@@ -106,6 +106,8 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
+
// ---------------------------------------------------------------------------
// Static data
// ---------------------------------------------------------------------------
@@ -1007,3 +1009,4 @@
// We don't have any termination requirements at this time
}
+XERCES_CPP_NAMESPACE_END
1.5 +5 -3
xml-xerces/c/src/xercesc/util/Platforms/OS400/OS400PlatformUtils.cpp
Index: OS400PlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OS400/OS400PlatformUtils.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- OS400PlatformUtils.cpp 23 Sep 2002 22:27:40 -0000 1.4
+++ OS400PlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.5
@@ -97,7 +97,7 @@
#include <xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp>
#endif
-
+XERCES_CPP_NAMESPACE_BEGIN
char* PackingRepText(const char * const repText1,
const char * const repText2,
@@ -304,7 +304,7 @@
void
XMLPlatformUtils::writeBufferToFile( FileHandle const theFile
, long toWrite
- , const XMLByte* const toFlush)
+ , const XMLByte* const toFlush)
{
if (!theFile ||
(toWrite <= 0 ) ||
@@ -864,3 +864,5 @@
cleanupDefaultConverter();
#endif
}
+
+XERCES_CPP_NAMESPACE_END
1.2 +7 -0
xml-xerces/c/src/xercesc/util/Platforms/OS400/OS400PlatformUtils.hpp
Index: OS400PlatformUtils.hpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OS400/OS400PlatformUtils.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- OS400PlatformUtils.hpp 1 Feb 2002 22:22:25 -0000 1.1
+++ OS400PlatformUtils.hpp 4 Nov 2002 15:13:01 -0000 1.2
@@ -56,8 +56,11 @@
/**
* $Log$
- * Revision 1.1 2002/02/01 22:22:25 peiyongz
- * Initial revision
+ * Revision 1.2 2002/11/04 15:13:01 tng
+ * C++ Namespace Support.
+ *
+ * Revision 1.1.1.1 2002/02/01 22:22:25 peiyongz
+ * sane_include
*
* Revision 1.2 2001/06/25 16:27:05 tng
* AS400 changes by Linda Swan.
@@ -70,6 +73,8 @@
#ifndef _OS400PLATFORMUTILS_H
#define _OS400PLATFORMUTILS_H
+XERCES_CPP_NAMESPACE_BEGIN
+
void send_message (char * text, char * messageid, char type);
void convert_errno(char *,int);
@@ -77,6 +82,8 @@
#define ICONV_CONVERT_PROBLEM "XMLBED4" /* failed to convert ICONV */
#define ICONV_CCSID_PROBLEM "XMLBED5"
#define GENERAL_PANIC_MESSAGE "XMLBEED" /* iconv initialization problem */
+
+XERCES_CPP_NAMESPACE_END
#endif /* _OS400PLATFORMUTILS_H */
1.3 +6 -0
xml-xerces/c/src/xercesc/util/Platforms/OpenServer/OpenServerPlatformUtils.cpp
Index: OpenServerPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OpenServer/OpenServerPlatformUtils.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- OpenServerPlatformUtils.cpp 21 May 2002 20:31:47 -0000 1.2
+++ OpenServerPlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.3 2002/11/04 15:13:01 tng
+ * C++ Namespace Support.
+ *
* Revision 1.2 2002/05/21 20:31:47 tng
* Minor update: Remove obsolete code
*
@@ -115,6 +118,7 @@
# include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Private Static Methods
@@ -680,4 +684,6 @@
// If not using threads, we don't have any termination requirements (yet)
#endif
}
+
+XERCES_CPP_NAMESPACE_END
1.2 +6 -0 xml-xerces/c/src/xercesc/util/Platforms/PTX/PTXPlatformUtils.cpp
Index: PTXPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/PTX/PTXPlatformUtils.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PTXPlatformUtils.cpp 1 Feb 2002 22:22:25 -0000 1.1
+++ PTXPlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.2
@@ -56,8 +56,11 @@
/*
* $Log$
- * Revision 1.1 2002/02/01 22:22:25 peiyongz
- * Initial revision
+ * Revision 1.2 2002/11/04 15:13:01 tng
+ * C++ Namespace Support.
+ *
+ * Revision 1.1.1.1 2002/02/01 22:22:25 peiyongz
+ * sane_include
*
* Revision 1.3 2000/04/12 20:34:49 abagchi
* Now just includes the Solaris file directly since they are identical
@@ -75,4 +78,7 @@
// and the Solaris implementation, so we will use that instead.
#include "../Solaris/SolarisPlatformUtils.cpp"
+
+XERCES_CPP_NAMESPACE_BEGIN
+XERCES_CPP_NAMESPACE_END
1.8 +4 -3
xml-xerces/c/src/xercesc/util/Platforms/Solaris/SolarisPlatformUtils.cpp
Index: SolarisPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Solaris/SolarisPlatformUtils.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SolarisPlatformUtils.cpp 23 Sep 2002 22:27:48 -0000 1.7
+++ SolarisPlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.8
@@ -109,7 +109,7 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
-
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Private Static Methods
@@ -302,7 +302,7 @@
void
XMLPlatformUtils::writeBufferToFile( FileHandle const theFile
, long toWrite
- , const XMLByte* const toFlush)
+ , const XMLByte* const toFlush)
{
if (!theFile ||
(toWrite <= 0 ) ||
@@ -781,3 +781,4 @@
#endif
}
+XERCES_CPP_NAMESPACE_END
1.3 +6 -0
xml-xerces/c/src/xercesc/util/Platforms/Tandem/TandemPlatformUtils.cpp
Index: TandemPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Tandem/TandemPlatformUtils.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TandemPlatformUtils.cpp 21 May 2002 20:31:48 -0000 1.2
+++ TandemPlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.3 2002/11/04 15:13:01 tng
+ * C++ Namespace Support.
+ *
* Revision 1.2 2002/05/21 20:31:48 tng
* Minor update: Remove obsolete code
*
@@ -98,6 +101,7 @@
#include <sys/timeb.h>
#include <string.h>
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Platform init method
@@ -325,3 +329,5 @@
// We don't have any termination requirements at this time
}
+
+XERCES_CPP_NAMESPACE_END
1.5 +6 -2
xml-xerces/c/src/xercesc/util/Platforms/Tru64/Tru64PlatformUtils.cpp
Index: Tru64PlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Tru64/Tru64PlatformUtils.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Tru64PlatformUtils.cpp 23 Sep 2002 22:28:08 -0000 1.4
+++ Tru64PlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.5
@@ -112,6 +112,8 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
+
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Private Static Methods
// ---------------------------------------------------------------------------
@@ -303,7 +305,7 @@
void
XMLPlatformUtils::writeBufferToFile( FileHandle const theFile
, long toWrite
- , const XMLByte* const toFlush)
+ , const XMLByte* const toFlush)
{
if (!theFile ||
(toWrite <= 0 ) ||
@@ -737,3 +739,5 @@
gAtomicOpMutex = 0;
#endif
}
+
+XERCES_CPP_NAMESPACE_END
1.4 +5 -0
xml-xerces/c/src/xercesc/util/Platforms/UnixWare/UnixWarePlatformUtils.cpp
Index: UnixWarePlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/UnixWare/UnixWarePlatformUtils.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- UnixWarePlatformUtils.cpp 21 May 2002 20:31:48 -0000 1.3
+++ UnixWarePlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.4
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.4 2002/11/04 15:13:01 tng
+ * C++ Namespace Support.
+ *
* Revision 1.3 2002/05/21 20:31:48 tng
* Minor update: Remove obsolete code
*
@@ -155,6 +158,7 @@
#include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
#endif
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// XMLPlatformUtils: Private Static Methods
@@ -719,3 +723,4 @@
#endif
}
+XERCES_CPP_NAMESPACE_END
1.10 +4 -2
xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp
Index: Win32PlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Win32PlatformUtils.cpp 22 Oct 2002 15:00:44 -0000 1.9
+++ Win32PlatformUtils.cpp 4 Nov 2002 15:13:01 -0000 1.10
@@ -120,7 +120,7 @@
#include <xercesc/util/NetAccessors/WinSock/WinSockNetAccessor.hpp>
#endif
-
+XERCES_CPP_NAMESPACE_BEGIN
// ---------------------------------------------------------------------------
// Local data
@@ -935,3 +935,5 @@
{
// We don't have any temrination requirements for win32 at this time
}
+
+XERCES_CPP_NAMESPACE_END
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]