You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ar...@locus.apache.org on 2000/02/10 22:47:00 UTC
cvs commit: xml-xerces/c/src/util/Platforms/AIX AIXPlatformUtils.cpp
aruna1 00/02/10 13:47:00
Modified: c/src/util/Platforms/AIX AIXPlatformUtils.cpp
Log:
getFullPath janitor rectification
Revision Changes Path
1.12 +6 -3 xml-xerces/c/src/util/Platforms/AIX/AIXPlatformUtils.cpp
Index: AIXPlatformUtils.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Platforms/AIX/AIXPlatformUtils.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- AIXPlatformUtils.cpp 2000/02/06 07:48:26 1.11
+++ AIXPlatformUtils.cpp 2000/02/10 21:47:00 1.12
@@ -56,6 +56,9 @@
/**
* $Log: AIXPlatformUtils.cpp,v $
+ * Revision 1.12 2000/02/10 21:47:00 aruna1
+ * getFullPath janitor rectification
+ *
* Revision 1.11 2000/02/06 07:48:26 rahulj
* Year 2K copyright swat.
*
@@ -356,9 +359,9 @@
// Use a local buffer that is big enough for the largest legal path
char *absPath = new char[PATH_MAX];
- //get the absolute path
- char* retPath = realpath(newSrc, absPath);
- ArrayJanitor<char> janText2(retPath);
+ ArrayJanitor<char> janText2(absPath);
+ //get the absolute path
+ char* retPath = realpath(newSrc, absPath);
if (!retPath)
{