Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts. Maybe not. Blame Graff for getting me to trim all trailing whitespace.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<!--
|
||||
- Copyright (C) 1999, 2000 Internet Software Consortium.
|
||||
-
|
||||
-
|
||||
- Permission to use, copy, modify, and distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
- copyright notice and this permission notice appear in all copies.
|
||||
-
|
||||
-
|
||||
- THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||
- DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
@@ -15,7 +15,7 @@
|
||||
- WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- $Id: coding.html,v 1.12 2000/07/27 09:42:06 tale Exp $ -->
|
||||
<!-- $Id: coding.html,v 1.13 2000/08/01 01:18:21 tale Exp $ -->
|
||||
|
||||
<H2>C Language</H2>
|
||||
|
||||
@@ -109,11 +109,11 @@ declare any functions.<P>
|
||||
<PRE><CODE>
|
||||
/*
|
||||
* Copyright (C) 1998 Internet Software Consortium.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
|
||||
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
|
||||
@@ -430,7 +430,7 @@ Bad:
|
||||
|
||||
<H4>The Ternary Operator</H4>
|
||||
The ?: operator should mostly be avoided. It is tolerated when
|
||||
deciding what value to pass as a parameter to a function, such as
|
||||
deciding what value to pass as a parameter to a function, such as
|
||||
frequently happens with printf, and also when a simple (non-compound)
|
||||
value is being used in assignment or as part of a calculation.
|
||||
In particular, using the ternary operator to specify a return value is
|
||||
@@ -539,7 +539,7 @@ unquoted. E.g., <CODE>isc_log_write(... "open: %s: %s", filename,
|
||||
isc_result_totext(result));</CODE><P>
|
||||
|
||||
Function names, line numbers, memory addresses, and other references
|
||||
to program internals may be used in debugging messages and in
|
||||
to program internals may be used in debugging messages and in
|
||||
messages to report programming errors detected at runtime.
|
||||
They may not be used in messages that indicate errors in the
|
||||
program's inputs or operation.<P>
|
||||
|
||||
@@ -27,7 +27,7 @@ Renaming files by respository copy
|
||||
|
||||
|
||||
When you need to rename or move a file that is under CVS control, use
|
||||
the "repository copy" method as described in the following text
|
||||
the "repository copy" method as described in the following text
|
||||
borrowed from an ancient CVS FAQ:
|
||||
|
||||
2C.4 How do I rename a file?
|
||||
@@ -85,4 +85,4 @@ In a mainline working tree, do something like this:
|
||||
cvs tag -b -r v9_0_base v9_0 file
|
||||
|
||||
|
||||
$Id: cvs,v 1.3 2000/07/10 16:16:06 gson Exp $
|
||||
$Id: cvs,v 1.4 2000/08/01 01:18:22 tale Exp $
|
||||
|
||||
@@ -27,7 +27,7 @@ Renaming files by respository copy
|
||||
|
||||
|
||||
When you need to rename or move a file that is under CVS control, use
|
||||
the "repository copy" method as described in the following text
|
||||
the "repository copy" method as described in the following text
|
||||
borrowed from an ancient CVS FAQ:
|
||||
|
||||
2C.4 How do I rename a file?
|
||||
@@ -85,4 +85,4 @@ In a mainline working tree, do something like this:
|
||||
cvs tag -b -r v9_0_base v9_0 file
|
||||
|
||||
|
||||
$Id: cvs-usage,v 1.3 2000/07/10 16:16:06 gson Exp $
|
||||
$Id: cvs-usage,v 1.4 2000/08/01 01:18:22 tale Exp $
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<!--
|
||||
- Copyright (C) 1999, 2000 Internet Software Consortium.
|
||||
-
|
||||
-
|
||||
- Permission to use, copy, modify, and distribute this software for any
|
||||
- purpose with or without fee is hereby granted, provided that the above
|
||||
- copyright notice and this permission notice appear in all copies.
|
||||
-
|
||||
-
|
||||
- THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||
- DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
@@ -16,7 +16,7 @@
|
||||
- WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- $Id: rdata.html,v 1.10 2000/07/27 09:42:07 tale Exp $ -->
|
||||
<!-- $Id: rdata.html,v 1.11 2000/08/01 01:18:23 tale Exp $ -->
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
@@ -27,7 +27,7 @@
|
||||
The dns rdata routines (<CODE>dns_rdata_fromtext()</CODE>,
|
||||
<CODE>dns_rdata_totext()</CODE>, <CODE>dns_rdata_fromwire()</CODE>,
|
||||
<CODE>dns_rdata_towire()</CODE> <CODE>dns_rdata_fromstruct()</CODE>,
|
||||
<CODE>dns_rdata_tostruct()</CODE> and <CODE>dns_rdata_compare()</CODE>)
|
||||
<CODE>dns_rdata_tostruct()</CODE> and <CODE>dns_rdata_compare()</CODE>)
|
||||
are designed to provide a single set of routines
|
||||
for encoding, decoding and comparing dns data preventing the problems that
|
||||
occurred in BIND 8.x and earlier where there were multiple places in the
|
||||
@@ -245,7 +245,7 @@ decompression methods if there is a domain name in the rdata.
|
||||
else
|
||||
dns_decompress_setmethods(dctx, DNS_COMPRESS_GLOBAL14);</CODE>
|
||||
</PRE>
|
||||
|
||||
|
||||
<DL>
|
||||
<DT><CODE>class</CODE></DT>
|
||||
<DD>
|
||||
@@ -264,7 +264,7 @@ containing a RR record in wire format.
|
||||
<DD>
|
||||
This is the decompression context and is passed to
|
||||
<CODE>dns_name_fromwire()</CODE>,
|
||||
along with <CODE>downcase</CODE>, to enable a compressed domain name
|
||||
along with <CODE>downcase</CODE>, to enable a compressed domain name
|
||||
to be extracted from the source.
|
||||
<DT><CODE>downcase</CODE></DT>
|
||||
<DD>
|
||||
@@ -279,7 +279,7 @@ RR record is written.
|
||||
as it reads external data and should take extreme care to ensure that
|
||||
the input data matches its description.
|
||||
<P>
|
||||
If the <CODE>active</CODE> buffer is not empty at completion and
|
||||
If the <CODE>active</CODE> buffer is not empty at completion and
|
||||
<CODE>fromwire_<I>typename</I>()</CODE> was otherwise successful
|
||||
<CODE>dns_rdata_fromwire()</CODE> will return <CODE>DNS_R_EXTRADATA</CODE>.
|
||||
<H2>Convert from internal format to wire format</H2>
|
||||
@@ -295,7 +295,7 @@ towire_<I>classname_typename</I>(dns_rdata_t *rdata, dns_compress_t *cctx,
|
||||
</PRE>
|
||||
<P>
|
||||
<CODE>towire_<I>classname_typename</I>()</CODE> is required to set the
|
||||
allowed name compression methods based on EDNS version if there is a
|
||||
allowed name compression methods based on EDNS version if there is a
|
||||
domain name in the rdata.
|
||||
<PRE>
|
||||
<CODE>if (dns_compress_getedns(cctx) >= #)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Copyright (C) 2000 Internet Software Consortium.
|
||||
See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
|
||||
|
||||
$Id: release,v 1.11 2000/07/19 20:34:40 gson Exp $
|
||||
$Id: release,v 1.12 2000/08/01 01:18:24 tale Exp $
|
||||
|
||||
Preparing a bind9 release
|
||||
|
||||
@@ -20,7 +20,7 @@ release.
|
||||
lib/*/api files as needed. See the libtool info file
|
||||
for information about what the various numbers mean.
|
||||
|
||||
- Check that http://status.isc.org/bind9/bind9.html shows
|
||||
- Check that http://status.isc.org/bind9/bind9.html shows
|
||||
a clean build and test status for all supported systems.
|
||||
|
||||
- Check that "make all_tests" does not produce compile errors.
|
||||
@@ -100,7 +100,7 @@ release.
|
||||
- If problems are found at this stage, fix them, move the
|
||||
release tag up using "rtag -F", and respin the kit.
|
||||
|
||||
- Take the resulting distribution files to a secure system
|
||||
- Take the resulting distribution files to a secure system
|
||||
and sign them with the ISC signing PGP key:
|
||||
"pgp -sba bind-9.0.0b3.tar.gz -u 0x51BAB2ED"
|
||||
|
||||
@@ -120,7 +120,7 @@ release.
|
||||
|
||||
ssh isrv4.pa.vix.com "mkdir /udir/ftp/isc/bind9/9.0.0b4"
|
||||
scp bind-9.0.0b4.tar.gz bind-9.0.0b4.tar.gz.asc \
|
||||
isrv4.pa.vix.com:/udir/ftp/isc/bind9/9.0.0b4
|
||||
isrv4.pa.vix.com:/udir/ftp/isc/bind9/9.0.0b4
|
||||
|
||||
- Download using FTP (or Netscape) and verify the PGP signature again
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Copyright (C) 1999, 2000 Internet Software Consortium.
|
||||
See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
|
||||
|
||||
$Id: results,v 1.3 2000/06/22 21:54:07 tale Exp $
|
||||
$Id: results,v 1.4 2000/08/01 01:18:25 tale Exp $
|
||||
|
||||
Result Codes
|
||||
|
||||
@@ -19,7 +19,7 @@ seems more promising, e.g.
|
||||
|
||||
If 's' is shared however this approach doesn't work unless the locking is
|
||||
done by the caller, e.g.
|
||||
|
||||
|
||||
sometype_lock();
|
||||
sometype_dosomething(s, buffer);
|
||||
if (sometype_error(s)) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Copyright (C) 2000 Internet Software Consortium.
|
||||
See COPYRIGHT in the source root or http://www.isc.org/copyright for terms.
|
||||
|
||||
$Id: tests,v 1.6 2000/06/28 19:01:52 gson Exp $
|
||||
$Id: tests,v 1.7 2000/08/01 01:18:26 tale Exp $
|
||||
|
||||
We do hourly test builds of the bind9 tree. This is an attempt to
|
||||
document how they work.
|
||||
@@ -11,7 +11,7 @@ document how they work.
|
||||
|
||||
The scripts driving the build system are in ~wpk/b9t. They are not
|
||||
under CVS control. The builds are driven by cron jobs separately
|
||||
installed on each build system, running as user wpk.
|
||||
installed on each build system, running as user wpk.
|
||||
|
||||
The sources are checked out, and the web reports are generated,
|
||||
on bb, as driven by the following cron jobs:
|
||||
@@ -78,7 +78,7 @@ On some, it's on NFS; in this case the location is defined in
|
||||
The output from the make process is in
|
||||
~wpk/b9t/hosts/$PLATFORM/b9t-status, and the output from
|
||||
The output from the later stages of the process is under
|
||||
/proj/build-reports/bind9/hosts/$PLATFORM. To make the files
|
||||
/proj/build-reports/bind9/hosts/$PLATFORM. To make the files
|
||||
harder to find (?), they have names starting with a period:
|
||||
|
||||
.populate
|
||||
|
||||
Reference in New Issue
Block a user