[tlbuild] Problem with program_invocation_name on Cygwin

Peter Breitenlohner peb at mppmu.mpg.de
Mon Mar 7 11:51:00 CET 2011


On Mon, 7 Mar 2011, Peter Breitenlohner wrote:

> Hi Karl, Taco, Ken,
>
> (1) The current code no longer tests for HAVE_PROGRAM_INVOCATION_NAME, thus
> I will remove the test producing that variable.
>
> (2) The current code no longer uses the variables supplied by glibc but
> always our own ones.  If we have to use new names I'll use
> kpse_invocation{,_short}_name to make it clear that this has nothing to do
> with program_invocation{,_short}_name from glibc.
>
> Taco,
>
> I'll also change this in the two LuaTeX files lua/luainit.w and
> tex/texfileio.w!

all done in r21624.

On Sun, 6 Mar 2011, Karl Berry wrote:

> With no #ifdef __USE_GNU or anything around it?  The declarations (minus
> __IMPORT) are also present in /usr/include/errno.h on my CentOS system
> and have been around in glibc for decades.  Thus seemingly this should 
> have been failing for a year or two at least, but hasn't been.

I suppose we were just lucky not to use _GNU_SOURCE.

Regards
Peter


More information about the tlbuild mailing list