X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDirList.cxx;h=f9b7ecb18bfc0574486a3e91d788c86973646f29;hb=944dcbe9398f982d89c3ab2a588b9f1f1c072b7c;hp=a777d9ea5efdee0cedcd36fc0db8c59493fe0390;hpb=5d1e3fd08029804ede29b7392c2f1b7970b3c27f;p=gdcm.git diff --git a/src/gdcmDirList.cxx b/src/gdcmDirList.cxx index a777d9ea..f9b7ecb1 100644 --- a/src/gdcmDirList.cxx +++ b/src/gdcmDirList.cxx @@ -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 //stat function #ifdef _MSC_VER - #include + #include #include #else #include @@ -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; } }