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/ps2pkm | |
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/ps2pkm')
-rw-r--r-- | Build/source/texk/ps2pkm/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/ps2pkm/ps2pk.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/ps2pkm/ChangeLog b/Build/source/texk/ps2pkm/ChangeLog index 7600d60ce6c..3aa1ef6a8fb 100644 --- a/Build/source/texk/ps2pkm/ChangeLog +++ b/Build/source/texk/ps2pkm/ChangeLog @@ -1,3 +1,8 @@ +2011-03-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * ps2pk.c (main): `program_invocation_name' has been renamed + into `kpse_invocation_name'. + 2010-03-09 Peter Breitenlohner <peb@mppmu.mpg.de> * ps2pk.c: Use kpse_set_program_name() instead of diff --git a/Build/source/texk/ps2pkm/ps2pk.c b/Build/source/texk/ps2pkm/ps2pk.c index 7d917816f8f..5fa885b0e1a 100644 --- a/Build/source/texk/ps2pkm/ps2pk.c +++ b/Build/source/texk/ps2pkm/ps2pk.c @@ -423,19 +423,19 @@ int argc; char *argv[]; free(altname); } if (!psfile) - fatal("%s: PS file %s not found!\n", program_invocation_name, + fatal("%s: PS file %s not found!\n", kpse_invocation_name, psname); if (afmname == NULL) afmname = newname(psname, ".afm"); afmfile = kpse_find_file(afmname,kpse_afm_format,0); if (!afmfile) - fatal("%s: AFM file %s not found!\n", program_invocation_name, + fatal("%s: AFM file %s not found!\n", kpse_invocation_name, afmname); if (encname) { encfile = kpse_find_file(encname,kpse_enc_format,0); if (!encfile) - fatal("%s: enc file %s not found!\n", program_invocation_name, + fatal("%s: enc file %s not found!\n", kpse_invocation_name, encname); } else |