X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B44BCC5.2000206@bonhard.uklinux.net>
References: <4B44B470.80700@bonhard.uklinux.net> 	 <4B44BCC5.2000206@bonhard.uklinux.net>
Date: Wed, 6 Jan 2010 17:00:36 +0000
Message-ID: <416096c61001060900y2ed394f2u3fa5a2b1df61df78@mail.gmail.com>
Subject: Re: setup*exe for legacy and current versions
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2010/1/6 Fergus:
>>> Something wrong somewhere?
>
>> =C2=A0No.
>
> O .. K .. thanks for that ...
> So how does the same executable differing only in name trigger two entire=
ly
> different installations?

It checks its own name using argv[0] and acts accordingly.

Andy

--
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

