From: malaterre Date: Fri, 14 Jan 2005 22:53:58 +0000 (+0000) Subject: BUG: Wrong macro X-Git-Tag: Version1.0.bp~322 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4e6b40ac124483ba555714c58836aff9691df125;p=gdcm.git BUG: Wrong macro --- diff --git a/src/gdcmDirList.cxx b/src/gdcmDirList.cxx index 4504c3e6..7f347586 100644 --- a/src/gdcmDirList.cxx +++ b/src/gdcmDirList.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDirList.cxx,v $ Language: C++ - Date: $Date: 2005/01/14 22:44:39 $ - Version: $Revision: 1.36 $ + Date: $Date: 2005/01/14 22:53:58 $ + Version: $Revision: 1.37 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -105,7 +105,7 @@ int DirList::Explore(std::string const &dirpath, bool recursive) numberOfFiles++; } } - if (hFile != INVALID_FILE_HANDLE) FindClose(hFile); + if (hFile != INVALID_HANDLE_VALUE) FindClose(hFile); #else // Real POSIX implementation: scandir is a BSD extension only, and doesn't