[U-Boot] [PATCH] lib/string: added strndup

Grant Erickson marathon96 at gmail.com
Thu Dec 22 22:09:42 CET 2011


On Dec 22, 2011, at 1:08 PM, Wolfgang Denk wrote:
> In message <1324577816-26198-1-git-send-email-marathon96 at gmail.com> you wrote:
>> This patch adds optional support for strndup.
>> 
>> Signed-off-by: Grant Erickson <marathon96 at gmail.com>
>> ---
>> include/linux/string.h |    3 +++
>> lib/string.c           |   21 +++++++++++++++++++++
>> 2 files changed, 24 insertions(+), 0 deletions(-)
> 
> What is this good for?  There are no users for this function (neither
> in mainline nor in any of the patches you have submitted).

Wolfgang:

I have a new board addition coming along shortly that leverages this.

Best,

Grant Erickson


More information about the U-Boot mailing list