[asterisk-dev] [Code Review] data api gsoc2009

Tilghman Lesher tlesher at digium.com
Thu Jul 9 13:54:46 CDT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/275/#review956
-----------------------------------------------------------



/trunk/main/data.c
<https://reviewboard.asterisk.org/r/275/#comment2285>

    I think you'd be better off creating these sizes as dependent on the actual sizes of the strings.  Alternatively, use thread local variables for the strings.



/trunk/main/data.c
<https://reviewboard.asterisk.org/r/275/#comment2284>

    Cannot use strtok() in thread-safe code.



/trunk/main/data.c
<https://reviewboard.asterisk.org/r/275/#comment2286>

    Again, no strtok() in thread-safe code.


- Tilghman


On 2009-07-07 14:35:01, Eliel Sardañons wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/275/
> -----------------------------------------------------------
> 
> (Updated 2009-07-07 14:35:01)
> 
> 
> Review request for Asterisk Developers, Russell Bryant and Tilghman Lesher.
> 
> 
> Summary
> -------
> 
> This is the first review request for the Data API GSoC 2009 project.
> An architectural review is requested.
> 
> 
> Diffs
> -----
> 
>   /trunk/include/asterisk/_private.h 205047 
>   /trunk/include/asterisk/data.h PRE-CREATION 
>   /trunk/include/asterisk/xml.h 205047 
>   /trunk/main/asterisk.c 205047 
>   /trunk/main/data.c PRE-CREATION 
>   /trunk/main/xml.c 205047 
>   /trunk/tests/test_data.c PRE-CREATION 
> 
> Diff: https://reviewboard.asterisk.org/r/275/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Eliel
> 
>




More information about the asterisk-dev mailing list