On Apr 5, 2010, at 2:19 PM, Bill Hoffman wrote:

> Clinton Stimpson wrote:
> 
>> So interleaving wine tracing and cmake tracing along with some
> debugging... the problem comes from within
> SystemTools::GetActualCaseForPath()
>> where it takes as input <somepath>/CMakeTestCXXCompiler.cmake and
> returns <somepath>/CMakeFortranInformation.cmake.
>> I'm guessing its a bug in Wine's GetShortPathName() or
> GetLongPathName(). There are more modern apis for getting the actual
> case of a file, but they probably don't work on Windows 98.
> 
> Yikes!
> 
> That is a nice bug...   I would expect it to cause lots of other really 
> strange things to happen as well....
> 
> I don't think there is much that can be done about that...   What are the 
> more modern ways of doing that?   We don't really support windows 98 anymore. 
>  NT and greater.


I was thinking SHGetFileInfo() would be a modern way of doing it, but there is 
more work involved to use it.
I'd prefer wine be fixed than cmake having a workaround.

Clint

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to