Angus Leeming <[EMAIL PROTECTED]> writes: | Joćo Assirati contributed a 'less horrible, less leaky' putenv function in | src/support/putenv.C. It's currently used only by src/lyxsocket.C. > | We also have putEnv in src/support/filetools.C. It has the same signature | as Joćo's function but uses either ::setenv or ::putenv internally with a | preference for ::setenv if it exists. The use of ::putenv is 'more leaky' | than Joćo's function. > | I'd like to merge Joćo's function into the putEnv in | src/support/filetools.C, getting rid of src/support/putenv.C in the | process. Whilst we're at it, it seems sensible to also move these four | functions into their own env_var.[Ch] file. They're nothing at all to do | with filetools. > | Lars, are you happy with such a change?
Except for the file name... envir.[Ch] or environment.[Ch] would suit me better. -- Lgb