diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-05-07 23:29:24 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-05-07 23:29:24 +0000 |
commit | 9a3eca42663c7cb45bb499692d1aed1c90a02dee (patch) | |
tree | 1083fab3de34faca8f89d0390d6011e9321b22a5 /Build/source/texk/web2c/pdftexdir/writeimg.c | |
parent | 5339b999a18c1ceb3a98c6cc3b2cee75109edfc5 (diff) |
Apply a patch in https://tug.org/pipermail/tex-k/2019-May/003014.html
git-svn-id: svn://tug.org/texlive/trunk@51041 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writeimg.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writeimg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writeimg.c b/Build/source/texk/web2c/pdftexdir/writeimg.c index 1ef3327599f..8455b03a5c7 100644 --- a/Build/source/texk/web2c/pdftexdir/writeimg.c +++ b/Build/source/texk/web2c/pdftexdir/writeimg.c @@ -302,12 +302,10 @@ integer readimage(strnumber s, integer page_num, strnumber page_name, already used by cur_file_name */ if (page_name != 0) dest = xstrdup(makecstring(page_name)); - cur_file_name = makecfilename(s); - img_name(img) = kpse_find_file(cur_file_name, kpse_tex_format, true); + cur_file_name = find_input_file(s); + img_name(img) = cur_file_name; if (img_name(img) == NULL) pdftex_fail("cannot find image file"); - /* kpse_find_file perhaps changed the file name */ - cur_file_name = img_name(img); recorder_record_input(cur_file_name); /* type checks */ checktypebyheader(img); |