ソースを参照

d.mon: kill not available on windows - todo

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47144 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年 前
コミット
6f1a554980
1 ファイル変更4 行追加0 行削除
  1. 4 0
      display/d.mon/stop.c

+ 4 - 0
display/d.mon/stop.c

@@ -55,9 +55,13 @@ int stop_wx(const char *name)
 	G_fatal_error(_("PID file not found"));
 	G_fatal_error(_("PID file not found"));
     }
     }
     
     
+#ifdef __MINGW32__
+    /* TODO */
+#else
     if (kill((pid_t) atoi(pid), SIGTERM) != 0) {
     if (kill((pid_t) atoi(pid), SIGTERM) != 0) {
 	/* G_fatal_error(_("Unable to stop monitor <%s>"), name); */
 	/* G_fatal_error(_("Unable to stop monitor <%s>"), name); */
     }
     }
+#endif
     
     
     clean_env(name);
     clean_env(name);