Date: Mon, 14 Jan 2013 13:38:51 -0500 From: Eitan Adler <eadler@freebsd.org> To: Jilles Tjoelker <jilles@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r245426 - head/bin/sh Message-ID: <CAF6rxgnPmjdmm8HMVweEFEOukRv=9QQ-D72-WCsirfBAAUn1yw@mail.gmail.com> In-Reply-To: <201301141640.r0EGepLc050623@svn.freebsd.org> References: <201301141640.r0EGepLc050623@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14 January 2013 11:40, Jilles Tjoelker <jilles@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnPmjdmm8HMVweEFEOukRv=9QQ-D72-WCsirfBAAUn1yw>