Issue 14801: ssize_t where size_t expected (original) (raw)

Issue14801

Created on 2012-05-14 00:13 by tari, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg160585 - (view) Author: Peter Marheine (tari) Date: 2012-05-14 00:13
Cross-compiling the interpreter for a system without a definition for ssize_t fails in PyType_FromSpec (Object/typeobject.c:2380 in the 3.2.3 release, line 2409 in hg 6b8f34a1cb22). It appears the type of len should be corrected to size_t to match the signatures of strlen and memcpy. This fixes the compilation error.
msg160616 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-05-14 12:51
New changeset 2bbf3ba30435 by Antoine Pitrou in branch '3.2': Use size_t, not ssize_t (issue #14801). http://hg.python.org/cpython/rev/2bbf3ba30435 New changeset 64b695a6cc3d by Antoine Pitrou in branch 'default': Use size_t, not ssize_t (issue #14801). http://hg.python.org/cpython/rev/64b695a6cc3d
msg160618 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-05-14 12:52
Should be ok now, thank you.
History
Date User Action Args
2022-04-11 14:57:30 admin set github: 59006
2012-05-14 12:52:52 pitrou set status: open -> closedversions: + Python 3.3nosy: + pitroumessages: + resolution: fixedstage: resolved
2012-05-14 12:51:35 python-dev set nosy: + python-devmessages: +
2012-05-14 00:13:33 tari create