diff options
Diffstat (limited to 'Build/source/texk/kpathsea/kpsewhich.c')
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index e529cbc75fc..8a76c08400d 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -155,24 +155,8 @@ find_format (kpathsea kpse, string name, boolean is_filename) if (found) break; - - /* Some trickery here: the extensions for kpse_fmt_format can - * clash with other extensions in use, and we prefer for those - * others to be preferred. And we don't want to change the - * integer value of kpse_fmt_format. So skip it when first - * enountered, then use it when we've done everything else, - * and use it as the end-guard. - */ - if (f == kpse_fmt_format) { - f = kpse_last_format; - } else if (++f == kpse_fmt_format) { - f++; - } else if (f == kpse_last_format) { - f = kpse_fmt_format; - } } - /* If there was a match, f will be one past the correct value. */ ret = f; } |