This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: which 1.6-1


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]