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

Wolfgang Denk wd at denx.de
Thu Dec 22 22:08:17 CET 2011


Dear Grant Erickson,

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).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The complexity of software is an essential property, not an  acciden-
tal  one. Hence, descriptions of a software entity that abstract away
its complexity often abstract away its essence.    - Fred Brooks, Jr.


More information about the U-Boot mailing list