[tex-live] laulatex quiting: fix your writable cache path

Peter Breitenlohner peb at mppmu.mpg.de
Wed Jun 26 14:34:15 CEST 2013


On Wed, 26 Jun 2013, Akira Kakuto wrote:

> In ptexlib.h, there are
>
> #ifdef HAVE_CONFIG_H
> #include <w2c/config.h>
> #endif
>
> and
>
> w2c/config.h includes w2c/c-auto.h.

Hi Taco,

as far as I can see, it is necessary that "ptexlib.h" is always the first file
to be included.  That is true most of the time but occasionally <stdio.h> is
included before "ptexlib.h" leading to a 32bit off_t.  And there are cases
where other headers are included first.

BTW: Do you really need the
   #  define EXTERN extern
in ptexlib.h before you include "luatex.h"?

Regards
Peter


More information about the tex-live mailing list