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

Re: [MiNT] Freeing child's base page




basepage and text/data/etc *always* is in one contiguous block. It's
possible to create just a basepage with Pexec, and set it to point to
the TEXT-segment of another process (threading). IIRC this technique is
used in some of Ozk's assembly-programs, like TextView! Mfreeing the
basepage in this case will only free the basepage itself.
True but this technique isn't used in libldg's load/unload, so no problem here.
 
Are you sure about removing that assignment? In this particular case it
would be right, but what happens when the LDG TSR is used? If I
This particular function isn't then called at all, so no problem either. Btw that NULL assignment was only some safe-check, no code relied on that value.

I've already published patch on sourceforge.net web of LDG -- anyone interested can download/test it, same for Windom (but here it isn't that important since it's patch for older, maybe even unsupported, version which zWeather uses).

--
MiKRO / Mystic Bytes
http://mikro.atari.org