The new c version of which(1) command ignore empty components of $PATH. $ cd /bin $ env PATH=: which date $ echo $? 1 It should print: ./date
State Changed From-To: open->closed This bug no longer exists: $ cd /bin $ env PATH=: /usr/bin/which date ./date $ uname -r 4.6-RELEASE-p1
State Changed From-To: closed->open .. but it does apply to -current. Please do not destroy the Release and Environment fields.
State Changed From-To: open->closed Rev. 1.4 of which.c corrects this problem. Thanks for pointing it out.