]> Creatis software - gdcm.git/blobdiff - src/gdcmDirList.cxx
remove spurious trailing spaces
[gdcm.git] / src / gdcmDirList.cxx
index a777d9ea5efdee0cedcd36fc0db8c59493fe0390..f9b7ecb18bfc0574486a3e91d788c86973646f29 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDirList.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/06/08 12:49:37 $
-  Version:   $Revision: 1.62 $
+  Date:      $Date: 2008/02/13 18:53:33 $
+  Version:   $Revision: 1.65 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -28,7 +28,7 @@
 #include <sys/stat.h>  //stat function
 
 #ifdef _MSC_VER
-   #include <windows.h> 
+   #include <windows.h>
    #include <direct.h>
 #else
    #include <dirent.h>   
@@ -52,8 +52,7 @@ DirList::DirList(std::string const &dirName, bool recursive)
 
 /**
  * \brief Constructor  
- * @param  dirName root directory name
- * @param  recursive whether we want to explore recursively or not 
+ * @param  se DicomDirSerie we want to explore
  */
 DirList::DirList(DicomDirSerie *se)
 {
@@ -89,7 +88,8 @@ bool DirList::IsDirectory(std::string const &dirName)
    }
    else
    {
-      gdcmStaticErrorMacro( strerror(errno) );
+      gdcmStaticWarningMacro("[" << dirName << "] not found or is not a Directory");
+      //gdcmStaticErrorMacro( strerror(errno) );
       return false;
    }
 }