*** From dhcp-server -- To unsubscribe, see the end of this message. ***
Jared Johnson wrote:
> Didn't know if this was appropriate to post to list, but maybe
> someone can help? I'm not that new to unix but never had to use diff.
> What I can gather is it's similar to patch, but what options should
> I use with dhcp. I'm trying to go from bpl6-bpl18 before I start
> asking a lot of stupid questions on the list. I'm using RHLinux
> (kernel 2.0.36) is this the best upgrade to go to?
I am using dhcp-2.0b1pl26-1.i386.rpm and
dhcp-client-2.0b1pl26-1.i386.rpm (I uploaded them to redhat; they should
be in ftp://contrib.redhat.com/libc6/i386 now or soon). They work fine
for us.
diff and patch are like cousins. diff finds the differences between
files and is used to create patches. patch is a batch editor that uses
patch files to edit text files.
To create a patch, I often create an original as-distributed directory
called (for example) wizzo-orig, then create a copy of the directory
wizzo in which I edit and fix bugs. Then I go to the directory above
wizzo and wizzo-orig and do:
diff -Nur wizzo-orig wizzo > wizzo-bug-fix.patch
and there is my patch.
To apply the patch, as the user of the patch) I untar wizzo.tar.gz,
(usually into /usr/src/redhat/SOURCES) creating a directory wizzo in the
process. The patch is in the directory above (/usr/src/redhat/SOURCES).
I then change to the wizzo direcotry, and do:
patch -p1 < ../wizzo-bug-fix.patch
and like magic!! All the bugs are fixed :-)
--
Nick Urbanik, Dept. of Electrical & Communications Engineering
Hong Kong Institute of Vocational Education (Tsing Yi)
email: [EMAIL PROTECTED], [EMAIL PROTECTED]
Tel: (852) 2436 8660, (825) 2436 8674 Fax: (852) 2436 8643
------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED] Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------