]> Creatis software - gdcm.git/commitdiff
* src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
authorregrain <regrain>
Thu, 20 Feb 2003 13:48:56 +0000 (13:48 +0000)
committerregrain <regrain>
Thu, 20 Feb 2003 13:48:56 +0000 (13:48 +0000)
      * modifications in MSVC projects
      -- BeNours

ChangeLog
src/gdcmHeader.cxx

index 450accfc539f2645da88c7bbf3bc80af22c785e7..285eaff59f4e664bbfca574ff9134d3a0237226a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-20 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
+      * src/gdcmHeader.cxx : bug fix - opening dicom file in binary !!!
+      * modifications in MSVC projects
+
 2003-02-19 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
       * As stated by the first lines of Test/ExceptionAndPython/README, it
         looks like we can move back to original usage of exception within
index 9246c4523b2cb3a3f696c545cd99813c73c3f5f8..faa95f7bccd4fcffd175453a3da4f9426066f316 100644 (file)
@@ -43,7 +43,7 @@ gdcmHeader::gdcmHeader(const char *InFilename, bool exception_on_error)
   SetMaxSizeLoadElementValue(_MaxSizeLoadElementValue_);
   filename = InFilename;
   Initialise();
-  fp=fopen(InFilename,"rw");
+  fp=fopen(InFilename,"rb");
   if(exception_on_error) {
     if(!fp)
       throw gdcmFileError("gdcmHeader::gdcmHeader(const char *, bool)");