61 Commits
Author SHA1 Message Date
Mark Andrews fda6e07907 1654. [bug] isc_result_totext() contained array bounds read
error.
2004-06-11 00:35:05 +00:00
Mark Andrews 9e4db62a34 update copyrights 2004-03-09 06:12:49 +00:00
Mark Andrews 0217d247a4 1544. [bug] Named would logged a single entry to a file despite it
being over the specified size limit.

1543.   [bug]           Logging using "versions unlimited" did not work.
2004-03-03 05:39:27 +00:00
Mark Andrews b2f3e5c308 update_copyrights 2002-03-26 00:55:15 +00:00
Mark Andrews f8656a8bd6 missed this 2002-03-20 22:20:59 +00:00
Andreas Gustafsson 19872fdfb7 convert more socket errors to specific ISC error codes, notably ECONNRESET 2001-06-15 22:07:51 +00:00
Brian Wellington a13ca8a125 Add ISC_R_INPROGRESS (operation in progress) 2001-02-12 20:03:16 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington 7357590bee 656. [func] Treat an unescaped newline in a quoted string as
an error.  This means that TXT records with missing
                        close quotes should have meaningful errors printed.
2001-01-05 01:02:26 +00:00
Brian Wellington ee303f481d 639. [bug] Reading entropy from the keyboard would sometimes fail.
[RT #591]

note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
David Lawrence 9cd6d409b7 first pass at using isc_msgcat_get for message strings in libisc 2000-12-06 00:30:32 +00:00
Andreas Gustafsson fcf28b759c Don't log ENFILE and EMFILE as unexpected errors 2000-11-18 02:56:48 +00:00
Brian Wellington 19e0a2c2d1 Add isc_hex_* routines, which handle conversion to and from hex strings. 2000-11-07 20:58:08 +00:00
Mark Andrews 44215b932d 392. [func] Add ISC_R_FAMILYNOSUPPORT. Returned when OS does
not support the given address family requested.

 391.   [clarity]       ISC_R_FAMILY -> ISC_R_FAMILYMISMATCH.
2000-08-15 01:43:38 +00:00
Brian Wellington 5e989d1777 If isc_socket_bind tries to bind to a socket with a different address
family than the address specified, return a meaningful error.
2000-08-10 23:11:12 +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 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence 49dbdb0186 update_copyrights 2000-06-21 22:05:07 +00:00
Michael Graff 96e79f7ede Fully implement callback sources, and add a test program to test it. 2000-06-21 00:04:57 +00:00
David Lawrence 1f5eafd61b added ISC_R_NOTFILE and ISC_R_NOTDIRECTORY 2000-06-20 04:07:21 +00:00
Michael Graff d2e9c94edb Add ISC_R_MULTICAST 2000-06-15 18:21:38 +00:00
Michael Graff d10733a5a3 add ISC_R_ENTROPY 2000-06-08 19:23:04 +00:00
David Lawrence 87cafc5e70 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 was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.

Also cleaned up a few places where variable names clashed with reserved
identifiers.  (Which mostly works fine, but strictly speaking is undefined
by the standard.)

Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
David Lawrence c5c3b17a0a added ISC_R_RANGE 2000-05-15 20:37:06 +00:00
Michael Graff 8321dd2150 add ISC_R_NOTBOUND and ISC_R_NOTCONNECTED and return them where appropriate. 2000-05-11 05:43:53 +00:00
Andreas Gustafsson 6a13d6f3c6 Added result codes ISC_R_FILENOTFOUND and ISC_R_FILEEXISTS 2000-05-09 23:10:34 +00:00
David Lawrence 1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson 5d82424f5d New source file netaddr.c; new functions isc_netaddr_eqprefix(),
isc_netaddr_masktoprefixlen(), isc_netaddr_fromsockaddr(),
isc_netaddr_fromin(), isc_netaddr_fromin6(), isc_sockaddr_fromnetaddr();
new result code ISC_R_MASKNONCONTIG
2000-02-09 22:52:37 +00:00
Andreas Gustafsson 3a2487c9e3 added new result code ISC_R_IGNORE, to be used
by the interface iterator internals to indicate that an
interface is to be ignored.  Previously ISC_R_FAILURE was
used for this purpose.
2000-02-07 18:35:37 +00:00
Bob Halley ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Bob Halley 010170f711 add ISC_R_RELOAD 2000-01-22 01:39:17 +00:00
Michael Graff 440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Bob Halley 3c5c6fc345 ISC_R_TASKDONE and ISC_R_TASKNOSEND are not relevant anymore 1999-09-24 01:39:56 +00:00
Michael Graff 0d3119d4d1 Generalize ISC_R_TASKSHUTTINGDOWN to ISC_R_SHUTTINGDOWN 1999-07-14 22:15:29 +00:00
Bob Halley 55396fb3fb add ISC_R_ALREADYRUNNING 1999-07-14 02:03:04 +00:00
Bob Halley 96754ed7b4 put msgcat init in lib.c 1999-06-23 22:28:27 +00:00
Bob Halley 5804af97ab deal with unavailable result text; define set number 1999-06-23 03:08:59 +00:00
Bob Halley d8dcd6ad46 basic NLS support 1999-06-23 02:51:39 +00:00
Bob Halley e4e071ae12 unified result type support 1999-06-18 22:35:18 +00:00
Brian Wellington 822f6cdabb Created isc_base64_to{text,buffer} and removed the static versions
from lib/dns/rdata.c.
1999-05-18 17:46:59 +00:00
Bob Halley d6b0e99380 change TASKSHUTDOWN to TASKDONE 1999-05-10 22:49:22 +00:00
Bob Halley 7270737ca9 update copyrights 1999-03-06 04:03:53 +00:00
Bob Halley f3d3847553 add ISC_R_NOMORE 1999-01-28 08:38:01 +00:00
Bob Halley 516d43e889 add ISC_R_UNBALANCED 1999-01-26 08:23:55 +00:00
Bob Halley aa3a328647 add DNS_R_NOTIMPLEMENTED 1999-01-14 19:53:10 +00:00
Bob Halley af0fce400b add new codes 1998-12-30 20:17:41 +00:00
Bob Halley b2df2dafcd add ISC_R_NOTFOUND 1998-12-18 19:12:36 +00:00
Bob Halley 8cfc44208a minor shutdown message improvement 1998-12-16 01:56:36 +00:00
Bob Halley 3ee2a218d7 add ISC_R_TASKNOSEND and ISC_R_TASKSHUTTINGDOWN 1998-12-16 01:55:53 +00:00