strl* (was: Re: Advent4 patch, second try)

Nanomad condellog at
Fri Sep 28 11:43:25 CEST 2007

On 9/27/07, Luis Javier Merino <ljmerino at> wrote:
> #define GROW_SIZE       1000
>                 *nsize = ((slen + GROW_SIZE) / GROW_SIZE) * GROW_SIZE;
>                         *nsize = ((*size + slen + GROW_SIZE - 1) /

Just a quick comment: dividing and then multipling for the same value
just does nothing (or, better, can lead to problems since you are
working with int) (or am I missing something?)
Official Ubuntu GNU/Linux Translator
Currently Running:
Ubuntu "Gutsty Gibbon" on Desktop PC (P4 1.4Ghz)
Ubuntu "Feisty Fawn" on Laptop (Centrino 2Ghz)

More information about the dslinux-devel mailing list