delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT cygwin DOT com> |
List-Help: | <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin-developers AT cygwin DOT com |
Date: | Fri, 10 Jan 2003 13:02:59 +0100 |
From: | Corinna Vinschen <vinschen AT redhat DOT com> |
To: | cygwin-developers AT cygwin DOT com |
Subject: | gethostname() patch |
Message-ID: | <20030110130259.E1401@cygbert.vinschen.de> |
Reply-To: | cygwin-developers AT cygwin DOT com |
Mail-Followup-To: | cygwin-developers AT cygwin DOT com |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.22.1i |
Hi, I've just removed some old cruft from cygwin_gethostname which had the annoying result that always the return value of GetComputerName() has been used instead of the return value of gethostname(). Now Cygwin's gethostname and hostname(1) report the winsock value of the hostname which is lower case. My questions is: Shouldn't uname call this function as well? Uname still uses the upper case value returned from GetComputerName(). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |