[tex-live] Bug in the devnag preprocessor

Peter Breitenlohner peb at mppmu.mpg.de
Sun Jul 13 15:33:24 CEST 2014


On Sat, 12 Jul 2014, Zdenek Wagner wrote:

> I am looking at your files and am not able to reproduce your exact
> output with my current version. If I go back to TL2011, I get the same
> as your st65.tex, the preprocessor from the latest TL2014 gives the
> same result as your st65x.tex. Could you verify that it works for you?
> I see some fixes in TeX Live svn repository that have not been
> reported upstream to us. If the output is OK, I will port them to our
> project version.

>>>>>>> 2013/12/12 Peter Pasedach <peter.pasedach at googlemail.com>:

>>>>>>>> Dear Zdenek Wagner,
>>>>>>>>
>>>>>>>> are you the current maintainer of the devnag preprocessor? I have
>>>>>>>> come across a weird bug only appearing on some machines, due to
>>>>>>>> which some strings in the input file do not get translated properly
>>>>>>>> and thus tex hangs on the output file.  If you are interested I can
>>>>>>>> send you some example file.

As you can see from the TL ChangeLog there has been a bug fixes that did
cause problems on one or the other system:
   Replace strcpy() by memmove() when src and dest overlap.

More recently and not yet in TL2014:
   Cast the argument of isalpha() and similar to (unsigned char) because plain
   char might be signed and negative arguments yield undefined behaviour.

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>



More information about the tex-live mailing list