diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-10-15 14:15:28 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-10-15 14:15:28 +0000 |
commit | eab9bcd8e4f7743f368e0e50cb44a779de7170c8 (patch) | |
tree | b7560f2ca653124f5a8707bf689672ca20bfa8ea /Build | |
parent | 468ff860c7821dd864dde6fe408106dd92d20fc3 (diff) |
makeindexk: Avoid TL vs W32TeX diffs (from Akira)
git-svn-id: svn://tug.org/texlive/trunk@27970 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/makeindexk/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/makeindexk/mkind.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/makeindexk/ChangeLog b/Build/source/texk/makeindexk/ChangeLog index aba6cabe8b2..70f2b2ae428 100644 --- a/Build/source/texk/makeindexk/ChangeLog +++ b/Build/source/texk/makeindexk/ChangeLog @@ -1,3 +1,7 @@ +2012-10-15 Peter Breitenlohner <peb@mppmu.mpg.de> + + * mkind.c: Avoid TL vs W32TeX diffs (from Akira). + 2012-07-28 Peter Breitenlohner <peb@mppmu.mpg.de> * mkind.c, scanid.c: Do not typecast the result of malloc(). diff --git a/Build/source/texk/makeindexk/mkind.c b/Build/source/texk/makeindexk/mkind.c index 8b85f06d7b3..838afc3ca39 100644 --- a/Build/source/texk/makeindexk/mkind.c +++ b/Build/source/texk/makeindexk/mkind.c @@ -107,8 +107,8 @@ main(int argc, char *argv[]) #if USE_KPATHSEA kpse_set_program_name (argv[0], "makeindex"); -#endif - + pgm_fn = kpse_program_name; +#else /* determine program name */ pgm_fn = strrchr(*argv, DIR_DELIM); #ifdef ALT_DIR_DELIM @@ -123,6 +123,7 @@ main(int argc, char *argv[]) pgm_fn = *argv; else pgm_fn++; +#endif /* USE_KPATHSEA */ /* process command line options */ while (--argc > 0) { |