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

Re: [MiNT] MiNTlib and ARGV



On Fri, 2011-01-14 at 14:56 +0100, Vincent Rivière wrote:

> > You are right. The environment is polluted. The program is started with
> > no parameters, yet bash creates an ARGV in the child's environment. If I
> > start the program from the desktop it's OK.
> 
> So maybe the MiNTLib startup code should destroy the ARGV variable from 
> its own environment after parsing the ARGV command line ? That would 
> make sense.

I just checked, there is no ARGV in bash' environment. So bash adds this
to the child's environment even when no parameters are passed. My bash
is from EasyMiNT so probably from around 2005.

Jo Even