X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: [ANNOUNCEMENT] Updated: cygwin-1.5.19-1
Date: Wed, 18 Jan 2006 20:37:30 -0000
MIME-Version: 1.0
Content-Type: text/plain; 	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <uirshffd8.fsf@gnu.org>
Message-ID: <SERRANO7e0C9guA8M6X000001cf@SERRANO.CAM.ARTIMI.COM>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
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

Sam Steingold wrote:

> 
> not only cygwin "drops extension" from argv[0] (as your bug report
> says), 


  That's not a bug, it's a vital feature.  Consider all those Unix-y programs
that perform different functions according to the filename you invoke them
with.  Most of them just use "if (!strcmp (argv[0], "name"))" constructs that
would fail if the .exe extension was left on.  Clipping it off is probably the
best portability-vs-bugs tradeoff for cygwin.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

