]> Creatis software - gdcm.git/commit
* Valgrind note: after Mathieu Malaterre teached me how to read
authorfrog <frog>
Fri, 18 Jun 2004 00:11:44 +0000 (00:11 +0000)
committerfrog <frog>
Fri, 18 Jun 2004 00:11:44 +0000 (00:11 +0000)
commitcf66ed219aec63038f62f96f5fbdc4e37868bb0d
tree30a6fced1621fbc8025ee15aa4c40fa68c7a61b8
parent36205426d2bbb33e6e08793130f6b6485a500372
   * Valgrind note: after Mathieu Malaterre teached me how to read
      the valgrind FAQ ;-] (see http://valgrind.kde.org/faq.html), I
      learned that:
          Using gcc, you can force the STL to use malloc and to free memory as
          soon as possible by globally disabling memory caching.
          With 3.2.2 and later, you should export the environment variable
          GLIBCPP_FORCE_NEW before running your program.
      By setting GLIBCPP_FORCE_NEW, STL related memory leak messages of gdcm
      simply vanish (it is still not clear to me, whether this means that STL
      std::string leaks or if valgrind believes it leaks...).
    * Fixing of SegFault of Test/makeDicomDir (as shown by ctest or by
      running bin/gdcmTests makeDicomDir):
      - src/gdcmDicomDir.cxx: dynamic casting used + clean up.
      - Test/makeDicomDir.cxx now properly traps empty lists and returns
        with 1.
      NOW, makeDicomDir cleanly fails (in ctest terminology) instead of
      SegFaulting (I drowned in DicomDir related code when trying to
      understand why the list is empty...).
    * src/gdcmDocument.h: first BSD license header try.
    * Doc/License.txt added.           --- Frog
ChangeLog
Doc/License.txt [new file with mode: 0644]
src/gdcmDicomDir.cxx
src/gdcmDocument.cxx
src/gdcmDocument.h