Changeset 3268
- Timestamp:
- 03/31/07 14:13:02 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ossie/branches/philip-work/framework/helperFunctions.cpp
r3264 r3268 36 36 bool ossieSupport::isValidFileName(const char *fileName) 37 37 { 38 return boost::filesystem::portable_posix_name(fileName); 38 try { 39 boost::filesystem::path testPath(fileName, boost::filesystem::portable_posix_name); 40 } catch (...) { 41 return false; 42 } 43 44 return true; 39 45 }