View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003942 | unreal | ircd | public | 2010-08-05 22:05 | 2015-08-08 16:39 |
| Reporter | ohnobinki | Assigned To | syzop | ||
| Priority | low | Severity | feature | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | ||
| Product Version | 3.2.9-RC1 | ||||
| Summary | 0003942: typechecking for module hooks | ||||
| Description | It would be nice to make it harder to mismatch hooks. For example, the compiler could detect that hooks are being mismatched if each hook is given a function prototype typedef or something. Or, maybe this could be as simple as a function like: HookAddExArg(Module*, int hooktype, int (*intfunc)(), int num_args); Assumably, if a hook changed its interface, the number of arguments passed to the hook would also change. Maybe this idea is completely pointless. Unrealircd could just choose to never change the signatures of hook functions. If a hook needed to be changed, it could be renamed to HOOKTYPE_BLAH_V2 or something. | ||||
| 3rd party modules | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-08-05 22:05 | ohnobinki | New Issue | |
| 2010-08-05 22:05 | ohnobinki | QA | => Not touched yet by developer |
| 2010-08-05 22:05 | ohnobinki | U4: Need for upstream patch | => No need for upstream InspIRCd patch |
| 2010-08-05 22:05 | ohnobinki | U4: Upstream notification of bug | => Not decided |
| 2010-08-05 22:05 | ohnobinki | U4: Contributor working on this | => None |
| 2015-08-08 16:39 | syzop | Note Added: 0018615 | |
| 2015-08-08 16:39 | syzop | Status | new => closed |
| 2015-08-08 16:39 | syzop | Assigned To | => syzop |
| 2015-08-08 16:39 | syzop | Resolution | open => no change required |