From: jean-pierre roux Date: Thu, 4 Jun 2009 10:53:05 +0000 (+0000) Subject: replace boost::filesystem::is_regular_file() by boost::filesystem::is_regular() X-Git-Tag: EED.02Oct2009~49 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c75c580a44a73829a735cc5f7a7fdce84ae8bcac;p=creaImageIO.git replace boost::filesystem::is_regular_file() by boost::filesystem::is_regular() -Hope it was a mistyping, not a difference Windoze/Linux ... - --- diff --git a/src2/creaImageIOGimmick.cpp b/src2/creaImageIOGimmick.cpp index af7f701..4f6e1e2 100644 --- a/src2/creaImageIOGimmick.cpp +++ b/src2/creaImageIOGimmick.cpp @@ -379,7 +379,8 @@ namespace creaImageIO VALID_FILE_SEPARATOR , INVALID_FILE_SEPARATOR); setDir+="localdatabase_Descriptor.txt"; - if(!boost::filesystem::is_regular_file(setDir)) + //if(!boost::filesystem::is_regular_file(setDir)) //JPRX + if(!boost::filesystem::is_regular(setDir)) { char name[PATH_MAX]; int err = GetBinaryDirectory(name, PATH_MAX);