On Wed, Jun 01, 2011 at 02:31:06PM +0200, Michal wrote: > Not knowing whether to apply only your second patch or to apply both > of them, I tried both approaches. Both seems correct now (although with > the last patch no longer see the point of invoking GetShortPathNameW),
The point is that if the TeX engine does not support spaces in filenames the check is going to fail. Now, recent MikTeX versions support spaces in filenames, but old ones do not, for example. Then, there may be other engines not allowing spaces. As it is now, the check would fail only if the file system does not provide for short names *and* the TeX engine does not support spaces in file names, giving a much lower probability of failure. > so everything seems fine on my side. Keep in mind, hovewer, that you've > added to some condition "or sys.platform == 'cygwin'", which I'm unable > to test. No worries, I am able to test it. -- Enrico