[Goodies-commits] r2029 - xfce4-genmon-plugin/trunk/panel-plugin
Julien Devemy
jujucece at xfce.org
Wed Sep 13 08:22:25 CEST 2006
Author: jujucece
Date: 2006-09-13 06:22:24 +0000 (Wed, 13 Sep 2006)
New Revision: 2029
Modified:
xfce4-genmon-plugin/trunk/panel-plugin/cmdspawn.c
Log:
Add test for bug in openBSD
Modified: xfce4-genmon-plugin/trunk/panel-plugin/cmdspawn.c
===================================================================
--- xfce4-genmon-plugin/trunk/panel-plugin/cmdspawn.c 2006-09-12 22:44:59 UTC (rev 2028)
+++ xfce4-genmon-plugin/trunk/panel-plugin/cmdspawn.c 2006-09-13 06:22:24 UTC (rev 2029)
@@ -252,7 +252,9 @@
int argc;
int status;
-
+ if (strlen(p_pcCmdLine) == 0)
+ return (-1);
+
/* Split the commandline into an argv array */
status = ParseCmdline (p_pcCmdLine, &argv, &argc,
p_pcOutput, p_BufferSize);
More information about the Goodies-commits
mailing list