[Cake] Correct 'change' behaviour
Toke Høiland-Jørgensen
toke at toke.dk
Tue Nov 3 14:07:01 EST 2015
Toke Høiland-Jørgensen <toke at toke.dk> writes:
> as best I can follow the logic in that function, it *should* actually
> get recreated when those flags are set.
>
> So why on earth are the values wrong? Memory initialisation problem?
Well, instrumenting cake with some good old-fashioned printk debug
statements, it appears that a replace when it's already in place does in
fact only call cake_change, and not cake_destroy followed by cake_init.
Now *why* that is I'm not entirely sure...
-Toke
More information about the Cake
mailing list