From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 01:25:57 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E36B1065678 for ; Wed, 7 Jan 2009 01:25:57 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-gx0-f11.google.com (mail-gx0-f11.google.com [209.85.217.11]) by mx1.freebsd.org (Postfix) with ESMTP id C52548FC25 for ; Wed, 7 Jan 2009 01:25:56 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by gxk4 with SMTP id 4so197131gxk.19 for ; Tue, 06 Jan 2009 17:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=CGnvujUkBRM49PiM2JdXjoJtN2OXacBo1F5y/m9zvv0=; b=GrFwjIiuJyT4js4GfEMRm86zoFReAC935lXnNhiqIh8WxmzZI3nZSe/mCuSTjH86OP HrwZMM+bba6U1eldwSoQLV+M+QvlzZ34ctOwFsGszbI6i4nDslI+lsbDlsoRsom23iOh zhfQctmuROkbiRQ4R4s4DwTLppb+/4hRd7AyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=vr9/vpuHBhE1StC/3xQXHPjHs/w+zsroAnng0gW/5lE7bc3Np4cpEkf+59cKGZOYJN bKAnVNpC2JXf7chpk0zsY29LbDyTeN5YL6hYz/xqvIDwxHab5762R/xRjDyxQvJ+OmD7 3Mxm2Aw5/2AHpufPm37xaEkOPxw9rAPkdNw24= Received: by 10.90.100.20 with SMTP id x20mr5948017agb.12.1231291555345; Tue, 06 Jan 2009 17:25:55 -0800 (PST) Received: by 10.90.116.13 with HTTP; Tue, 6 Jan 2009 17:25:55 -0800 (PST) Message-ID: <790a9fff0901061725p6f41a602vbb53cfdf490df5cf@mail.gmail.com> Date: Tue, 6 Jan 2009 19:25:55 -0600 From: "Scot Hetzel" To: "Torfinn Ingolfsen" In-Reply-To: <20090107021725.3d43a49f.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1231263380.57454.23.camel@squirrel.corp.cox.com> <20090107012457.f9ce6dba.torfinn.ingolfsen@broadpark.no> <20090107021725.3d43a49f.torfinn.ingolfsen@broadpark.no> Cc: freebsd-stable@freebsd.org Subject: Re: Pending MFC of drm updates X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 01:25:57 -0000 On Tue, Jan 6, 2009 at 7:17 PM, Torfinn Ingolfsen wrote: > Is ther a "secret handshake" to make patch put the files in their > correct place? (Except for reading through the whole patchfile to > determine if all touched filews are in the same directory.) > patch -p0 < patchfile This will place the files into the correct locations. Patch with no '-p' option will first try to put the files in the path provided in the patch file, if the path exists, otherwise it places the files in the current directory. See the man page for patch. Scot