diff --git a/uppdev/FindFile/FindFile.cpp b/uppdev/FindFile/FindFile.cpp index 3cfd9784f..092825bf3 100644 --- a/uppdev/FindFile/FindFile.cpp +++ b/uppdev/FindFile/FindFile.cpp @@ -1,31 +1,31 @@ -#include - -using namespace Upp; - -CONSOLE_APP_MAIN -{ -#ifdef PLATFORM_WIN32 - FindFile ff("u:/client/*.*"); -#else - FindFile ff(AppendFileName(GetHomeDir(), "*.*")); -#endif - while(ff) { - LOG(ff.GetName()); - LOG(ff.GetPath()); - ff.Next(); - } - LOG("================================================================"); - ff.Search("./*.*"); - while(ff) { - LOG(ff.GetName()); - LOG(ff.GetPath()); - ff.Next(); - } - LOG("================================================================"); - ff.Search("u:/client/zlib1.dll"); - while(ff) { - LOG(ff.GetName()); - LOG(ff.GetPath()); - ff.Next(); - } -} +#include + +using namespace Upp; + +CONSOLE_APP_MAIN +{ +#ifdef PLATFORM_WIN32 + FindFile ff("u:/client/*.*"); +#else + FindFile ff(AppendFileName(GetHomeDirectory(), "*.*")); +#endif + while(ff) { + LOG(ff.GetName()); + LOG(ff.GetPath()); + ff.Next(); + } + LOG("================================================================"); + ff.Search("./*.*"); + while(ff) { + LOG(ff.GetName()); + LOG(ff.GetPath()); + ff.Next(); + } + LOG("================================================================"); + ff.Search("/home/centrum/test"); + while(ff) { + LOG(ff.GetName()); + LOG(ff.GetPath()); + ff.Next(); + } +}