www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/02/24/19:50:35

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: <cygwin-developers AT cygwin DOT com>
Subject: RE: uname -s question
Date: Sat, 24 Feb 2001 19:43:43 -0500
Message-ID: <000201c09ec4$01c76fc0$a300a8c0@nhv>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
In-Reply-To: <20010224193724.D7547@redhat.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

Christopher Faylor writes:
>
>On Sat, Feb 24, 2001 at 07:21:37PM -0500, Norman Vine wrote:
>>Christopher Faylor writes:
>>>>Which would enable constructs like the following to work:
>>>>
>>>>    if sys.platform in ['cygwin', 'linux']:
>>>>        # ...
>>>
>>>Can't you do something equivalent with regular expressions in python?
>>
>>Of course, we are doing something 'equivalent' and will 
>contiue todo so.
>
>I was trying to get a handle on why this was a problem.  Judging by
>usages in most of the configure scripts in sources.redhat.com and by
>perl's Configure, the convention for many systems is to refer to the
>system name with a wildcard (e.g., netbsd*), when necessary.
>
>I was trying to determine why this was not acceptable for Python.

FYI
Here is the original comment that led to this question.

> > Looking at the GuessOS helper in the Apache source distribution
> > I'd say that cygwin is completely non-standard in returning
> > version information with uname -s.

Norman Vine

- Raw text -


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