auriemma    00/10/17 10:11:08

  Modified:    c/src/PlatformSupport DOMStringPrintWriter.cpp
  Log:
  Added explicit initialization of vectors.
  
  Revision  Changes    Path
  1.7       +1 -1      xml-xalan/c/src/PlatformSupport/DOMStringPrintWriter.cpp
  
  Index: DOMStringPrintWriter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringPrintWriter.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DOMStringPrintWriter.cpp  2000/09/05 02:24:45     1.6
  +++ DOMStringPrintWriter.cpp  2000/10/17 17:11:06     1.7
  @@ -133,7 +133,7 @@
        }
        else
        {
  -             vector<XalanDOMChar>    theBuffer(theLength + 1);
  +             vector<XalanDOMChar>    theBuffer(theLength + 1, 0);
   
                // We'll copy the characters into the vector first.
                copy(s + theOffset,
  
  
  

Reply via email to