mhoyt       2005/01/21 14:48:38

  Modified:    c/src/xalanc/XalanDOM XalanDOMString.cpp
  Log:
  Fix to properly reset/initialize array of pointers (causes assertion on z/OS)
  
  Revision  Changes    Path
  1.14      +2 -1      xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp
  
  Index: XalanDOMString.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XalanDOMString.cpp        10 Nov 2004 19:09:12 -0000      1.13
  +++ XalanDOMString.cpp        21 Jan 2005 22:48:38 -0000      1.14
  @@ -844,7 +844,8 @@
           typedef XalanMemMngArrayAllocate<SourceType> ArrayAllocateSourceType;
   
           theGuard.reset( &( theTargetVector.getMemoryManager()), 
  -                        
ArrayAllocateSourceType::allocate(theRealSourceStringLength + 1, 
theTargetVector.getMemoryManager()));
  +                        
ArrayAllocateSourceType::allocate(theRealSourceStringLength + 1, 
theTargetVector.getMemoryManager()),
  +                        theRealSourceStringLength + 1);
   
                assert(theGuard.get() != 0);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to