[Python-checkins] r59492 - in python/trunk/Modules: _ctypes/libffi/src/x86/ffi.c bsddb.h cjkcodecs/_codecs_iso2022.c

christian.heimes python-checkins at python.org
Fri Dec 14 04:02:34 CET 2007


Author: christian.heimes
Date: Fri Dec 14 04:02:34 2007
New Revision: 59492

Modified:
   python/trunk/Modules/_ctypes/libffi/src/x86/ffi.c
   python/trunk/Modules/bsddb.h
   python/trunk/Modules/cjkcodecs/_codecs_iso2022.c
Log:
Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments.

Modified: python/trunk/Modules/_ctypes/libffi/src/x86/ffi.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/x86/ffi.c	(original)
+++ python/trunk/Modules/_ctypes/libffi/src/x86/ffi.c	Fri Dec 14 04:02:34 2007
@@ -256,7 +256,7 @@
      void **respp;
      void *args;
 {
-  // our various things...
+  /* our various things... */
   ffi_cif       *cif;
   void         **arg_area;
 

Modified: python/trunk/Modules/bsddb.h
==============================================================================
--- python/trunk/Modules/bsddb.h	(original)
+++ python/trunk/Modules/bsddb.h	Fri Dec 14 04:02:34 2007
@@ -232,7 +232,7 @@
 #define DBSequenceObject_Check(v)  ((v)->ob_type == bsddb_api->dbsequence_type)
 #endif
 
-#endif // COMPILING_BSDDB_C
+#endif /* COMPILING_BSDDB_C */
 
 
-#endif // _BSDDB_H_
+#endif /* _BSDDB_H_ */

Modified: python/trunk/Modules/cjkcodecs/_codecs_iso2022.c
==============================================================================
--- python/trunk/Modules/cjkcodecs/_codecs_iso2022.c	(original)
+++ python/trunk/Modules/cjkcodecs/_codecs_iso2022.c	Fri Dec 14 04:02:34 2007
@@ -203,7 +203,7 @@
 				} else
 					encoded = dsg->encoder(&c, &length);
 #else
-				encoded = dsg->encoder(*inbuf, &length);
+				encoded = dsg->encoder(&c, &length);
 #endif
 				if (encoded != MAP_UNMAPPABLE) {
 					insize = length;


More information about the Python-checkins mailing list