[issue17782] Fix test_signal failure on x32

2013-04-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17782] Fix test_signal failure on x32

2013-04-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a0fb0f59cf6 by Antoine Pitrou in branch '3.3': - Issue #17782: Fix undefined behaviour on platforms where ``struct timespec``'s "tv_nsec" member is not a C long. http://hg.python.org/cpython/rev/7a0fb0f59cf6 New changeset f9e0eacb6b13 by Antoine P

[issue17782] Fix test_signal failure on x32

2013-04-17 Thread STINNER Victor
STINNER Victor added the comment: The patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17782] Fix test_signal failure on x32

2013-04-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue17782] Fix test_signal failure on x32

2013-04-17 Thread Antoine Pitrou
New submission from Antoine Pitrou: x32 is a special Linux ABI on x86-64 CPUs. When compiling for x32, there's a failure in test_sigtimedwait. The failure is due to the fact that on x32, "long" is 32 bits but "timespec.tv_nsec" is 64 bits. Therefore we can't pass the pointer to tv_nsec directl