[Mono-list] Diff: making machine.config's location variable
10 Dec 2002 13:08:06 +0100
On Tue, 2002-12-10 at 12:18, Tim Haynes wrote:
> dietmar <firstname.lastname@example.org> writes:
> > On Mon, 2002-12-09 at 19:03, Tim Haynes wrote:
> >> One enhancement we've stumbled upon here is the ability to specify
> >> 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:
> > 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
> Hi - potential for future reuse should it be required is the main
> along with it seeming like something that should be done in one named
> instead of inline code.
I don't understand howto reuse mono_install_get_config_dir (). Please
can you explain that?