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

Re: A few things



> First the function execve() respectively _spawnve() depends on the UNIXMODE 
> s-Flag. Is it really necessary to use UNIXMODE in this context. Without 
> the s-Flag httpd was not able to start cgi-scripts. It took me some hours 
> to find that.

When this was discussed before on this list, most people seemed to
like the broken _spawnve() bahaviour as the default because most
people didn't have /bin/sh, which is why the correct behaviour can
only be triggered with UNIXMODE-"s".  Perhaps it's time to change
that?

I think the real problem here is missing documentation.  Everyone who
has a /bin/sh should set UNIXMODE-"s" in his mint.cnf.

> I didn't want to make a different Source for MiNT. For that i will put some
> #ifdef's in it, but i didn't know what is the right one. 
> I found in other Sources:
> 
> #ifdef __MINT__
> #ifdef __mint
> #ifdef MINT

Code #ifdef'd __MINT__ will be used when compiling/linking with the
MiNT library, as this library defines this symbol whenever including
any system header file.  I think this is the best symbol to use.

I've never seen __mint and MINT; I think they're non-standard.

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