[Python-checkins] r74052 - python/trunk/Modules/main.c
alexandre.vassalotti
python-checkins at python.org
Fri Jul 17 10:09:04 CEST 2009
Author: alexandre.vassalotti
Date: Fri Jul 17 10:09:04 2009
New Revision: 74052
Log:
Fix GCC warning about fprintf used without a string literal and
without format arguments.
Modified:
python/trunk/Modules/main.c
Modified: python/trunk/Modules/main.c
==============================================================================
--- python/trunk/Modules/main.c (original)
+++ python/trunk/Modules/main.c Fri Jul 17 10:09:04 2009
@@ -112,9 +112,9 @@
if (exitcode)
fprintf(f, "Try `python -h' for more information.\n");
else {
- fprintf(f, usage_1);
- fprintf(f, usage_2);
- fprintf(f, usage_3);
+ fputs(usage_1, f);
+ fputs(usage_2, f);
+ fputs(usage_3, f);
fprintf(f, usage_4, DELIM);
fprintf(f, usage_5, DELIM, PYTHONHOMEHELP);
}
More information about the Python-checkins
mailing list