Re: [PATCH] argv_split: allow argv_split to handle NULL pointer inargcp parameter gracefully

From: Jeremy Fitzhardinge
Date: Tue Jul 31 2007 - 12:52:39 EST


Neil Horman wrote:
> As Jeremy and I had discussed in a previous thread, it would be nice if the
> argv_split library function could gracefully handle a NULL pointer in the argcp
> parameter, so as to allow functions using it that did not care about the value
> of argc to not have to declare a useless variable. This patch accomplishes
> that. Tested by me, with successful results.
>
>

Looks good to me.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/