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


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>

Klaas


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