Rev 4369: (Jelmer) Include stdlib.h for malloc/realloc/free in Pyrex RIO in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Fri May 15 12:29:45 BST 2009
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 4369
revision-id: pqm at pqm.ubuntu.com-20090515112941-ajpr1cci95j47aje
parent: pqm at pqm.ubuntu.com-20090515012140-stwx16f974x0zogp
parent: jelmer at samba.org-20090515023603-x7jsmtb5h66y7efp
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2009-05-15 12:29:41 +0100
message:
(Jelmer) Include stdlib.h for malloc/realloc/free in Pyrex RIO
implementation.
modified:
bzrlib/_rio_pyx.pyx _rio_pyx.pyx-20090514104636-8203jcqvfny56yrd-1
------------------------------------------------------------
revno: 4368.1.1
revision-id: jelmer at samba.org-20090515023603-x7jsmtb5h66y7efp
parent: pqm at pqm.ubuntu.com-20090515012140-stwx16f974x0zogp
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: rio-stdlib
timestamp: Fri 2009-05-15 04:36:03 +0200
message:
Import malloc and friends from stdlib.h rather than from (deprecated) malloc.h.
modified:
bzrlib/_rio_pyx.pyx _rio_pyx.pyx-20090514104636-8203jcqvfny56yrd-1
=== modified file 'bzrlib/_rio_pyx.pyx'
--- a/bzrlib/_rio_pyx.pyx 2009-05-14 21:21:20 +0000
+++ b/bzrlib/_rio_pyx.pyx 2009-05-15 02:36:03 +0000
@@ -20,7 +20,7 @@
cdef extern from "python-compat.h":
pass
-cdef extern from "malloc.h":
+cdef extern from "stdlib.h":
void *malloc(int)
void *realloc(void *, int)
void free(void *)
More information about the bazaar-commits
mailing list