summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-10-15 14:15:28 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-10-15 14:15:28 +0000
commiteab9bcd8e4f7743f368e0e50cb44a779de7170c8 (patch)
treeb7560f2ca653124f5a8707bf689672ca20bfa8ea /Build
parent468ff860c7821dd864dde6fe408106dd92d20fc3 (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/ChangeLog4
-rw-r--r--Build/source/texk/makeindexk/mkind.c5
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) {