Commit Graph
95 Commits
Author SHA1 Message Date
Mark Andrews bbb9aa3e3c windows snprint support 2013-01-11 16:27:40 +11:00
Mark Andrews eb0fce9258 remove dead code 2013-01-06 07:46:54 +11:00
Tinderbox User 0701549b85 update copyright notice 2013-01-04 23:45:11 +00:00
Mark Andrews 8a1c58d755 make static 2013-01-05 00:33:44 +11:00
Mark Andrews 2931e83af7 silence compiler warning 2013-01-04 15:57:46 +11:00
Mark Andrews e7df3e584e 3449. [bug] gen.c: use the pre-processor to construct format
strings so that compiler can perform sanity checks;
                        check the snprintf results. [RT #17576]

Conflicts:
	lib/dns/gen.c
2013-01-04 11:09:39 +11:00
Evan Hunt 4fe7f9e64d [v9_6] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
(cherry picked from commit 45f3693294)
2012-12-07 12:24:54 -08:00
Mark Andrews b1a4dd1c07 Revert "include <isc/print.h> in gen.c"
This reverts commit 5bbba214b2.
2012-10-04 08:13:47 +10:00
Evan Hunt 5bbba214b2 include <isc/print.h> in gen.c 2012-10-03 08:01:41 -07:00
Evan Hunt 09b49ec9b4 fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-03 00:01:28 -07:00
Tinderbox User a3bf29d6c8 update copyright notice 2012-03-10 23:45:08 +00:00
Tinderbox User d5c5ac0dbb regen v9_6 2012-03-07 01:45:20 +00:00
Automatic Updater 3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Mark Andrews 6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Automatic Updater 70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews bc8711b148 win32 2006-10-02 07:03:05 +00:00
Mark Andrews 1b06367c34 update copyright notice 2006-01-06 00:01:44 +00:00
Mark Andrews 118394ef2e 1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler.  See README for additional
                        cross compile support information. [RT #15148]
2006-01-05 00:30:34 +00:00
Mark Andrews ef67e6d8fa 1859. [func] Add support for CH A record. [RT #14695] 2005-06-04 00:18:56 +00:00
Mark Andrews 69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews 28b863e609 pullup fixed from 9.3 2004-03-16 05:52:24 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews 2047977ce2 1586. [func] "check-names" is now implemented. 2004-02-27 20:41:51 +00:00
Mark Andrews 5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Mark Andrews 471e0563c7 1485. [bug] gen failed to handle high type values. [RT #6225] 2003-07-17 08:05:15 +00:00
Mark Andrews 8695d7b357 1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
NULL terminated text regions. [RT #2588]
2002-03-20 17:12:29 +00:00
Andreas Gustafsson f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +00:00
Andreas Gustafsson f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Andreas Gustafsson 76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Danny Mayer f621719829 Added support for Win32 2001-07-16 05:10:30 +00:00
Mark Andrews bddfe77128 936. [func] Warn when non dotted decimal quad's are used.
[RT #1084]

 935.   [bug]           inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Andreas Gustafsson 19b34f979c removed initializations of nonexistent variables at Danny's request 2001-07-06 17:35:04 +00:00
Danny Mayer 4da4fef481 Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses 2001-07-06 02:56:47 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington 48b5493b2c types 128 - 255 are meta types 2000-11-20 20:29:00 +00:00
Brian Wellington ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +00:00
Brian Wellington 787b57597e The CLASSNAMES array was both unused and incomplete. 2000-11-09 03:03:47 +00:00
Brian Wellington 5cca7753fd RRTYPE -> TYPE for unknown types 2000-11-07 23:44:33 +00:00
David Lawrence 40f53fa8d9 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.
2000-08-01 01:33:37 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence 28d9fd5381 update_copyrights 2000-06-21 22:45:24 +00:00
Mark Andrews d2b5fe92a4 Generate dependancies for dot 'h' files made by gen. 2000-06-06 02:01:41 +00:00
David Lawrence f8faa9fe09 my last revision created a dns_rdataclass_* enum that had a comma after the
last idenfier, and IRIX whined about it.  Repeatedly.  Sigh.
2000-06-02 03:26:17 +00:00
David Lawrence 1c70c5ee90 227. [cleanup] The enumerated identifiers dns_rdataclass_*,
dns_rcode_*, dns_opcode_*, and dns_trust_* are
                        also now cast to their appropriate types.
2000-06-02 01:07:05 +00:00
David Lawrence 0b056755b2 225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
cast to dns_rdatatype_t via macros of their same name
                        so that they are of the proper integral type wherever
                        a dns_rdatatype_t is needed.

(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
David Lawrence 6d12fdf966 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.

rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.

Some minor integer-compatibility issues.  (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast.  The type of an
enum member is int, so there are some conversion issues there, too.)

A pointers-to-function should not be cast to a pointer-to-object.

Variables should not be named for C reserved identifiers.

One or two set-but-not-used variables removed.

Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
David Lawrence 47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +00:00