diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-07 10:49:53 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-07 10:49:53 +0000 |
commit | fa94e399e78544fb77abd60e1b0090b6248d6d1d (patch) | |
tree | 5d8bf807fbb359b43ef2a0144a4193a3f0778b5b /Build/source/texk/web2c/lib | |
parent | ca7b5c3464b1daa17a18ba5a512b36a11fd0561e (diff) |
Rename program_invocation_*name => kpse_invocation_*name
(1) to avoid conflict with /usr/include/sys/error.h from Cygwin, and
(2) to indicate that these are not the variables from glibc.
git-svn-id: svn://tug.org/texlive/trunk@21624 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/setupvar.c | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index ac160630070..b9ec0871440 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,8 @@ +2011-03-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * setupvar.c (setupboundvariable): `program_invocation_name' has + been renamed into `kpse_invocation_name'. + 2011-03-10 Peter Breitenlohner <peb@mppmu.mpg.de> * texmfmp.c (calledit): [__MINGW32__] Drop win32_system() and diff --git a/Build/source/texk/web2c/lib/setupvar.c b/Build/source/texk/web2c/lib/setupvar.c index 702d379689a..a37b3f713a6 100644 --- a/Build/source/texk/web2c/lib/setupvar.c +++ b/Build/source/texk/web2c/lib/setupvar.c @@ -23,7 +23,7 @@ setupboundvariable (integer *var, const_string var_name, integer dflt) if (conf_val < 0 || (conf_val == 0 && dflt > 0)) { fprintf (stderr, "%s: Bad value (%ld) in texmf.cnf for %s, keeping %ld.\n", - program_invocation_name, + kpse_invocation_name, (long) conf_val, var_name, (long) dflt); } else { *var = conf_val; /* We'll make further checks later. */ diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 78e5934aa79..de5ec885faa 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -628,7 +628,7 @@ maininit (int ac, string *av) if (!user_progname) user_progname = dump_name; - /* Do this early so we can inspect program_invocation_name and + /* Do this early so we can inspect kpse_invocation_name and kpse_program_name below, and because we have to do this before any path searching. */ kpse_set_program_name (argv[0], user_progname); |