[tex-k] kpse program name
Joachim Schrod
jschrod at acm.org
Tue Jul 3 17:55:36 CEST 2007
On a SUSE 10.0 system, when I call
kpse_set_program_name("dvilj", NULL);
in a main program, it doesn't take "dvilj" as program name. (Probably
because I'm on a GNU libc system and HAVE_PROGRAM_INVOCATION_NAME is
set.)
I need to call
kpse_reset_program_name("dvilj");
IMNSHO, this should be more emphasized in the kpathsea documentation,
info node "Calling sequence". If one calls a function named
kpse_set_program_name(), one expects that it *does* set the program
name and not that it ignores the argument.
(In this case, I don't want different search path names for the
variations of dviljk.)
Best,
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod Email: jschrod at acm.org
Roedermark, Germany
More information about the tex-k
mailing list