Rev 1344: Remove assumption about 4-byte pointers. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4

Jelmer Vernooij jelmer at samba.org
Tue Jun 24 15:14:05 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/0.4

------------------------------------------------------------
revno: 1344
revision-id: jelmer at samba.org-20080624141404-4483g4eov6rn2tbt
parent: jelmer at samba.org-20080624133625-t2w274ad58cgqncf
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Tue 2008-06-24 16:14:04 +0200
message:
  Remove assumption about 4-byte pointers.
modified:
  ra.c                           ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
=== modified file 'ra.c'
--- a/ra.c	2008-06-24 10:00:17 +0000
+++ b/ra.c	2008-06-24 14:14:04 +0000
@@ -1571,7 +1571,7 @@
 	ret->providers = providers;
 	Py_INCREF(providers);
 
-    c_providers = apr_array_make(ret->pool, PyList_Size(providers), 4);
+    c_providers = apr_array_make(ret->pool, PyList_Size(providers), sizeof(svn_auth_provider_object_t *));
 	if (c_providers == NULL) {
 		PyErr_NoMemory();
 		return NULL;




More information about the bazaar-commits mailing list