[GRASS-SVN] r58966 - grass/trunk/raster/r.li/r.li.daemon
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 8 22:21:58 PST 2014
Author: hamish
Date: 2014-02-08 22:21:58 -0800 (Sat, 08 Feb 2014)
New Revision: 58966
Modified:
grass/trunk/raster/r.li/r.li.daemon/daemon.c
grass/trunk/raster/r.li/r.li.daemon/worker.c
Log:
minor whitespace (merge from devbr6 up to r58956)
Modified: grass/trunk/raster/r.li/r.li.daemon/daemon.c
===================================================================
--- grass/trunk/raster/r.li/r.li.daemon/daemon.c 2014-02-09 06:16:50 UTC (rev 58965)
+++ grass/trunk/raster/r.li/r.li.daemon/daemon.c 2014-02-09 06:21:58 UTC (rev 58966)
@@ -137,7 +137,7 @@
double result;
result = doneJob.f.f_d.res;
- /*output */
+ /* output */
if (parsed != MVWIN) {
print_Output(res, doneJob);
}
Modified: grass/trunk/raster/r.li/r.li.daemon/worker.c
===================================================================
--- grass/trunk/raster/r.li/r.li.daemon/worker.c 2014-02-09 06:16:50 UTC (rev 58965)
+++ grass/trunk/raster/r.li/r.li.daemon/worker.c 2014-02-09 06:21:58 UTC (rev 58966)
@@ -68,6 +68,7 @@
/* read data type to allocate cache */
data_type = Rast_map_type(raster, "");
+
/* calculate rows in cache */
switch (data_type) {
case CELL_TYPE:{
@@ -242,6 +243,7 @@
if (write(mask_fd, buf, cl * sizeof(int)) < 0)
return NULL;
}
+
close(mask_fd);
return G_store(tmp_file);
}
More information about the grass-commit
mailing list