Jean-Marc Lasgouttes wrote:
Peter Kümmel <[EMAIL PROTECTED]> writes:
if (!prefixIs(onlyPath(sourceFile.absFilename()), 
package().temp_dir().absFilename()))
(Exporter.cpp, 72)

fails due to different names of the same directory (prefixIs is string based):

C:/Dokumente und Einstellungen/cdev/Lokale Einstellungen/Temp/lyx_tmpbuf0/
C:/DOKUME~1/cdev/LOKALE~1/Temp

The problem is probably to know why temp_dir uses the short file
version. We should make sure that all of our files are LFN.

temp_dir is the value returned by QDir::tempPath() therefore I think
this is a Qt bug. But I don't know how Qt handles all other win32
functions which return a short name.
Is there are "all LFN" policy in Qt? I think it should, because how
could I know if the name returned by Qt is a short or a long one?

--
Peter Kümmel

Reply via email to