public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
From: Dave Korn <dave.korn.cygwin@googlemail.com>
To: The Only Vaguely Off-Topic This Time Cygwin-Talk Maiming And
	Light Chat List <cygwin-talk@cygwin.com>
Subject: Re: bug in mbrtowc?
Date: Tue, 28 Jul 2009 10:24:00 -0000	[thread overview]
Message-ID: <4A6ED4D6.5080905@gmail.com> (raw)
In-Reply-To: <20090728091413.GJ18621@calimero.vinschen.de>

Corinna Vinschen wrote:
> 
> That's a bug in the newlib function __utf8_mbtowc.  I'm really surprised
> that this bug has never been reported before since it's in the code for
> years, probably since it has been introduced in 2002.

  I'm not terribly surprised.  How much use for i18n is there in the typical
embedded microcontroller?  We're probably the first project to really use this
code in anger(*); cf. also how we still shake out the odd longstanding
floating point bug in newlib, another area that is significantly less-used in
tiny embedded apps than on desktop workstations.


    cheers,
      DaveK
-- 
(*) - Yes, I know about newlib-based linux.  I don't suppose anyone logging
into a single board embedded linux dev kit bothers to set their LC_ALL either!

       reply	other threads:[~2009-07-28 10:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <416096c60907271456x5e8cb3f7y64433d542ec6cdcb@mail.gmail.com>
     [not found] ` <20090728091413.GJ18621@calimero.vinschen.de>
2009-07-28 10:24   ` Dave Korn [this message]
2009-07-28 11:05     ` Corinna Vinschen

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=4A6ED4D6.5080905@gmail.com \
    --to=dave.korn.cygwin@googlemail.com \
    --cc=cygwin-talk@cygwin.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).