dietmar <[EMAIL PROTECTED]> writes:

> On Mon, 2002-12-09 at 19:03, Tim Haynes wrote:
>> 
>> 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:
[snip]
> 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 reason,
along with it seeming like something that should be done in one named lump
instead of inline code.

Cheers,

~Tim
-- 
OpenLink Software
Tel: +44 (0) 20 8681 7701
Web: <http://www.openlinksw.com>
Universal Data Access & Data Integration Technology Providers


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to