]> Creatis software - creaImageIO.git/commitdiff
replace boost::filesystem::is_regular_file() by boost::filesystem::is_regular()
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 4 Jun 2009 10:53:05 +0000 (10:53 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 4 Jun 2009 10:53:05 +0000 (10:53 +0000)
-Hope it was a mistyping, not a difference Windoze/Linux ... -

src2/creaImageIOGimmick.cpp

index af7f7010c1dc9276d32b0de3647f10995ab52d8a..4f6e1e2248b9acafc98276aa275b4222b0e09020 100644 (file)
@@ -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);