From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6199 invoked by alias); 11 Sep 2002 23:15:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6178 invoked from network); 11 Sep 2002 23:15:18 -0000 Received: from unknown (HELO mta05bw.bigpond.com) (139.134.6.95) by sources.redhat.com with SMTP; 11 Sep 2002 23:15:18 -0000 Received: from localhost.localdomain ([144.135.24.81]) by mta05bw.bigpond.com (Netscape Messaging Server 4.15 mta05bw May 23 2002 23:53:28) with SMTP id H2AR9F00.JXW; Thu, 12 Sep 2002 09:15:15 +1000 Received: from CPE-203-51-9-148.nsw.bigpond.net.au ([203.51.9.148]) by bwmam05.mailsvc.email.bigpond.com(MailRouter V3.0n 44/5464143); 12 Sep 2002 09:15:15 Subject: Re: Beginnings of a patch: /etc/hosts From: Robert Collins To: cygwin@cygwin.com Cc: Paul Johnston In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ztM6jWUaByvptPHL23i/" Date: Wed, 11 Sep 2002 16:35:00 -0000 Message-Id: <1031786149.22457.114.camel@lifelesswks> Mime-Version: 1.0 X-SW-Source: 2002-09/txt/msg00565.txt.bz2 --=-ztM6jWUaByvptPHL23i/ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 788 On Thu, 2002-09-12 at 08:57, Igor Pechtchanski wrote: > On Wed, 11 Sep 2002, Paul Johnston wrote: >=20 > > > No, I'm not. I'm incorporating Warren Young's suggestion. Unless so= meone > > > with ME can confirm that 'uname -s' returns CYGWIN_9*? Nicholas? > > > > To me that's a step backwards - uname -s or $OS are the correct ways to > > detect the operating system. Warren's approach would be fooled if a user > > defined $SYSTEMROOT on Win 9x. >=20 > Win 9x does not set $OS... At least my Win 98 machine at home doesn't. > Besides, the user can always set $OS to fool the script, Rule #1: The user knows better than the tool. If the user wants to fool the script, they can, even with uname. If a user is doing that, assume they have a reason and let them do it with grace. Rob --=-ztM6jWUaByvptPHL23i/ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9f86kI5+kQ8LJcoIRAvYyAKCAqSAPJ7gACgma3Ar/XWyGqgD//QCfZKQA 2z+BkzF8FwihdcHMWhJt3Hc= =CMLk -----END PGP SIGNATURE----- --=-ztM6jWUaByvptPHL23i/--