True. So what we need is to add a function in the
testing framework
so that tests can get argc/argv/envp. Seems like a
reasonable approach. I was more thinking adding some wt_argc and wt_argv, with init in main so that we don't have to deal with the portability issues of the __argc, __ ARGC...
Is there a reason we can't just use environment variables rather than argc/argv? I would think that would be less of a hassle than using argc/argv.
.Geoff
----------------------------------------------------- Protect yourself from spam, use http://sneakemail.com