[PATCH]: which 1.6-1
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Apr 28 18:42:00 GMT 2005
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/
More information about the Cygwin
mailing list