From eab9bcd8e4f7743f368e0e50cb44a779de7170c8 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 15 Oct 2012 14:15:28 +0000 Subject: makeindexk: Avoid TL vs W32TeX diffs (from Akira) git-svn-id: svn://tug.org/texlive/trunk@27970 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/makeindexk/ChangeLog | 4 ++++ Build/source/texk/makeindexk/mkind.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'Build') 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 + + * mkind.c: Avoid TL vs W32TeX diffs (from Akira). + 2012-07-28 Peter Breitenlohner * 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) { -- cgit v1.2.3