summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-05-04 22:11:52 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-05-04 22:11:52 +0000
commit60a4a78b6a7b90f32c6fe78eb8d51658f3e75c2f (patch)
treebba28cd8f40cbbbb8f441309e691807c774abd77 /Build/source
parent44329cf6a4d929984861cf28d134c95384d5d9ae (diff)
Change my_name for extractbb
git-svn-id: svn://tug.org/texlive/trunk@33831 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog1
-rw-r--r--Build/source/texk/dvipdfm-x/dvipdfmx.c7
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 6d657e5727c..c9dd8ba69e1 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -2,6 +2,7 @@
* dvipdfmx.c: Move special-case single option --help or --version
after determination of program name (from Heiko).
+ Change my_name for extractbb and ebb.
xbb.c: Move '++flag' from inside 'if()' to 'then' part of the
'if' statement (from Heiko).
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c
index 5a7cd420e9f..79a0be187d4 100644
--- a/Build/source/texk/dvipdfm-x/dvipdfmx.c
+++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c
@@ -923,13 +923,16 @@ main (int argc, char *argv[])
} else
base = kpse_program_basename (argv[0]);
- if (FILESTRCASEEQ (base, "extractbb") || FILESTRCASEEQ (base, "xbb"))
+ if (FILESTRCASEEQ (base, "extractbb") || FILESTRCASEEQ (base, "xbb")) {
+ my_name = "extractbb";
return extractbb (argc, argv);
+ }
if (FILESTRCASEEQ (base, "ebb")) {
+ my_name = "ebb";
compat_mode = 1;
return extractbb (argc, argv);
}
-
+
/* Special-case single option --help or --version, to avoid possible
diagnostics about config files, etc. */
if (argc == 2 && STREQ (argv[1], "--help")) {