This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [PATCH]: which 1.6-1
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 28 Apr 2005 20:11:37 +0200
- Subject: Re: [PATCH]: which 1.6-1
- References: <4270D2B6.3030805@zikzak.net>
- Reply-to: cygwin at cygwin dot com
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@cygwin.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/