delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/07/10:17:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED
X-Spam-Check-By: sourceware.org
Message-ID: <5021233D.1010305@softwareag.com>
Date: Tue, 07 Aug 2012 16:16:29 +0200
From: Jochen Wiedmann <jochen DOT wiedmann AT softwareag DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: CygWin SVN should identify as CygWin
References: <5020CEC7 DOT 3010703 AT softwareag DOT com> <5020E3CB DOT 8070609 AT gmail DOT com> <5020E425 DOT 9080706 AT softwareag DOT com> <1975516369 DOT 20120807142759 AT mtu-net DOT ru> <5020EFDE DOT 3090305 AT softwareag DOT com> <CE9C056E12502146A72FD81290379E9A43657CCF AT ENFIRHMBX1 DOT datcon DOT co DOT uk>
In-Reply-To: <CE9C056E12502146A72FD81290379E9A43657CCF@ENFIRHMBX1.datcon.co.uk>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 07.08.2012 13:15, Adam Dinwoodie wrote:

> This isn't Subversion's responsibility; the problem is more general: how do you
> tell if the version of awk, sed or vim are Cygwin ones or not (or ones compiled
> containing a specific patch, or built on a particular day, or any other of a
> myriad of different things that could make a difference to an executable's
> behaviour)?

I don't know about "more general". However, I know very well that 
there's a particular project (Maven Release Plugin), which has this very 
problem with svn, not with awk, sed, or whatever. And I'd like to
fix that specific problem, not eliminate hunger in the world, or do 
whatever more general. To achieve that, I've pointed out a non-intrusive 
and harmless change in CygWin SVN, which might help to resolve that problem.

And, besides, your proposed solution won't work: I could, of course,
use "which", or "where" to deduce the location of "svn", but what would
that tell me. Assuming, I get "/usr/bin/svn", then I'd know that "which"
is a CygWin binary (because it emits a CygWin path), but what's got that
to do with svn? The fact that it resides in the CygWin bin directory
doesn't mean it is also a CygWin binary.

Jochen



 
SAG Consulting Services GmbH - Sitz/Registered office: Uhlandstraße 9, 64297 Darmstadt, Germany - Registergericht/Commercial register: Darmstadt HRB 85598 Geschäftsführer/Managing Directors: Klaus Katz, Arno Theiß - http://www.softwareag.com/
 


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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