> You mean SysV does not have C function for unsetting environment? I guess > this is why zsh has coded direct environ global manipulations (controlled by > USE_SET_UNSET_ENV). We can probably borrow code from there. I cannot say > though in which systems **environ is supported, but both bash and zsh just > use only the execve function out of exec* functions family: this means that > environment pointer is always passed directly (though with constructs like > `FOO=bar frobnicate` and `local -x` it would be strange to see something > else: it would be hard to constantly update global variable correctly).
To be more specific: there are two kinds of “direct environ manipulations”: 1. environ = new_environ, 2. envp = (environ [+ i]); *envp = string. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
