svn commit: r245426 - head/bin/sh

Eitan Adler eadler at freebsd.org
Mon Jan 14 18:39:23 UTC 2013


On 14 January 2013 11:40, Jilles Tjoelker <jilles at freebsd.org> wrote:
> Author: jilles
> Date: Mon Jan 14 16:40:50 2013
> New Revision: 245426
> URL: http://svnweb.freebsd.org/changeset/base/245426
>
> Log:
>   sh: Simplify cd-hash interaction.
>
>   Instead of rechecking relative paths for all hashed utilities after a cd,
>   track if any utility in cmdtable depends on a relative path in PATH.
>   If there is such a utility, cd clears the entire table.

Why not clear just these entries instead of the entire table?

-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams


More information about the svn-src-all mailing list