On 2010-06-10 16:20-0400 David Cole wrote:

softw...@raven> find -print0 -type f |xargs -0 grep -l shortPath
./Source/kwsys/SystemTools.cxx

Wrong search.  Sorry about that noise!

If instead you search for GetShortPath there are lots of places in the CMake
source tree that still refers to that method.

softw...@raven> find -print0 -type f |xargs -0 grep -l GetShortPath
./ChangeLog.txt
./Source/cmCTest.h
./Source/cmLocalVisualStudio6Generator.cxx
./Source/cmGlobalVisualStudio6Generator.cxx
./Source/cmSystemTools.cxx
./Source/cmGlobalVisualStudio7Generator.cxx
./Source/kwsys/SystemTools.cxx
./Source/kwsys/SystemTools.hxx.in
./Source/cmGlobalGenerator.cxx
./Source/cmCTest.cxx
./Source/cmGlobalVisualStudio10Generator.cxx
./Source/cmLocalGenerator.cxx
./Source/CTest/cmCTestMemCheckHandler.cxx
./Source/CTest/cmCTestTestHandler.cxx
./Source/CTest/cmCTestCoverageHandler.cxx
./Source/cmLocalUnixMakefileGenerator3.cxx

GetShortPath calls GetShortPathName.  From
http://bugs.winehq.org/show_bug.cgi?id=22286 it appears the point of Clint's
patch was to eliminate a specific and well-known hash collision on Wine
caused by GetShortPathName, but from all the on-going uses of GetShortPath
within CMake shown above, I am concerned there might be other wine name
collisions lurking about with cmake causing other issues (e.g., the wine issue
I mentioned before where part of the CMake log messages were not being sent to
the log file).  To address those potential issues, is
there a simple way to reduce or eliminate the use of GetShortPath from the
CMake code or else replace the call to GetShortPathName within GetShortPath
by something else?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
_______________________________________________
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