Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 28 Apr 2005 20:11:37 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [PATCH]: which 1.6-1 Message-ID: <20050428181137.GG2572@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4270D2B6 DOT 3030805 AT zikzak DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4270D2B6.3030805@zikzak.net> User-Agent: Mutt/1.4.2i On Apr 28 22:10, Daniel Bell wrote: > --- which.c.orig 2004-12-27 09:26:16.001000000 +1100 > +++ which.c 2005-04-28 21:55:06.136577600 +1000 > @@ -97,6 +97,11 @@ > char cmdpath[PATH_MAX]; > int found = 0; > > + if ((cmd[0] == '/') && (check(cmd))) > + { > + puts(cmd); > + continue; > + } > for (i = 0; i < pcnt; ++i) > { > strcpy (cmdpath, path[i]); Thanks for the patch. I've applied a slightly different version, which also allows Windows paths. Version 1.7-1 should be on the mirrors soon. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/