[Asterisk-Dev] Re: ast_localtime() weird interface.
Kevin P. Fleming
kpfleming at digium.com
Wed Oct 12 07:10:35 MST 2005
Luigi Rizzo wrote:
> I would be convinced by the localtime legacy case if ast_localtime()
> were widely used - but it is not: there are only 7 instances of it
> in the entire tree outside say.c, which uses it a million times
> but just because that entire file is made of entire sections of
> code cut&pasted a thousand times with 1-2 line changes each time.
> So say.c is not something that one can use as an example.
I agree that in this case it makes more sense for the function arguments
to be sane, instead of trying to match a common library function that is
rarely used in the tree.
More information about the asterisk-dev
mailing list