libgeotiff 1.4.3 RC2 released

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

libgeotiff 1.4.3 RC2 released

Even Rouault-2
Hi,

I've prepared a RC2 to fix a non-critical but still a bit annying regression
that has been introduced in 2014 and caused a warning to be emitted when using
geotifcp

Updated links:

https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.3RC2.tar.gz
https://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.3RC2.zip

The change is trivial:

$ diff -Nur libgeotiff-1.4.3RC1 libgeotiff-1.4.3RC2
diff -Nur libgeotiff-1.4.3RC1/ChangeLog libgeotiff-1.4.3RC2/ChangeLog
--- libgeotiff-1.4.3RC1/ChangeLog 2018-12-07 19:38:00.000000000 +0100
+++ libgeotiff-1.4.3RC2/ChangeLog 2018-12-11 21:45:57.000000000 +0100
@@ -1,6 +1,12 @@
+2018-12-11 Even Rouault <even dot rouault at spatialys dot com>
+
+ * geo_print.c: fix wrong test in DefaultRead() that caused erroenous
+ error message to be emitted.
+ * Prepare for 1.4.3RC2
+
 2018-12-07 Even Rouault <even dot rouault at spatialys dot com>
 
- * Prepare for 1.4.3RC1
+ * Prepare for 1.4.3
 
 2018-05-23 Even Rouault <even dot rouault at spatialys dot com>
 
diff -Nur libgeotiff-1.4.3RC1/geo_print.c libgeotiff-1.4.3RC2/geo_print.c
--- libgeotiff-1.4.3RC1/geo_print.c 2018-03-03 22:59:19.000000000 +0100
+++ libgeotiff-1.4.3RC2/geo_print.c 2018-12-11 21:44:35.000000000 +0100
@@ -510,7 +510,7 @@
     int num_read;
     /* 1023 comes from char message[1024]; in GTIFFImport */
     num_read = fscanf((FILE *)aux, "%1023[^\n]\n", string);
-    if (num_read != 0) {
+    if (num_read == 0) {
       fprintf(stderr, "geo_print.c DefaultRead failed to read anything.\n");
     }
     return 1;


Even

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
Geotiff mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geotiff