lkml.org 
[lkml]   [2009]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH tip 1/1] perf record: Fix typo in pid_synthesize_comm_event
From
Date
On Fri, 14 Aug 2009 15:26:32 -0300, Arnaldo Carvalho de Melo said:
> We were using 'fd' locally, but there was a global 'fd' too, so when
> converting from open to fopen the test made against fd should be made
> against 'fp', but since we have that global...

If the kernel was -Wshadow safe by default, this sort of thing would happen
less often... :)
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-08-14 21:11    [W:0.113 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site