Date: Tue, 18 May 1999 13:42:22 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Richard Dawe cc: DJGPP workers Subject: Re: $HOSTNAME doesn't override library code In-Reply-To: <373EF71F.76531948@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.