DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Creating a patch


From: Peter Hessler <phessler@xxxxxxxxxx>
Date: Thu, 24 Mar 2005 15:12:23 -0800

Most people would copy the old file to fdisk.c.orig, and edit fdisk.c, and
submit patches that way.  Should be trivial for you to do quickly.

You can also just edit the file, and run `cvs diff`, to generate the diffs
against cvs.  That'll make sure you do the right direction, and its guarenteed
to apply against the cvs revision you were using.

On Fri, 25 Mar 2005 00:04:50 +0100
Jasse Jansson <jasse@xxxxxxxxx> wrote:

: 
: This works fine, but the first two lines looks like this
: 
: --- sbin/i386/fdisk/fdisk.c	2004-12-18 22:43:38.000000000 +0100
: +++ sbin/i386/fdisk/fdisk.c.local	2005-03-25 00:10:45.000000000 +0100
: 
: It looks like to me that fdisk.c should be replaced with fdisk.c.local.
: 
: The patches posted in the submit list don't have the .local extension.
: 
: Where did I go wrong?


-- 



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]