Re: [PATCH]: which 1.6-1

2005-04-28 Thread Corinna Vinschen
On Apr 28 22:10, Daniel Bell wrote: > --- which.c.orig2004-12-27 09:26:16.00100 +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))) > +{ > +

[PATCH]: which 1.6-1

2005-04-28 Thread Daniel Bell
Hi, I have used "which" under cygwin and discovered that it does not work correctly (compared to solaris which) when passed an absolute path. For example: which /usr/bin/ksh returns "command not found" under cygwin but "/usr/bin/ksh" under solaris. I have created a patch against which 1.6-1 tha