Re: PATCH: win32 hosts file location

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 19 Aug 2001 05:34:14 +0200

Robert Collins wrote:

> Hmm, thats an approach, but I though you wished to avoid runtime magic?

Not really. But the original code was a tiny bit too magic, and messed around with
the loaded configuration.

Currently I see three alternatives:

a) Magic /etc/

  hosts_file /etc/hosts

b) List of paths with variables

c) Introduction of a special "environment-variable" for the "system network database
directory", and generate a sligthly different default using this "variable". Allowing
only one win32 setting to be used, and code to automatically expand this to the
correct location.

    hosts_file %SYSDB%\hosts

--
Henrik
Received on Sat Aug 18 2001 - 21:38:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:12 MST