Ticket #147 (closed patch: fixed)
Remove unused (and broken?) real_self code
Reported by: | donaldh | Owned by: | whiteknight |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: | all |
Description
This patch removes real_self and all remaining references.
The real_self pointer in struct PMC appears to no longer be used for anything. There is redundant code in dod.c for marking the pointed to PMC but no code to set it to anything other than self.
The pointer gets clobbered during ops like clone() where the PMC header gets copied using memcpy.
See IRC discussion for history.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.