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

Enrico Forestieri forenr at lyx.org
Sun Feb 23 22:04:51 UTC 2020


On Sun, Feb 23, 2020 at 12:52:46PM -0500, Richard Kimberly Heck wrote:
> On 2/23/20 7:50 AM, Jean-Marc Lasgouttes wrote:
> > 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.
> 
> I am not totally sure, but I seem to recall that Uwe stopped pledging
> support for XP quite some time ago. There was some specific reason, I
> think, but I can't recall what it was.

I don,t either, but since 5873a382 it won't even start on Xp and
earlier versions.

-- 
Enrico


More information about the lyx-devel mailing list