www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/25/13:21:29

Date: Wed, 25 Mar 1998 17:17:41 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Michael Mauch <michael DOT mauch AT gmx DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: How should gethostname() work?
In-Reply-To: <6fat7h$2jh$1@news-hrz.uni-duisburg.de>
Message-ID: <Pine.SUN.3.91.980325171555.26B-100000@is>
MIME-Version: 1.0

On Wed, 25 Mar 1998, Michael Mauch wrote:

> But the name delivered by the above function is blank padded, so
> gethostname() will give "MY_HOST         " instead of "MY_HOST".

Thanks for your report.

This bug is already corrected in the DJGPP development sources.  DJGPP
v2.02 will come with this bug fixed.  I believe the patched libc on Tom
Demmer's site has this bug corrected also.

- Raw text -


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