public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: Xiaochen Zhou <zhouxiaochen@h3c.com>
To: Jonathan Larmour <jifl@eCosCentric.com>
Cc: eCos discussion <ecos-discuss@ecos.sourceware.org>,
	 eCos Patches List <ecos-patches@ecos.sourceware.org>
Subject: Re: [ECOS] sscanf() exception issue of C lib
Date: Fri, 16 Jan 2009 00:50:00 -0000	[thread overview]
Message-ID: <496FD9C5.80700@h3c.com> (raw)
In-Reply-To: <496EB66F.4010003@eCosCentric.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GB2312, Size: 501 bytes --]



Jonathan Larmour дµÀ:
> Jonathan Larmour wrote:
>   
>> Let me know if there are any problems with the attached patch, which I'm
>> checking in. Thanks.
>>     
>
> Ahem. Now attached.
>
> Jifl
>   
+ // 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.

Xiaochen Zhou

  reply	other threads:[~2009-01-16  0:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <496C3E08.7050400@h3c.com>
     [not found] ` <496E2221.8040505@eCosCentric.com>
     [not found]   ` <496E8D30.5020501@h3c.com>
     [not found]     ` <496EA5F6.1080407@h3c.com>
2009-01-15  3:34       ` Jonathan Larmour
2009-01-15  4:08         ` Jonathan Larmour
2009-01-16  0:50           ` Xiaochen Zhou [this message]
2009-01-16  0:59             ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496FD9C5.80700@h3c.com \
    --to=zhouxiaochen@h3c.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=ecos-patches@ecos.sourceware.org \
    --cc=jifl@eCosCentric.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).