[Python-checkins] r79206 - in python/branches/release26-maint: Modules/main.c

victor.stinner python-checkins at python.org
Sun Mar 21 18:35:54 CET 2010


Author: victor.stinner
Date: Sun Mar 21 18:35:54 2010
New Revision: 79206

Log:
Merged revisions 74052 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74052 | alexandre.vassalotti | 2009-07-17 10:09:04 +0200 (ven., 17 juil. 2009) | 3 lines
  
  Fix GCC warning about fprintf used without a string literal and
  without format arguments.
........


Modified:
   python/branches/release26-maint/   (props changed)
   python/branches/release26-maint/Modules/main.c

Modified: python/branches/release26-maint/Modules/main.c
==============================================================================
--- python/branches/release26-maint/Modules/main.c	(original)
+++ python/branches/release26-maint/Modules/main.c	Sun Mar 21 18:35:54 2010
@@ -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