From owner-svn-src-all@FreeBSD.ORG Mon Jan 14 18:39:23 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F2FB9AAE for ; Mon, 14 Jan 2013 18:39:22 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) by mx1.freebsd.org (Postfix) with ESMTP id 72AFEC3E for ; Mon, 14 Jan 2013 18:39:22 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id fq13so4250006lab.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=ejFijsmsw6lTirsHJsuEYIijMvhHoM6QIF4bzHxPBB1utzlk+GibTE7iL027RQXcki /pRE/NAK44Gs1u9IgvcEL6CUNVsFFiMSxaUE4FehRoOiK6Em6ArVQk9y5BVhtKLAcpZV xFTAxCtDPx9gpoYxUyJ9sU0h8m0eNUmvp2vEmkFXqUn8jGR7yc3dUj0tJAGc0V7CgJ2X rbMvpjNBK1kVAmaS61MsfJWKx8cRX8ZeVcsv0kq4eblpmhPKEVmQ9ecY3ZA8CliYQo5p /xkg062kaqDooteuI/yd5YMKesNXDX4zGB1eq6IkGPCTbjpyISOlsGs7CY9UOE5v1NKy 1r/Q== 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: ALoCoQmdE8MxU+PlY1BddPSWn5DttQGQXgEz6bzAJBBYiYc/ERui+eitoyeQ0pGjFUQnIk3lCnV9 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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