www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/16/19:05:31

Sender: richdawe AT bigfoot DOT com
Message-ID: <373EF71F.76531948@bigfoot.com>
Date: Sun, 16 May 1999 17:49:35 +0100
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: $HOSTNAME doesn't override library code
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990516133552 DOT 26252G-100000 AT is>
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019