Return-Path: Delivered-To: apmail-xml-xerces-cvs-archive@xml.apache.org Received: (qmail 94366 invoked by uid 500); 21 Apr 2003 04:26:00 -0000 Mailing-List: contact xerces-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: Delivered-To: mailing list xerces-cvs@xml.apache.org Received: (qmail 94351 invoked from network); 21 Apr 2003 04:25:59 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 21 Apr 2003 04:25:59 -0000 Received: (qmail 93500 invoked by uid 1335); 21 Apr 2003 04:25:57 -0000 Date: 21 Apr 2003 04:25:57 -0000 Message-ID: <20030421042557.93499.qmail@icarus.apache.org> From: peiyongz@apache.org To: xml-xerces-cvs@apache.org Subject: cvs commit: xml-xerces/c/src/xercesc/util/Platforms/AIX AIXPlatformUtils.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N peiyongz 2003/04/20 21:25:56 Modified: c/src/xercesc/util/Platforms/AIX AIXPlatformUtils.cpp Log: performance tuning Revision Changes Path 1.12 +3 -4 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.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- AIXPlatformUtils.cpp 9 Mar 2003 16:52:13 -0000 1.11 +++ AIXPlatformUtils.cpp 21 Apr 2003 04:25:56 -0000 1.12 @@ -322,10 +322,9 @@ ArrayJanitor janText(newSrc); // Use a local buffer that is big enough for the largest legal path - char *absPath = new char[PATH_MAX]; - ArrayJanitor janText2(absPath); + char absPath[PATH_MAX]; //get the absolute path - char* retPath = realpath(newSrc, absPath); + char* retPath = realpath(newSrc, &absPath[0]); if (!retPath) { --------------------------------------------------------------------- To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: xerces-cvs-help@xml.apache.org