[winegcc] Include .so files when calling winebuild

Dimitrie O. Paun dpaun at rogers.com
Wed Jan 5 11:18:55 CST 2005


On Wed, Jan 05, 2005 at 01:58:45PM +0100, Peter Berg Larsen wrote:
> +void strarray_set(strarray* arr, int index, const char* str)
> +{
> +    if (index >= arr->maximum)
> +    {
> +	arr->maximum = index+10;
> +	arr->base = xrealloc(arr->base, sizeof(*(arr->base)) * arr->maximum);
> +	memset(&(arr->base[arr->size]),0,sizeof(*(arr->base)) * (arr->maximum - arr->size));
> +    }
> +    arr->base[index] = str;
> +    if (arr->size <= index)
> +      arr->size = index+1;
> +}

Do we really need this strarray_set() function? Even if you do,
it should _not_ shorten the array.

-- 
Dimi.



More information about the wine-devel mailing list