[gimp/gimp-2-10] 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/gimp-2-10] plug-ins: fix TIFF warnings about unknown tags not filtered out anymore
- Date: Tue, 23 Aug 2022 22:01:59 +0000 (UTC)
commit a8e8be02496d84ac8efbe962c6d6ac0893f8f63c
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.
(cherry picked from commit ac5a6e56b76b46a4001f25894806576b48630987)
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 4f58990107..0f5056f7d1 100644
--- a/plug-ins/file-tiff/file-tiff-io.c
+++ b/plug-ins/file-tiff/file-tiff-io.c
@@ -192,7 +192,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]