typo in Acquisition.h

Bug #623665 reported by Lianto Ruyang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Medium
Unassigned

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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.