diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-07-18 03:02:46 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-07-18 03:02:46 +0000 |
commit | 1039639b6e79f17f14c04253b0f29ef6a4c1e2fe (patch) | |
tree | 4af6cd2d92a00a1cfd4615cf3a0d031af4cdd822 /Build/source/texk/dvipdfm-x/dvipdfmx.c | |
parent | 28e39c306555c3712bccbf8032c7ff0813de6c6a (diff) |
Fix a bug that error cleanup routine can be called recursively (S. Hirata).
git-svn-id: svn://tug.org/texlive/trunk@55865 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvipdfmx.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvipdfmx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c index 21b0e92725d..f67c7deb7dd 100644 --- a/Build/source/texk/dvipdfm-x/dvipdfmx.c +++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c @@ -870,7 +870,11 @@ system_default (void) void error_cleanup (void) { - pdf_close_images(); /* delete temporary files */ + /* Fixed a stupid bug... + * Please don't put an ordinay function which may call ERROR() inside it. + * It may result in error cleanup routine being called recursively. + */ + pdf_error_cleanup_cache(); /* delete temporary files */ pdf_error_cleanup(); if (pdf_filename) { if (pdf_get_output_file()) { |