lkml.org 
[lkml]   [2010]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] Use kasprintf
Julia Lawall wrote:
> These patches convert a sequence of kmalloc and memcpy to use kasprintf
> instead.

Aren't these patches just a more convoluted way of doing a kstrdup?

I would imagine that a kasprintf would make more sense when the format
string is more complex than "%s", or am I missing something?

--
Paulo Marques - www.grupopie.com

"The face of a child can say it all, especially the
mouth part of the face."


\
 
 \ /
  Last update: 2010-10-18 20:45    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site