delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/04/01:17:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C8311A6.624BA3BC@pobox.com>
Date: Sun, 03 Mar 2002 23:18:14 -0700
From: "John A. Turner" <john DOT turner AT pobox DOT com>
X-Mailer: Mozilla 4.79 [en]C-{C-UDP; EBM-SONY1} (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: nondeterministic results of uname -n

I want to make it clear that I'm neither complaining nor asking
for a change - just reporting something I've noticed in case it's
of interest to anyone

basically, the nodename reported by uname is sometimes
uppercase, sometimes lowercase - i.e. on my laptop sometimes I
see:

CYGWIN_NT-5.0 ubik 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown

and sometimes:

CYGWIN_NT-5.0 UBIK 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown

I only noticed only because I do stuff like:

host = $(shell uname -n)
ifeq (blorp,$(findstring blorp,$(host)))
  foo = bar
endif

in my makefiles, and I have to be careful about the case

-John

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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