diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2019-09-26 10:47:01 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2019-09-26 10:47:01 +0100 |
commit | 7db398d549a03ff5d37ec991eb60f01378eac88d (patch) | |
tree | 87c74bb7195c6fe12dee2c54f7ee4283d58c9939 /base/gstiffio.c | |
parent | 8992f00edfd1c39154c013489de2a01d2e9a92ee (diff) | |
download | ghostpdl-7db398d549a03ff5d37ec991eb60f01378eac88d.tar.gz |
Revised comment for 8992f00edfd1c39154c013489de2a01d2e9a92ee
Make it clearer why the revised behaviour is required.
Diffstat (limited to 'base/gstiffio.c')
-rw-r--r-- | base/gstiffio.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/base/gstiffio.c b/base/gstiffio.c index a99e5e7de..6828a6155 100644 --- a/base/gstiffio.c +++ b/base/gstiffio.c @@ -212,9 +212,11 @@ gs_tifsErrorHandlerEx(thandle_t client_data, const char* module, const char* fmt void tiff_set_handlers (void) { - /* Bad things happen if multiple callers are using libtiff - * with custom error/warning callbacks, so set them to NULL - * if we're using a libtiff shared lib + /* Bad things happen if we set custom error/warning + * handlers, and multiple callers are using the shared + * libtiff - our handlers may be triggered in the + * context of the other caller(s) meaning it's not + * our client_data being passed in. */ (void)TIFFSetErrorHandler(NULL); (void)TIFFSetWarningHandler(NULL); |