[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] New error codes in kernel



On Fri, Oct 15, 1999 at 03:30:30PM +0200, Julian Reschke wrote:
> Have you considered a different strategy? Like having an internal
> translation table and returning error codes based on the application's
> settings (either via a new domain, or by some other mechanism to switch the
> behavour)? In this case, the MiNT library could enable the new behaviour,
> but old applications would be kept happy...

That sounds good. I also fear that a lot of old binaries are depending on
the Gemdos error codes, ans that means we should not change them unless we
know that the running program knows about them.

I think it should be possible to use the new codes everywhere in the kernel
and use a new->old mapping for old applications (just before the result is
returned to them).

cu
Michael
-- 
Michael Schwingen, Ahornstrasse 36, 52074 Aachen