dbertoni    2002/09/25 21:03:21

  Modified:    c/src/XPath XPathFunctionTable.cpp
  Log:
  Make sure table is nulled out.
  
  Revision  Changes    Path
  1.23      +6 -0      xml-xalan/c/src/XPath/XPathFunctionTable.cpp
  
  Index: XPathFunctionTable.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathFunctionTable.cpp,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XPathFunctionTable.cpp    26 Sep 2002 01:36:42 -0000      1.22
  +++ XPathFunctionTable.cpp    26 Sep 2002 04:03:21 -0000      1.23
  @@ -412,6 +412,12 @@
                        m_functionTable,
                        m_functionTable + TableSize,
                        DeleteFunctorType());
  +
  +#if defined(XALAN_STRICT_ANSI_HEADERS)
  +             std::memset(m_functionTable, 0, sizeof(m_functionTable));
  +#else
  +             memset(m_functionTable, 0, sizeof(m_functionTable));
  +#endif
        }
        catch(...)
        {
  
  
  

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

Reply via email to