[GRASS-SVN] r71674 - grass/trunk/lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Nov 11 07:43:54 PST 2017


Author: mmetz
Date: 2017-11-11 07:43:54 -0800 (Sat, 11 Nov 2017)
New Revision: 71674

Modified:
   grass/trunk/lib/raster/init.c
Log:
rasterlib: compress NULL file by default

Modified: grass/trunk/lib/raster/init.c
===================================================================
--- grass/trunk/lib/raster/init.c	2017-11-11 15:34:47 UTC (rev 71673)
+++ grass/trunk/lib/raster/init.c	2017-11-11 15:43:54 UTC (rev 71674)
@@ -122,7 +122,7 @@
     }
 
     nulls = getenv("GRASS_COMPRESS_NULLS");
-    R__.compress_nulls = (nulls && atoi(nulls)) ? 1 : 0;
+    R__.compress_nulls = (nulls && atoi(nulls) == 0) ? 0 : 1;
 
     G_add_error_handler(Rast__error_handler, NULL);
 



More information about the grass-commit mailing list