From: Wolfgang Denk Date: Thu, 22 Dec 2011 22:08:17 +0100 Subject: [U-Boot] [PATCH] lib/string: added strndup In-Reply-To: <1324577816-26198-1-git-send-email-marathon96@gmail.com> References: <1324577816-26198-1-git-send-email-marathon96@gmail.com> Message-ID: <20111222210817.CE3781899F12@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Grant Erickson, In message <1324577816-26198-1-git-send-email-marathon96@gmail.com> you wrote: > This patch adds optional support for strndup. > > Signed-off-by: Grant Erickson > --- > 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.