32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
diff -up modules-3.2.10/ModuleCmd_Avail.c.format modules-3.2.10/ModuleCmd_Avail.c
|
|
--- modules-3.2.10/ModuleCmd_Avail.c.format 2012-12-13 15:17:27.000000000 -0700
|
|
+++ modules-3.2.10/ModuleCmd_Avail.c 2013-12-23 10:02:16.676973523 -0700
|
|
@@ -257,7 +257,7 @@ int ModuleCmd_Avail( Tcl_Interp *interp,
|
|
**/
|
|
|
|
if( sw_format & SW_LONG)
|
|
- fprintf( stderr, long_header);
|
|
+ fprintf( stderr, "%s", long_header);
|
|
|
|
/**
|
|
** If a module category is specified check whether it is part
|
|
diff -up modules-3.2.10/ModuleCmd_Display.c.format modules-3.2.10/ModuleCmd_Display.c
|
|
--- modules-3.2.10/ModuleCmd_Display.c.format 2012-11-01 16:02:19.000000000 -0600
|
|
+++ modules-3.2.10/ModuleCmd_Display.c 2013-12-23 10:03:32.677504785 -0700
|
|
@@ -161,13 +161,13 @@ int ModuleCmd_Display( Tcl_Interp *inter
|
|
|
|
g_current_module = modulename;
|
|
|
|
- fprintf( stderr, local_line);
|
|
+ fprintf( stderr, "%s", local_line);
|
|
fprintf( stderr, "%s:\n\n", modulefile);
|
|
|
|
result = CallModuleProcedure( disp_interp, &cmdbuf, modulefile,
|
|
"ModulesDisplay", 0);
|
|
|
|
- fprintf( stderr, local_line);
|
|
+ fprintf( stderr, "%s", local_line);
|
|
|
|
/**
|
|
** Remove the Tcl interpreter that has been used for printing ...
|