[Checkins] SVN: Acquisition/trunk/ Fixed a segfault on 64bit platforms when providing the `explicit` argument to the aq_acquire method of an Acquisition wrapper. Thx to LP #675064 for the hint to the solution. The code passed an int instead of a pointer into a function.

Hanno Schlichting hannosch at hannosch.eu
Sat Jun 11 11:19:14 EDT 2011


Log message for revision 121913:
  Fixed a segfault on 64bit platforms when providing the `explicit` argument to the aq_acquire method of an Acquisition wrapper. Thx to LP #675064 for the hint to the solution. The code passed an int instead of a pointer into a function.
  

Changed:
  U   Acquisition/trunk/CHANGES.txt
  U   Acquisition/trunk/src/Acquisition/_Acquisition.c

-=-
Modified: Acquisition/trunk/CHANGES.txt
===================================================================
--- Acquisition/trunk/CHANGES.txt	2011-06-11 15:09:38 UTC (rev 121912)
+++ Acquisition/trunk/CHANGES.txt	2011-06-11 15:19:14 UTC (rev 121913)
@@ -4,6 +4,10 @@
 2.13.8 (unreleased)
 -------------------
 
+- Fixed a segfault on 64bit platforms when providing the `explicit` argument to
+  the aq_acquire method of an Acquisition wrapper. Thx to LP #675064 for the
+  hint to the solution. The code passed an int instead of a pointer into a
+  function.
 
 2.13.7 (2011-03-02)
 -------------------

Modified: Acquisition/trunk/src/Acquisition/_Acquisition.c
===================================================================
--- Acquisition/trunk/src/Acquisition/_Acquisition.c	2011-06-11 15:09:38 UTC (rev 121912)
+++ Acquisition/trunk/src/Acquisition/_Acquisition.c	2011-06-11 15:19:14 UTC (rev 121913)
@@ -1251,7 +1251,7 @@
 
   UNLESS (PyArg_ParseTupleAndKeywords(
 	     args, kw, "O|OOOOi", acquire_args+1,
-	     &name, &filter, &extra, &explicit, &defalt, &containment
+	     &name, &filter, &extra, &expl, &defalt, &containment
 	     ))
     return NULL;
 



More information about the checkins mailing list