typo in Acquisition.h
Bug #623665 reported by
Lianto Ruyang
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.
Changed in zope2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.