From owner-svn-src-head@FreeBSD.ORG Mon Jan 14 18:39:23 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 29C26AAF for ; Mon, 14 Jan 2013 18:39:23 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1A8C3F for ; Mon, 14 Jan 2013 18:39:22 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id gi11so3190404lbb.33 for ; Mon, 14 Jan 2013 10:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=aUhMdx9q31QqxzIdNj7k76DlNk119t2OtFoHzuCcOCA=; b=PCWqvvnIFX5MCvSyUGkA+yyPG/CWmm2RabAsnZx1F0vJJU3GkILTA/pt93tgehuyVb fo9TMlnZoEqdLODDLrBMpCueBPJIL5NLdMapdp4FLen3YRaXLvVl2kMeiAAdpV12iIVh 4gTZXslpNmgR/W21eM29D6PD3AlveLrURVGS0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=aUhMdx9q31QqxzIdNj7k76DlNk119t2OtFoHzuCcOCA=; b=GWqvMxzWvy+Oruv2Z7Z9mTQb7AIauX4Mbg6fbaPBqjSkS1lNHd3l3/GDt0U7VXJeBq MwmmxdRIQk13Iltk6quvFapl9nFsQoLREO6zMR+tT6Lnfc7qHfq42ec/K1YkzeByaYwU IkSeSd8Ljd6oZ8wHHwBw/u3liOFA3itAupXaKCo5kEq5sgjETPEBCevGx8+DnLEje/sE EYgqXVHtPvMt2PdVPbn+hkFKA+mMeQS7f5ga5JWpxQL31USCbSPFI2/TXpTkbRdT1YPz KLDSkMa+5whItpdBUc2yesaIiDJS/kltC3N8PuFehgG+VLxEVlosdaxpmZ3yOiG4DMxw kBcg== Received: by 10.112.82.136 with SMTP id i8mr707403lby.74.1358188761301; Mon, 14 Jan 2013 10:39:21 -0800 (PST) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.112.151.36 with HTTP; Mon, 14 Jan 2013 10:38:51 -0800 (PST) In-Reply-To: <201301141640.r0EGepLc050623@svn.freebsd.org> References: <201301141640.r0EGepLc050623@svn.freebsd.org> From: Eitan Adler Date: Mon, 14 Jan 2013 13:38:51 -0500 X-Google-Sender-Auth: J9gKXsoxHyd8VB2dsjRnnKL5M7k Message-ID: Subject: Re: svn commit: r245426 - head/bin/sh To: Jilles Tjoelker Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmr+Yw1tQucusNC518V/o5LVU1j8nYPbTLLrNkCI5SsSq5wNoBn8SWz9JA2H77ViKfPPhbC Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 18:39:23 -0000 On 14 January 2013 11:40, Jilles Tjoelker 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