On 9/30/14, 9:52 AM, Henk Langeveld wrote: > In my view, the environment (the structure pointed to by envp**) and the > shell's environment variables are two > different things. > > Any entries that are valid variable names should be imported as environment > variables once the process starts. > Any remaining entries should be preserved in the environment structure. > > On a subsequent exec, all environment variables should be merged into the > envp** structure. > > That way, ksh will not complain about junk in its own namespace, while > still preserving the environment > for subsequent processes.
This is what bash does. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ ast-users mailing list ast-users@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-users