diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-16 07:27:23 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-16 07:27:23 +0000 |
commit | 2f6e1cc9e4c3f899a4142cbdf44e6fc10af0d32b (patch) | |
tree | 6ca7032c7cce84a2826dc9105b9aaf479800b561 /Build/source/texk/web2c/pdftexdir | |
parent | 41e050122555719daad3bc3da47e3d559e39c42f (diff) |
texk/*: Pass known program names as arg2 to kpse_set_program_name()
git-svn-id: svn://tug.org/texlive/trunk@27073 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ttf2afm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index f0f1a879176..21a5aee2347 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,7 @@ +2012-07-15 Peter Breitenlohner <peb@mppmu.mpg.de> + + * ttf2afm.c: Pass program name string to kpse_set_program_name. + 2012-07-15 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * pdftexextra.c: Must #define DLLPROC before reading pdftexd.h. diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.c b/Build/source/texk/web2c/pdftexdir/ttf2afm.c index 0529b947771..93fa933b730 100644 --- a/Build/source/texk/web2c/pdftexdir/ttf2afm.c +++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.c @@ -1021,7 +1021,7 @@ int main(int argc, char **argv) char date[128], *s; time_t t = time(&t); int c; - kpse_set_program_name(argv[0], NULL); + kpse_set_program_name(argv[0], "ttf2afm"); kpse_init_prog("ttf2afm", 0, 0, 0); while ((c = getopt(argc, argv, "iucve:o:m:")) != -1) switch (c) { |