Date: Wed, 25 Mar 1998 17:17:41 +0300 (IDT) From: Eli Zaretskii To: Michael Mauch 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.