You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@locus.apache.org on 2000/09/21 20:03:53 UTC
cvs commit: xml-xerces/c/src/util/Platforms/MacOS MacOSPlatformUtils.cpp MacOSPlatformUtils.hpp
jberry 00/09/21 11:03:52
Modified: c/src/util/Platforms/MacOS MacOSPlatformUtils.cpp
MacOSPlatformUtils.hpp
Log:
Change a couple of routine names to make them more orthagonal.
Revision Changes Path
1.13 +9 -4 xml-xerces/c/src/util/Platforms/MacOS/MacOSPlatformUtils.cpp
Index: MacOSPlatformUtils.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Platforms/MacOS/MacOSPlatformUtils.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- MacOSPlatformUtils.cpp 2000/09/06 23:51:21 1.12
+++ MacOSPlatformUtils.cpp 2000/09/21 18:03:50 1.13
@@ -56,6 +56,9 @@
/*
* $Log: MacOSPlatformUtils.cpp,v $
+ * Revision 1.13 2000/09/21 18:03:50 jberry
+ * Change a couple of routine names to make them more orthagonal.
+ *
* Revision 1.12 2000/09/06 23:51:21 jberry
* Add support for new compile time options defined in prefix file. These
* control the selection of the msgloader, transcoder, and netaccessor.
@@ -470,13 +473,13 @@
if (gHasHFSPlusAPIs)
{
FSRef ref;
- if (!XMLParsePathToFSRef(srcPath, ref) || (path = XMLCreateFullPathFromRef(ref)) == NULL)
+ if (!XMLParsePathToFSRef(srcPath, ref) || (path = XMLCreateFullPathFromFSRef(ref)) == NULL)
path = XMLString::replicate(srcPath);
}
else
{
FSSpec spec;
- if (!XMLParsePathToFSSpec(srcPath, spec) || (path = XMLCreateFullPathFromSpec(spec)) == NULL)
+ if (!XMLParsePathToFSSpec(srcPath, spec) || (path = XMLCreateFullPathFromFSSpec(spec)) == NULL)
path = XMLString::replicate(srcPath);
}
@@ -1087,7 +1090,7 @@
XMLCh*
-XMLCreateFullPathFromRef(const FSRef& startingRef)
+XMLCreateFullPathFromFSRef(const FSRef& startingRef)
{
OSErr err = noErr;
FSCatalogInfo catalogInfo;
@@ -1174,7 +1177,7 @@
XMLCh*
-XMLCreateFullPathFromSpec(const FSSpec& startingSpec)
+XMLCreateFullPathFromFSSpec(const FSSpec& startingSpec)
{
OSErr err = noErr;
FSSpec spec = startingSpec;
1.2 +6 -2 xml-xerces/c/src/util/Platforms/MacOS/MacOSPlatformUtils.hpp
Index: MacOSPlatformUtils.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Platforms/MacOS/MacOSPlatformUtils.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MacOSPlatformUtils.hpp 2000/07/18 18:26:11 1.1
+++ MacOSPlatformUtils.hpp 2000/09/21 18:03:50 1.2
@@ -56,6 +56,9 @@
/*
* $Log: MacOSPlatformUtils.hpp,v $
+ * Revision 1.2 2000/09/21 18:03:50 jberry
+ * Change a couple of routine names to make them more orthagonal.
+ *
* Revision 1.1 2000/07/18 18:26:11 andyh
* Mac OS update.
* Contributed by James Berry <jb...@criticalpath.com>
@@ -104,8 +107,8 @@
// Convert fom FSRef/FSSpec to a Unicode character string path.
// Note that you'll need to delete [] that string after you're done with it!
-XMLCh* XMLCreateFullPathFromRef(const FSRef& startingRef);
-XMLCh* XMLCreateFullPathFromSpec(const FSSpec& startingSpec);
+XMLCh* XMLCreateFullPathFromFSRef(const FSRef& startingRef);
+XMLCh* XMLCreateFullPathFromFSSpec(const FSSpec& startingSpec);
// Convert from path to FSRef/FSSpec
bool XMLParsePathToFSRef(const XMLCh* const pathName, FSRef& ref);