[Python-checkins] r68024 - sandbox/trunk/io-c/_textio.c

amaury.forgeotdarc python-checkins at python.org
Mon Dec 29 20:20:17 CET 2008


Author: amaury.forgeotdarc
Date: Mon Dec 29 20:20:17 2008
New Revision: 68024

Log:
Microsoft compilers need C89.


Modified:
   sandbox/trunk/io-c/_textio.c

Modified: sandbox/trunk/io-c/_textio.c
==============================================================================
--- sandbox/trunk/io-c/_textio.c	(original)
+++ sandbox/trunk/io-c/_textio.c	Mon Dec 29 20:20:17 2008
@@ -802,8 +802,8 @@
         return result;
     }
     else {
-        result = TextIOWrapper_get_decoded_chars(self, n);
         int res = 1;
+        result = TextIOWrapper_get_decoded_chars(self, n);
 
         /* Keep reading chunks until we have n characters to return */
         while (res == 1) {


More information about the Python-checkins mailing list