Re: [OE-core] [PATCH 1/1] tslib: Set open mode for ts_calibate.c

2011-11-24 Thread Richard Purdie
On Thu, 2011-11-17 at 19:10 +0800, Xiaofeng Yan wrote: > From: Xiaofeng Yan > > Get patch from: > http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/27614 > > There is a potentially "unsafe" use of open(). Ubuntu 8.10+, for instance, > by default enables the compiler flag -D_FORTIFY_SOU

[OE-core] [PATCH 1/1] tslib: Set open mode for ts_calibate.c

2011-11-17 Thread Xiaofeng Yan
From: Xiaofeng Yan Get patch from: http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/27614 There is a potentially "unsafe" use of open(). Ubuntu 8.10+, for instance, by default enables the compiler flag -D_FORTIFY_SOURCE=2 \ which throws an error of ts_calibrate.c. To fix this, \ set a