Jarkko Hietaniemi writes: >> Maybe the right solution for gethostent would be to check both for hosts >> and hosts.sam (on Win95). > >Patches welcome. Umm.. hosts.sam is a "sample" file. Windows doesn't need a hosts file to operate. There are some other .sam files (lmhosts.sam) comes to mind - where no "Real" file is provided, and the user must create it if necessary. This would be like falling back to the hosts(5) manpage (on Linux) if no /etc/hosts was found. -RThread Previous