[RFC][PATCH] Change to buffer lookup for given temporary files

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sun Feb 23 12:50:49 UTC 2020


Le 23/02/2020 à 11:40, Enrico Forestieri a écrit :
> On Sun, Feb 23, 2020 at 12:35:53AM +0100, Enrico Forestieri wrote:
>> On Tue, Feb 18, 2020 at 07:55:13PM +0100, Enrico Forestieri wrote:
>>>
>>> Still, why realPath() returns a short path name in one case and not in the
>>> other case remains a mystery.
>>
>> Mystery solved. On Windows, our implementation of realPath() works only with
>> file names but does not work with directory names. On the other hand,
>> QFileInfo::canonicalFilePath() does not resolve junctions (directory
>> symlinks).
> 
> Dropping support for Windows Xp, the attached patch works for me with
> both files and directories. I am going to apply it, as I think it is
> not controversial, given that MS dropped support for Win7 these year
> (while we still support both WinVista and Win7).

I have no definitive idea about that, but you should update README if 
you apply it.

Stephan, do we still support MacOS X 10.4, BTW?

JMarc



More information about the lyx-devel mailing list