[Mono-list] Diff: making machine.config's location variable

dietmar dietmar@ximian.com
10 Dec 2002 11:09:13 +0100


Why do we need that:

mono_install_get_config_dir()

why don't you access the environment variable directly inside:

ves_icall_System_Configuration_DefaultConfig_get_machine_config_path ?

- Dietmar


On Mon, 2002-12-09 at 19:03, Tim Haynes wrote:
> Hi,
> 
> One enhancement we've stumbled upon here is the ability to specify the
> path
> to machine.config as an environment variable, overriding (or
> falling-back
> to) the location hard-coded into the binary.
> 
> Patch is attached. A suggested ChangeLog entry would be:
> 
> 
> 2002-12-09  Tim Haynes  <thaynes@openlinksw.co.uk>
> 
>         * mono/jit/jit.c
>         * mono/metadata/icall.c: added mono_install_get_config_dir()
> to
>         utilize the MONO_CFG_DIR environment variable for specifying
>         different machine.configs.
> 
> 
> Cheers,
> 
> ~Tim
> -- 
> OpenLink Software
> Tel: +44 (0) 20 8681 7701
> Web: <http://www.openlinksw.com>
> Universal Data Access & Data Integration Technology Providers
>