SOURCES (AC-branch): python-Py_ssize_t.patch - correct arekm: Py...
glen
glen at pld-linux.org
Fri Jan 19 17:19:51 CET 2007
Author: glen Date: Fri Jan 19 16:19:51 2007 GMT
Module: SOURCES Tag: AC-branch
---- Log message:
- correct
arekm: Py_ssize_t needs to be typedef int
arekm: on 2.4
---- Files affected:
SOURCES:
python-Py_ssize_t.patch (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: SOURCES/python-Py_ssize_t.patch
diff -u SOURCES/python-Py_ssize_t.patch:1.1.2.1 SOURCES/python-Py_ssize_t.patch:1.1.2.2
--- SOURCES/python-Py_ssize_t.patch:1.1.2.1 Fri Jan 19 17:13:57 2007
+++ SOURCES/python-Py_ssize_t.patch Fri Jan 19 17:19:46 2007
@@ -9,7 +9,7 @@
+ * unsigned integral type). See PEP 353 for details.
+ */
+#ifdef HAVE_SSIZE_T
-+typedef ssize_t Py_ssize_t;
++typedef int Py_ssize_t;
+#elif SIZEOF_VOID_P == SIZEOF_SIZE_T
+typedef Py_intptr_t Py_ssize_t;
+#else
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/python-Py_ssize_t.patch?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list