diff options
author | Karl Berry <karl@freefriends.org> | 2007-05-05 16:43:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-05-05 16:43:51 +0000 |
commit | 6bcfc082af0362dc16c26af0e7188d76fae22817 (patch) | |
tree | 733e002c49b2523b4197aa58a85904fd12126104 /Build/source/texk/kpathsea/kpsewhich.c | |
parent | d50c2f933a09df08e19fb6c6277ff7c0caf0d6bf (diff) |
use kpse_dvips_config_format for config.ps
git-svn-id: svn://tug.org/texlive/trunk@4244 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/kpsewhich.c')
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index 1f79588e890..c1a2930dcae 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -1,7 +1,7 @@ /* kpsewhich -- standalone path lookup and variable expansion for Kpathsea. - Ideas from Thomas Esser and Pierre MacKay. + Ideas from Thomas Esser, Pierre MacKay, and many others. - Copyright (C) 1995 - 2005 Karl Berry & Olaf Weber. + Copyright (C) 1995-2007 Karl Berry & Olaf Weber. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -16,7 +16,6 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ #include <kpathsea/config.h> @@ -99,6 +98,8 @@ find_format P2C(string, name, boolean, is_filename) 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 { int f; /* kpse_file_format_type */ unsigned name_len = strlen (name); |