[GRASS-SVN] r74426 - grass/branches/releasebranch_7_6/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 25 12:22:01 PDT 2019


Author: mmetz
Date: 2019-04-25 12:22:01 -0700 (Thu, 25 Apr 2019)
New Revision: 74426

Modified:
   grass/branches/releasebranch_7_6/lib/gis/compress.c
Log:
libgis: make ZLIB the default compressor even if ZSTD is available, see #3815

Modified: grass/branches/releasebranch_7_6/lib/gis/compress.c
===================================================================
--- grass/branches/releasebranch_7_6/lib/gis/compress.c	2019-04-25 07:57:06 UTC (rev 74425)
+++ grass/branches/releasebranch_7_6/lib/gis/compress.c	2019-04-25 19:22:01 UTC (rev 74426)
@@ -125,10 +125,8 @@
 
 int G_default_compressor(void)
 {
-#ifdef HAVE_ZSTD_H
-    /* ZSTD */
-    return 5;
-#endif
+    /* do not use ZSTD if available */
+
     /* ZLIB */
     return 2;
 }



More information about the grass-commit mailing list