* 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