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] wcstombs


Klaas Gadeyne wrote:
On Thu, 10 Aug 2006, Jonathan Larmour wrote:
Klaas Gadeyne wrote:
On Wed, 9 Aug 2006, Jonathan Larmour wrote:
Klaas Gadeyne wrote:
So the next question: Is there reason why the implementation is not
conform the Single unix spec?

The short answer: eCos is not UNIX.


The longer answer: eCos does try to comply with C90 and C99 (although it doesn't by a long way with the latter), and selected parts of POSIX. UNIX compatibility is a "would be nice" thing, but not if it means adding bells and whistles that just bloat code until eCos slowly grows to be the size of UNIX. Therefore bells and whistles that only exist in the SUS are unlikely to be implemented.

Then, only for those who are interested: The following patch works fine for me (without too much code bloat I hope :-), but please check...

It isn't right as it disregards n. I've checked in the attached patch. Update your CVS and check it's ok.

Hmm, I did disregard n on purpose, see the original post with quote from the
SUS.


<http://sourceware.org/ml/ecos-discuss/2006-08/msg00038.html>

Sorry, you're right - that's a different nuance than is normally used for these types of things. I'll correct that now.


Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine


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