summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-05-22 23:30:33 +0000
committerKarl Berry <karl@freefriends.org>2008-05-22 23:30:33 +0000
commit9489a2813f36d7ada949c78ae693d032669b78d7 (patch)
tree25cfbd6330b09424e09ec8bb3de76aafff2caa9e /Build
parent605965503bda0cf0120b0139ca5e3478f80eaf4f (diff)
use the right formats for updmap.cfg, mktex.cnf, fmtutil.cnf, and dvipdfmx.cfg (a la tcfmgr.map)
git-svn-id: svn://tug.org/texlive/trunk@8297 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog6
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c12
2 files changed, 16 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index f1e521c87b4..f5bd1a708fd 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-23 Karl Berry <karl@tug.org>
+
+ * kpsewhich.c (find_format): use the right formats for
+ dvipdfmx.cfg, fmtutil.cnf, mktex.cnf, and updmap.cfg (as well as
+ config.ps, earlier). Same values as texmf/texconfig/tcfmgr.map.
+
2008-05-18 Karl Berry <karl@tug.org>
* mktexlsr (vc_dirs): ignore more than just .svn.
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c
index 7e5005270c0..4623649592d 100644
--- a/Build/source/texk/kpathsea/kpsewhich.c
+++ b/Build/source/texk/kpathsea/kpsewhich.c
@@ -98,10 +98,18 @@ find_format P2C(string, name, boolean, is_filename)
if (is_filename && user_format != kpse_last_format) {
ret = user_format;
- } else if (FILESTRCASEEQ (name, "pdftex.cfg")) {
- ret = kpse_pdftex_config_format;
} else if (FILESTRCASEEQ (name, "config.ps")) {
ret = kpse_dvips_config_format;
+ } else if (FILESTRCASEEQ (name, "dvipdfmx.cfg")) {
+ ret = kpse_program_text_format;
+ } else if (FILESTRCASEEQ (name, "fmtutil.cnf")) {
+ ret = kpse_web2c_format;
+ } else if (FILESTRCASEEQ (name, "mktex.cnf")) {
+ ret = kpse_web2c_format;
+ } else if (FILESTRCASEEQ (name, "pdftex.cfg")) {
+ ret = kpse_pdftex_config_format;
+ } else if (FILESTRCASEEQ (name, "updmap.cfg")) {
+ ret = kpse_web2c_format;
} else {
int f; /* kpse_file_format_type */
unsigned name_len = strlen (name);