texlive[57451] Build/source/texk/dvipdfm-x/pdfximage.c: Add a few
commits+kakuto at tug.org
commits+kakuto at tug.org
Sun Jan 17 03:36:38 CET 2021
Revision: 57451
http://tug.org/svn/texlive?view=revision&revision=57451
Author: kakuto
Date: 2021-01-17 03:36:38 +0100 (Sun, 17 Jan 2021)
Log Message:
-----------
Add a few lines for missing image file
Modified Paths:
--------------
trunk/Build/source/texk/dvipdfm-x/pdfximage.c
Modified: trunk/Build/source/texk/dvipdfm-x/pdfximage.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/pdfximage.c 2021-01-17 00:54:19 UTC (rev 57450)
+++ trunk/Build/source/texk/dvipdfm-x/pdfximage.c 2021-01-17 02:36:38 UTC (rev 57451)
@@ -440,6 +440,11 @@
#if defined(WIN32)
utf8name_failed = 0;
#endif /* WIN32 */
+ if (dpx_conf.compat_mode == dpx_mode_compat_mode) {
+ WARN("Image inclusion failed for \"%s\".", filename);
+ } else {
+ ERROR("Image inclusion failed for \"%s\".", filename);
+ }
return -1;
}
}
@@ -446,8 +451,13 @@
fp = dpx_fopen(fullname, FOPEN_RBIN_MODE);
if (!fp) {
- WARN("Error opening image file \"%s\"", fullname);
- RELEASE(fullname);
+ if (dpx_conf.compat_mode == dpx_mode_compat_mode) {
+ WARN("Error opening image file \"%s\"", fullname);
+ RELEASE(fullname);
+ } else {
+ RELEASE(fullname);
+ ERROR("Image inclusion failed for \"%s\".", filename);
+ }
return -1;
}
if (dpx_conf.verbose_level > 0) {
More information about the tex-live-commits
mailing list.