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

Re: Some diffs for MiNT 1.12h3



Martin Koehling wrote:

> Here are some small patches for MiNT 1.12h3 you might find useful.

One more complaint:

> [...]
> main.c:
>     Look for the name of the executable file MiNT was started from
>     by peeking into our parent's DTA area - filenames like MNT12H3.PRG
>     are now possible (controlled by preprocessor Symbol AUTO_FIX).
>     (MiNT needs to know its filename in order to be able to execute
>     programs *after* itself in the AUTO folder...)

Now that I've looked at the code, I think it's kind of kludgy: It may
easily fail if MiNT has been run from another program (different from
TOS' AUTO folder scanner), but still before GEM has been run.  In this
case, it may look at a DTA area completely unrelated to locating the
MiNT executable.

I think it's better to keep it the way it is (looking only for
MINT.PRG and MINTNP.PRG in the AUTO folder).

Opinions?

(Perhaps I should include a "contrib" directory in the release,
containing patches I haven't applied to my source base but which are
still useful in certain circumstances?)

Michael
-- 
Email: hohmuth@inf.tu-dresden.de
WWW:   http://www.inf.tu-dresden.de/~mh1/