Mon Dec 15 17:57:00 GMT 2014
On Dec 15 10:30, Yaakov Selkowitz wrote:
> On 2014-12-15 09:11, Corinna Vinschen wrote:
> >On Dec 11 12:08, Yaakov Selkowitz wrote:
> >>Another of the stdio_ext functions from Solaris and glibc:
> >>Patch attached.
> >Thanks. This patch introduces a problem for single thread targets.
> >While _newlib_flockfile_start and friends where no-ops before (given
> >that _flockfile/_funlockfile are no-ops), they now introduce a redundant
> >check for a bit in fp->_flags2. This check *may* be removed by compiler
> >optimization, but we shouldn't rely on that. What this patch needs is a
> >new no-op-like definition of _newlib_flockfile_start and friends for
> >single thread targets.
> Revised patch attached.
The __SINGLE_THREAD__ version works afaics, so, looks good. Please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the Newlib