Re: Adventure - the answer to what went wrong?

Harry Kalogirou
2002-12-12T20:21:13Z

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

> Gave it a bit of thought today, and I think I know what happened.
>
> Looking at the libc sources, it looks like the strcmp and strncmp
> functions assume that both strings are in the same 64Kb segment. (There
> may be other functions that make this assumption as well, but I haven't
> really looked).

They assume right! In ELKS DS=SS=ES.

By the way, the CVS ELKS tree solves many memory problems but requires a
patch to the linker that I posted here some time ago and never got in
the linker tree... :(

Harry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 232 bytes --]