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

Re: MiNT 1.10 re-sync



Jason Baker writes:

> > >> Well, that's fine with me, but I don't know whether this "non-posixish"
> > >> behaviour is tolerable by all others?  I guess so... as it effectively
> > >> makes "damaged executable" equivalent to "executable crashed immediately
> > >> after it has been run".

> 	I don't know how shells actually handle interpreter files, but
> one way would be to do an exec..(), and if it has an invalid format
> check if it should be piped to an interpreter.

You're correct; actually, even the MiNT library handles scripts that
way (I just checked).  I guess that means that we cannot use Juergens
current memory frag patch...?

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