On Wed, May 31, 2006 at 11:49:05AM +0200, Joost Verburg wrote:
> Joost Verburg wrote:
> >Unfortunately it was just a coincidence. Even using Windows XP I now had 
> >a few crashes. Tools > Reconfigure often triggers it.
> 
> I think I found it. One byte more needs to be allocated in get_dvi_name 
> (for the null byte).

Doh! I think you're right, well done!

The dvipost source is really ugly. I would also replace the strchr
in the following line by strrchr to allow for additional dots in
a filename.

I still don't understand why it is working for me, but I think
it is an example of what undefined behavior means.

-- 
Enrico

Reply via email to