[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Minor cleanup for fdisk
From:       Rob Landley <rob () landley ! net>
Date:       2006-02-25 3:54:43
Message-ID: 200602242254.43232.rob () landley ! net
[Download RAW message or body]

On Friday 24 February 2006 9:41 pm, Garrett Kajmowicz wrote:
> This is a trivial patch, but this elliminates a conditional check to see if
> we are using a kernel version greater than 2.3.3.  Since we only support
> >=2.4 the check is somewhat pointless anyways.

Applied.

For future reference, this patch was a bit hard to apply because the filenames 
weren't the names of the files to be patched.  The normal thing to do is keep 
a copy of the unmodified tree and go
  diff -u busybox-old/util-linux/fdisk.c busybox-new/util-linux/fdisk.c

Then I can go into my busybox dir and go "patch -p1 -i yourfile.patch" and it 
just applies, even if there are multiple files being compared.  (Which diff 
-r can produce.)

Or if you have svn, it can produce a diff against the repository version (so 
you get a diff without explicitly keeping the old copy around), and that 
produces convenient paths too.  (Based on -p0 instead of p1, I.E. as if done 
from _within_ the busybox directory.  But quite usable.)

> -     Garrett

Rob
-- 
Never bet against the cheap plastic solution.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic