[GRASS-SVN] r47144 - grass/trunk/display/d.mon

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 17 16:01:09 EDT 2011


Author: martinl
Date: 2011-07-17 13:01:09 -0700 (Sun, 17 Jul 2011)
New Revision: 47144

Modified:
   grass/trunk/display/d.mon/stop.c
Log:
d.mon: kill not available on windows - todo

Modified: grass/trunk/display/d.mon/stop.c
===================================================================
--- grass/trunk/display/d.mon/stop.c	2011-07-17 19:16:57 UTC (rev 47143)
+++ grass/trunk/display/d.mon/stop.c	2011-07-17 20:01:09 UTC (rev 47144)
@@ -55,9 +55,13 @@
 	G_fatal_error(_("PID file not found"));
     }
     
+#ifdef __MINGW32__
+    /* TODO */
+#else
     if (kill((pid_t) atoi(pid), SIGTERM) != 0) {
 	/* G_fatal_error(_("Unable to stop monitor <%s>"), name); */
     }
+#endif
     
     clean_env(name);
 



More information about the grass-commit mailing list