You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2003/05/16 05:11:31 UTC

cvs commit: xml-xerces/c/src/xercesc/framework MemBufInputSource.cpp StdInInputSource.cpp

knoaman     2003/05/15 20:11:31

  Modified:    c/src/xercesc/framework MemBufInputSource.cpp
                        StdInInputSource.cpp
  Log:
  Partial implementation of the configurable memory manager.
  
  Revision  Changes    Path
  1.4       +4 -0      xml-xerces/c/src/xercesc/framework/MemBufInputSource.cpp
  
  Index: MemBufInputSource.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/MemBufInputSource.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MemBufInputSource.cpp	15 May 2003 18:26:07 -0000	1.3
  +++ MemBufInputSource.cpp	16 May 2003 03:11:30 -0000	1.4
  @@ -56,6 +56,9 @@
   
   /**
    * $Log$
  + * Revision 1.4  2003/05/16 03:11:30  knoaman
  + * Partial implementation of the configurable memory manager.
  + *
    * Revision 1.3  2003/05/15 18:26:07  knoaman
    * Partial implementation of the configurable memory manager.
    *
  @@ -139,6 +142,7 @@
           , fByteCount
           , fCopyBufToStream ? BinMemInputStream::BufOpt_Copy
                              : BinMemInputStream::BufOpt_Reference
  +        , getMemoryManager()
       );
   }
   
  
  
  
  1.3       +4 -1      xml-xerces/c/src/xercesc/framework/StdInInputSource.cpp
  
  Index: StdInInputSource.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/StdInInputSource.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StdInInputSource.cpp	4 Nov 2002 15:00:21 -0000	1.2
  +++ StdInInputSource.cpp	16 May 2003 03:11:30 -0000	1.3
  @@ -56,6 +56,9 @@
   
   /**
    * $Log$
  + * Revision 1.3  2003/05/16 03:11:30  knoaman
  + * Partial implementation of the configurable memory manager.
  + *
    * Revision 1.2  2002/11/04 15:00:21  tng
    * C++ Namespace Support.
    *
  @@ -93,7 +96,7 @@
   BinInputStream* StdInInputSource::makeStream() const
   {
       // Open a binary file stream for the standard input file handle
  -    BinFileInputStream* retStream = new BinFileInputStream
  +    BinFileInputStream* retStream = new (getMemoryManager()) BinFileInputStream
       (
           XMLPlatformUtils::openStdInHandle()
       );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org