www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/18/06:44:34

Date: Tue, 18 May 1999 13:42:22 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Dawe <richdawe AT bigfoot DOT com>
cc: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: $HOSTNAME doesn't override library code
In-Reply-To: <373EF71F.76531948@bigfoot.com>
Message-ID: <Pine.SUN.3.91.990518134203.24330P-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 16 May 1999, Richard Dawe wrote:

> 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 think renaming to `gethostname' (and adding the libc code to it) is
a better way, because `gethostname' is more standardized.

- Raw text -


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