X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDirList.cxx;h=5f8f3ccc2536bb4eb548efe2ed4dced09dec67a3;hb=5154dc89c0a2a565e9e79024ba8910f405279dd2;hp=ddbc63429bc4204c6811d569e03632e26398725b;hpb=cdc3f89e3291dfdc5cfa60dea19558635d2f8755;p=gdcm.git diff --git a/src/gdcmDirList.cxx b/src/gdcmDirList.cxx index ddbc6342..5f8f3ccc 100644 --- a/src/gdcmDirList.cxx +++ b/src/gdcmDirList.cxx @@ -26,7 +26,6 @@ gdcmDirList::gdcmDirList(std::string dirName,bool recursive) { name=dirName; - NormalizePath(name); Explore(name,recursive); } @@ -71,7 +70,6 @@ void gdcmDirList::Explore(std::string dirName,bool recursive) std::string fileName; NormalizePath(dirName); - #if defined(_MSC_VER) || (__CYGWIN__) WIN32_FIND_DATA fileData; HANDLE hFile=FindFirstFile((dirName+"*").c_str(),&fileData); @@ -99,7 +97,7 @@ void gdcmDirList::Explore(std::string dirName,bool recursive) for (int i= 0;i < n; i++) { - fileName=namelist[i]->d_name; + fileName=namelist[i]->d_name; if(namelist[i]->d_type==DT_DIR) { if( (fileName!=".") && (fileName!="..") && (recursive) )