Christian Heimes added the comment:
Backported to 2.5 in r59552
--
status: pending - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1638
__
___
Python-bugs-list
New submission from Hrvoje Nikšić:
The printf(%zd, ...) configure test fails on Linux, although it
supports the %zd format. config.log reveals that the test tests for %zd
with Py_ssize_t, which is (within the test) typedeffed to ssize_t. But
the appropriate system header is not included by the
Christian Heimes added the comment:
I fixed the bug in r59533 trunk with a modified patch:
#ifdef HAVE_SYS_TYPES_H
#include sys/types.h
#endif
Should it be backported to 2.5? It will be merged into 3.0 automatically.
--
nosy: +tiran
priority: - normal
resolution: - fixed
status:
Martin v. Löwis added the comment:
I think it should be backported.
--
nosy: +loewis
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1638
__
___
Python-bugs-list mailing
Hrvoje Nikšić added the comment:
Thanks for the quick review. I considered guarding the include with
#ifdef as well, but I concluded it's not necessary for the following
reasons:
1. a large number of existing tests already simply include sys/types.h
(the makedev test, sizeof(off_t) test,