You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/09/22 20:31:46 UTC

cvs commit: xml-xerces/c/src/util/Platforms/HPUX HPPlatformUtils.cpp

andyh       00/09/22 11:31:44

  Modified:    c/src/util/Platforms/HPUX HPPlatformUtils.cpp
  Log:
  HPUX PlatformUtils - Removed incorrect use of ArrayJanitor on a local array.
  Patch submitted by "Torbj�rn B�ckstr�m" <to...@teleteknik.goteborg.se>
  
  Revision  Changes    Path
  1.15      +19 -17    xml-xerces/c/src/util/Platforms/HPUX/HPPlatformUtils.cpp
  
  Index: HPPlatformUtils.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/Platforms/HPUX/HPPlatformUtils.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- HPPlatformUtils.cpp	2000/07/25 22:29:36	1.14
  +++ HPPlatformUtils.cpp	2000/09/22 18:31:41	1.15
  @@ -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
  @@ -56,6 +56,10 @@
   
   /*
    * $Log: HPPlatformUtils.cpp,v $
  + * Revision 1.15  2000/09/22 18:31:41  andyh
  + * HPUX PlatformUtils - Removed incorrect use of ArrayJanitor on a local array.
  + * Patch submitted by "Torbj�rn B�ckstr�m" <to...@teleteknik.goteborg.se>
  + *
    * Revision 1.14  2000/07/25 22:29:36  aruna1
    * Char definitions in XMLUni moved to XMLUniDefs
    *
  @@ -413,7 +417,7 @@
   // ---------------------------------------------------------------------------
   //  XMLPlatformUtils: Timing Methods
   // ---------------------------------------------------------------------------
  - 
  +
   unsigned long XMLPlatformUtils::getCurrentMillis()
   {
   #if defined(XML_HPUX_KAICC)         // should be reimplemented by someone with
  @@ -444,7 +448,6 @@
       char absPath[PATH_MAX];
       //get the absolute path
       char* retPath = realpath(newSrc, &absPath[0]);
  -    ArrayJanitor<char> janText2(retPath);
   
       if (!retPath)
       {
  @@ -581,7 +584,7 @@
   }
   
   // -----------------------------------------------------------------------
  -//  Mutex methods 
  +//  Mutex methods
   // -----------------------------------------------------------------------
   
   #if !defined(APP_NO_THREADS)
  @@ -671,8 +674,8 @@
   //  Miscellaneous synchronization methods
   // -----------------------------------------------------------------------
   
  -void* XMLPlatformUtils::compareAndSwap ( void**      toFill, 
  -                                   const void* const newValue, 
  +void* XMLPlatformUtils::compareAndSwap ( void**      toFill,
  +                                   const void* const newValue,
                                      const void* const toCompare)
   {
       XMLMutexLock  localLock(&atomicOpsMutex);
  
  
  

Re: Status on stable release?

Posted by Andy Heninger <an...@jtcsv.com>.
It looks like we're just about there for the stable release.

I'm tweaking the docs a little bit, Arundhati is fixing one more
glitch in DOMPrint output, and any small, lowrisk changes are 
going in.  Anything big is waiting at the moment - Arnaud has
some more DOM footprint reductions that are waiting.

There's a set of changes to the COM wrappers that are coming 
from Curt Arnold and Joe Polastre.  And there's a set of
AS400 platform changes that haven't shown up yet.  Both will
go in.

I'm also currently running threading and memory leak tests.
These want to run for at least a few days - something to keep
the multi-processor lab systems busy over the weekend.


It'll be decreed done sometime next week.

Andy Heninger
IBM XML Technology Group, Cupertino, CA
heninger@us.ibm.com



----- Original Message ----- 
From: "James Berry" <jb...@criticalpath.com>
To: <an...@locus.apache.org>
Sent: Friday, September 22, 2000 11:41 AM
Subject: Status on stable release?


> Hi Andy,
> 
> Can you give a bit of status on where you are with getting the stable
> release out? I'm in no huge hurry, but I also don't want to take any
> risks in the source tree while you're trying to get stable.
> 
> Thanks!
> 
> -jdb
>