This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] sscanf() exception issue of C lib


Xiaochen Zhou wrote:
> + // Don't let the files table change e.g. by closing the file.
> 
> +                if ( Cyg_libc_stdio_files::lock() ) {
> +                    err = EINTR;
> +                    break;
> +                }
> 
> In most time, Cyg_libc_stdio_files::lock() return true, flush would not
> work.

Doh. I even had it the other way round before, and then "corrected" it.
Silly thinko. Fixed in obvious way, thanks.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]