* patch command question
@ 2002-11-15 16:15 Glenn Schmid
0 siblings, 0 replies; only message in thread
From: Glenn Schmid @ 2002-11-15 16:15 UTC (permalink / raw)
I'm trying to apply the patches to my BIND 8.3.3 source code from
<http://www.isc.org/products/BIND/patches/bind833.diff>
I've never used the 'patch' command before, but the man page for it
makes it seem as though it will accept the patches from the above
diff file and apply them.
As a test, I took one of the patches and placed it in a file and did the
following:
# patch -b -i db_defs_patch.txt
Hmm... I can't seem to find a patch in there anywhere.
The file it was supposed to patch (db_defs.h) was located in the same
directory. The man page said that if the "Index:" was in the patch file,
then it would know which file to patch, so I figured I didn't need to
supply it as a parameter to 'patch'.
Have I forgottten a flag or can anyone spot my mistake?
the contents of my db_defs_patch.txt file are:
Index: bin/named/db_defs.h
===================================================================
RCS file: /proj/cvs/isc/bind8/src/bin/named/db_defs.h,v
retrieving revision 8.47
diff -u -r8.47 db_defs.h
--- bin/named/db_defs.h 18 May 2002 01:02:53 -0000 8.47
+++ bin/named/db_defs.h 30 Oct 2002 11:16:06 -0000
@@ -78,7 +78,7 @@
*/
/* max length of data in RR data field */
-#define MAXDATA (2*MAXDNAME + 5*INT32SZ)
+#define MAXDATA (3*MAXDNAME + 5*INT32SZ)
/* max length of data in a TXT RR segment */
#define MAXCHARSTRING 255
Thanks a lot
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-15 16:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 16:15 patch command question Glenn Schmid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox