From owner-freebsd-questions Wed Nov 20 17: 1:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E0AE37B401 for ; Wed, 20 Nov 2002 17:01:57 -0800 (PST) Received: from alpha.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2449C43E6E for ; Wed, 20 Nov 2002 17:01:51 -0800 (PST) (envelope-from culverk@yumyumyum.org) Received: from alpha.yumyumyum.org (localhost [127.0.0.1]) by alpha.yumyumyum.org (8.12.6/8.12.5) with ESMTP id gAL0xgkY098457; Wed, 20 Nov 2002 19:59:42 -0500 (EST) (envelope-from culverk@yumyumyum.org) Received: from localhost (culverk@localhost) by alpha.yumyumyum.org (8.12.6/8.12.5/Submit) with ESMTP id gAL0xfUK098454; Wed, 20 Nov 2002 19:59:41 -0500 (EST) (envelope-from culverk@yumyumyum.org) X-Authentication-Warning: alpha.yumyumyum.org: culverk owned process doing -bs Date: Wed, 20 Nov 2002 19:59:41 -0500 (EST) From: Kenneth Culver To: "Wilkinson,Alex" Cc: questions@FreeBSD.ORG Subject: Re: patches In-Reply-To: <20021121111229.R73261-100000@squirm.dsto.defence.gov.au> Message-ID: <20021120195809.Q97126-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-1.9 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING,NO_MX_FOR_FROM,AWL version=2.31 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You don't really write patches... you write code in the current code that's already there, and then you use diff to generate patches... this is very easy if you are using cvs to keep track of your code... cvs diff file.c (I like to use cvs diff -u but that's personal preferance). if you aren't using cvs then you have to keep a copy of the original source and do this diff -u file.c.orig file.c.modified Ken On Thu, 21 Nov 2002, Wilkinson,Alex wrote: > Howdy crew, > > Can someone point me to a paper that explains the process of > writing patches. > > Cheers > > - aW > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message