[dev-lang/python-tk] revision bump all the slots (add 3.3)

This commit is contained in:
Fabio Erculiani
2013-03-25 11:38:22 +00:00
parent 8d632e64f7
commit 1270d329f5
5 changed files with 668 additions and 4 deletions
@@ -0,0 +1,20 @@
http://bugs.python.org/issue15000
x32 has 64bit values for the first two args
--- a/Modules/_posixsubprocess.c
+++ b/Modules/_posixsubprocess.c
@@ -175,8 +175,13 @@
* chooses to break compatibility with all existing binaries. Highly Unlikely.
*/
struct linux_dirent {
+#if defined(__x86_64__) && defined(__ILP32__)
+ unsigned long long d_ino;
+ unsigned long long d_off;
+#else
unsigned long d_ino; /* Inode number */
unsigned long d_off; /* Offset to next linux_dirent */
+#endif
unsigned short d_reclen; /* Length of this linux_dirent */
char d_name[256]; /* Filename (null-terminated) */
};