[gimp] plug-ins: fix TIFF warnings about unknown tags not filtered out anymore
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix TIFF warnings about unknown tags not filtered out anymore
- Date: Tue, 23 Aug 2022 21:27:50 +0000 (UTC)
commit ac5a6e56b76b46a4001f25894806576b48630987
Author: Jacob Boerema <jgboerema gmail com>
Date: Mon Aug 22 12:36:34 2022 -0400
plug-ins: fix TIFF warnings about unknown tags not filtered out anymore
Due to a change in the format string in libtiff, warnings about unknown
fields were not filtered out anymore.
Adjust our filtering of warning messages so we catch this again since
end-users don't need to worry about this and we don't need the
possible extra issues.
plug-ins/file-tiff/file-tiff-io.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/plug-ins/file-tiff/file-tiff-io.c b/plug-ins/file-tiff/file-tiff-io.c
index b97cc49959..190e75b1e5 100644
--- a/plug-ins/file-tiff/file-tiff-io.c
+++ b/plug-ins/file-tiff/file-tiff-io.c
@@ -188,7 +188,9 @@ tiff_io_warning (const gchar *module,
/* for older versions of libtiff? */
else if (! strcmp (fmt, "unknown field with tag %d (0x%x) ignored") ||
/* Since libtiff 4.0.0alpha. */
- ! strcmp (fmt, "Unknown field with tag %d (0x%x) encountered"))
+ ! strcmp (fmt, "Unknown field with tag %d (0x%x) encountered") ||
+ /* Since libtiff 4.3.0rc1. */
+ ! strcmp (fmt, "Unknown field with tag %u (0x%x) encountered"))
{
va_list ap_test;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]