lkml.org 
[lkml]   [2013]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/38] perf tools: Use asprintf instead of malloc plus snprintf
On Wed, Dec 04, 2013 at 05:06:25PM -0300, Arnaldo Carvalho de Melo wrote:
> From: Adrian Hunter <adrian.hunter@intel.com>
>
> The asprintf library function is equivalent to malloc plus snprintf so
> use it because it is simpler.

I used to be very fond of asprintf too, but apparently there are some
really ancient glibc versions that implement it incorrectly.
I had to remove it from mcelog at some point because of that.

No need to yank it out, but just to let you know.

-Andi


\
 
 \ /
  Last update: 2013-12-12 02:21    [W:0.165 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site