On Sun, Oct 05, 2008 at 04:40:35PM +0200, Abdelrazak Younes wrote: > On 05/10/2008 16:30, Peter K�mmel wrote: > > Andre Poenitz wrote: > >> On Sun, Oct 05, 2008 at 02:09:03PM +0200, Peter K�mmel wrote: > >>> Abdelrazak Younes wrote: > >>>> Yes, but please use (or extend) already existing > >>>> FileName::operator==() > >>>> > >>> FileName::operator==() expands now short names on Windows. > >>> http://www.lyx.org/trac/changeset/26745 > >> > >> In this case I'd prefer a more verbose name. Having non-trivial > >> operations hidden in customarily "cheap" operators tend to create > >> unexpected behaviour... > > > > Or we always use long path names internaly, see patch. > > Yes, I prefer that.
Please, don't do that. Short filenames allow to overcome bugs resulting from having spaces or other special characters (not only in LyX, but also when using external programs). If a pathname is transformed into its long version, the simple countermeasure of using the short form is defeated. -- Enrico