[asterisk-dev] Re: [asterisk-commits] kpfleming: branch 1.4 r46200
	- in /branches/1.4: apps/ cdr/ channels/ main/ p...
    Kevin P. Fleming 
    kpfleming at digium.com
       
    Wed Oct 25 07:44:21 MST 2006
    
    
  
Luigi Rizzo wrote:
> maybe we should #define strncopy and other forbidden APIs to something
> that causes an error during compilation ?
Unfortunately for this case there are legitimate needs for using it
still, because ast_copy_string is a not an exact replacement for strncpy.
At best we could alias it to ast_strncpy, but I'm not sure how much that
would help.
    
    
More information about the asterisk-dev
mailing list