Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > c224cf32e8b3eec0df16e3a4665e9e78 > files > 5

fvwm2-2.5.26-2mdv2010.0.src.rpm

--- fvwm/builtins.c.str	2009-04-04 07:01:32.000000000 +0200
+++ fvwm/builtins.c	2009-04-04 07:01:43.000000000 +0200
@@ -2663,7 +2663,7 @@
 			action[len-1]='\0';
 		}
 	}
-	fvwm_msg(ECHO,"Echo",action);
+	fvwm_msg(ECHO,"Echo","%s",action);
 
 	return;
 }
--- fvwm/move_resize.c.str	2009-04-04 07:00:54.000000000 +0200
+++ fvwm/move_resize.c	2009-04-04 07:01:21.000000000 +0200
@@ -2964,7 +2964,7 @@
 		OLD, "CMD_SnapAttraction",
 		"The command SnapAttraction is obsolete. Please use the"
 		" following command instead:");
-	fvwm_msg(OLD, "", cmd);
+	fvwm_msg(OLD, "", "%s", cmd);
 	execute_function(
 		cond_rc, exc, cmd,
 		FUNC_DONT_REPEAT | FUNC_DONT_EXPAND_COMMAND);
@@ -2986,7 +2986,7 @@
 		OLD, "CMD_SnapGrid",
 		"The command SnapGrid is obsolete. Please use the following"
 		" command instead:");
-	fvwm_msg(OLD, "", cmd);
+	fvwm_msg(OLD, "", "%s", cmd);
 	execute_function(
 		cond_rc, exc, cmd,
 		FUNC_DONT_REPEAT | FUNC_DONT_EXPAND_COMMAND);
--- fvwm/virtual.c.str	2009-04-04 07:02:03.000000000 +0200
+++ fvwm/virtual.c	2009-04-04 07:02:24.000000000 +0200
@@ -2023,9 +2023,9 @@
 			"The command EdgeResistance with three arguments is"
 			" obsolete. Please use the following commands"
 			" instead:");
-		fvwm_msg(OLD, "", cmd);
-		fvwm_msg(OLD, "", stylecmd);
-		fvwm_msg(OLD, "", stylecmd2);
+		fvwm_msg(OLD, "", "%s", cmd);
+		fvwm_msg(OLD, "", "%s", stylecmd);
+		fvwm_msg(OLD, "", "%s", stylecmd2);
 		execute_function(
 			cond_rc, exc, cmd,
 			FUNC_DONT_REPEAT | FUNC_DONT_EXPAND_COMMAND);
--- libs/FRenderInit.c.str	2009-04-04 07:00:10.000000000 +0200
+++ libs/FRenderInit.c	2009-04-04 07:00:26.000000000 +0200
@@ -129,7 +129,7 @@
 		    code <= FRenderErrorBase +
 		    (sizeof(error_names) / sizeof(char *)) -1)
 		{
-			sprintf(msg, error_names[code - FRenderErrorBase]);
+			sprintf(msg, "%s", error_names[code - FRenderErrorBase]);
 			return 1;
 		}
 	}
--- modules/FvwmIconMan/functions.c.str	2009-04-04 07:04:01.000000000 +0200
+++ modules/FvwmIconMan/functions.c	2009-04-04 07:04:12.000000000 +0200
@@ -535,7 +535,7 @@
 	else
 	{
 		sprintf(buf, "%s\n", s);
-		ConsoleMessage(buf);
+		ConsoleMessage("%s", buf);
 	}
 
 	return 0;