On Tue, May 30, 2006 at 09:09:20PM +0200, Joost Verburg wrote: > Enrico Forestieri wrote: > >>Unfortunately pplatex.exe is very unstable. Especially during testing on > >>Windows 2000 it crashes all the time. > > > >This is weird. I run it on Windows 2000 and it works flawlessly. > > The crash is caused by a stack overflow. The problem however seems to be > solved after I installed SP4 on the test system.
Good detective work! Indeed, I have SP4 installed but would have never thought about it. After all, dvipost seems a so simple application... In the meantime I have discovered that a native Windows build needs another small patch. Please, find it attached. However, LyX is not affected by this patch. -- Enrico
--- main.c.orig 2006-05-29 17:56:20.000000000 +0200 +++ main.c 2006-05-30 20:52:08.000000000 +0200 @@ -241,6 +241,11 @@ p = strrchr(arg, '/'); +#ifdef _WIN32 + if (!p) + p = strrchr(arg, '\\'); +#endif + if (p && p[1]) arg = p + 1;