[Serdev] core dump with lcr module

Maxim Sobolev sobomax at portaone.com
Tue Mar 15 10:47:48 UTC 2005


Juha Heinanen wrote:
> Maxim Sobolev writes:
> 
>  > Why so? They are very useful for things like URI rewrite to avoid code 
>  > duplication.
> 
> because you never know when a new parameter is introduced to a
> function that do_action is hiding from you and then you will miss to set
> px for it.  this happened to me already once.  if you use the function
> directly, for example, append_branch, you get compilation error and thus
> know to add the new param.

I see. However there are functions that do their work directly in 
do_action(), so that there is no way to use them w/o calling do_action().

-Maxim




More information about the Serdev mailing list