[GRASS-SVN] r58955 - grass/branches/develbranch_6/raster/r.li/r.li.daemon

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 8 16:55:09 PST 2014


Author: hamish
Date: 2014-02-08 16:55:09 -0800 (Sat, 08 Feb 2014)
New Revision: 58955

Modified:
   grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c
   grass/branches/develbranch_6/raster/r.li/r.li.daemon/ipc.c
   grass/branches/develbranch_6/raster/r.li/r.li.daemon/worker.c
Log:
trivial whitespace

Modified: grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c	2014-02-08 10:54:38 UTC (rev 58954)
+++ grass/branches/develbranch_6/raster/r.li/r.li.daemon/daemon.c	2014-02-09 00:55:09 UTC (rev 58955)
@@ -205,6 +205,7 @@
 
 	while (j < num_workers && donePid != child[j].pid)
 	    j++;
+
 	send(child[j].channel, &m);
 
     }

Modified: grass/branches/develbranch_6/raster/r.li/r.li.daemon/ipc.c
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.daemon/ipc.c	2014-02-08 10:54:38 UTC (rev 58954)
+++ grass/branches/develbranch_6/raster/r.li/r.li.daemon/ipc.c	2014-02-09 00:55:09 UTC (rev 58955)
@@ -23,19 +23,20 @@
 #include "ipc.h"
 
 
-int send(int pipe, msg * m)
+int send(int pipe, msg *m)
 {
     int check;
 
     /* write on pipe */
     check = write(pipe, m, sizeof(msg));
+
     if (check > 0)
 	return 1;
     else
 	return 0;
 }
 
-int receive(int pipe, msg * m)
+int receive(int pipe, msg *m)
 {
     return read(pipe, m, sizeof(msg));
 }

Modified: grass/branches/develbranch_6/raster/r.li/r.li.daemon/worker.c
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.daemon/worker.c	2014-02-08 10:54:38 UTC (rev 58954)
+++ grass/branches/develbranch_6/raster/r.li/r.li.daemon/worker.c	2014-02-09 00:55:09 UTC (rev 58955)
@@ -69,6 +69,7 @@
 
     /* read data type to allocate cache */
     data_type = G_raster_map_type(raster, mapset);
+
     /* calculate rows in cache */
     switch (data_type) {
     case CELL_TYPE:{



More information about the grass-commit mailing list