Sender: richdawe AT bigfoot DOT com Message-ID: <373EF71F.76531948@bigfoot.com> Date: Sun, 16 May 1999 17:49:35 +0100 From: Richard Dawe X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) MIME-Version: 1.0 To: DJGPP workers Subject: Re: $HOSTNAME doesn't override library code References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Eli Zaretskii wrote: > If they work without problems when no Winsock is available, I don't > see any reason not to build the ports with libsocket. They should do. Currently libsocket's lsck_gethostname() will call DJGPP's gethostname() if it can't find it from the TCP/IP registry entries. If lsck_gethostname() is changed to gethostname() and overrides libc's, then I will have to include the libc code in libsocket's gethostname(). I'll add it to my libsocket to-do list to build & test some network-enabled versions.