typo in Acquisition.h

Bug #623665 reported by Lianto Ruyang on 2010-08-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released

Bug Description

The definition of aq_get in Acquisition.h has a typo.

It's written AcquistionCAPI instead of AcquisitionCAPI.

I believe it will make aq_get unusable.

Hanno Schlichting (hannosch) wrote :

The definition with the misspelled name is only used if _IN_ACQUISITION_C is not defined. The Acquisition.c file first defines this and then included Acquisition.h, so the aq_get function works.

It would only be a problem for someone including Acquisition.h in their own C code and then relying on the aq_get function. I'm not aware of anyone doing that, which is probably why this has gone unnoticed for the past decade.

Changed in zope2:
importance: Undecided → Medium
milestone: none → 2.12.11
status: New → Confirmed
status: Confirmed → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers