Ondřej Surý
2f8b28efad
Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
...
(cherry picked from commit 23fff6c569 )
(cherry picked from commit 4568669807 )
2018-11-08 22:42:52 +07:00
Ondřej Surý
1084b40b44
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
(cherry picked from commit 884929400c )
2018-08-10 15:20:57 +02:00
Ondřej Surý
aaa76dc654
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
...
(cherry picked from commit cb6a185c69 )
(cherry picked from commit d61e6a3111 )
2018-08-10 15:20:57 +02:00
Evan Hunt
8b205089b7
update file headers to remove copyright years
2018-03-14 16:40:20 -07:00
Tinderbox User
ff2d95be3d
update copyright notice / whitespace
2017-10-19 23:46:54 +00:00
Mark Andrews
f44202ab64
4774. [bug] <isc/util.h> was incorrectly included in several
...
header files. [RT #46311 ]
(cherry picked from commit fe79e2efbf )
2017-10-19 12:32:53 +11:00
Mark Andrews
1ac74a984d
Windows doesn't like LLU use ULL instead
...
(cherry picked from commit 6b5d6472cdbdb57ee7d8247d85f07c42fb347663)
2016-07-14 11:13:56 +10:00
Mukund Sivaraman
2d5581de6e
Make fixes for GCC 6 ( #42721 )
...
(cherry picked from commit 4116177ac4 )
2016-07-13 13:56:22 +05:30
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00
Tinderbox User
12b386e1a6
update copyright notice
2014-10-30 23:45:21 +00:00
Mark Andrews
00fb0253c9
3991. [func] Add the ability to buffer logging output by specifying
...
"buffered yes;" when defining a channel. [RT #26561 ]
2014-10-30 11:37:05 +11:00
Tinderbox User
fb05b13c6f
update copyright notice
2013-06-06 23:46:20 +00:00
Mark Andrews
8144dc702b
3587. [func] 'named -g' now checks the logging configuration but
...
does not use it. [RT #33473 ]
2013-06-06 11:08:16 +10:00
Tinderbox User
49503f1d9f
update copyright notice
2013-01-05 23:45:47 +00:00
Mark Andrews
25b95d31ce
3450. [bug] Stop logfileconfig system test spam system logs.
...
[RT #32315 ]
Squashed commit of the following:
commit ad40744e2c7dc253b70857bb229def5dd194b418
Author: Mark Andrews <marka@isc.org >
Date: Fri Jan 4 17:24:45 2013 +1100
logfileconfig spams the system log files
2013-01-06 07:56:10 +11:00
Automatic Updater
0e27506ce3
update copyright notice
2011-03-05 23:52:31 +00:00
Mark Andrews
7d09a0190b
add #include <isc/file.h>
2011-03-05 03:03:57 +00:00
Scott Mann
32babe43eb
Ensure that log files are plain files. (RT #22771 )
2011-03-04 14:07:03 +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
641f68d427
update copyright notice
2006-03-02 00:37:23 +00:00
Mark Andrews
45e1bd6358
1991. [cleanup] The configuration data, once read, should be treated
...
as readonly. Expand the use of const to enforce this
at compile time. [RT #15813 ]
2006-02-28 02:39:52 +00:00
Mark Andrews
4e1d3e67cd
1914. [bug] Strings returned from cfg_obj_asstring() should be
...
treated as read-only. The prototype for
cfg_obj_asstring() has been updated to reflect this.
[RT #15256 ]
2005-08-23 02:36:11 +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
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
7052e191ce
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:05 +00:00
Andreas Gustafsson
024face21c
1042. [bug] The "config" logging category did not work properly.
...
[RT #1873 ]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
6859033d42
1018. [bug] The default log channel was not always initialized
...
correctly. [RT #1813 ]
2001-09-27 20:54:27 +00:00
Andreas Gustafsson
8d146b6e11
1015. [bug] Log channels that had a "versions" option but no
...
"size" option failed to create numbered log
files. [RT #1783 ]
2001-09-25 00:55:22 +00:00
Mark Andrews
89d03d4715
Redo:
...
839. [func] Dump packets for which there was no view or that the
class could not be determined to category "unmatched".
2001-05-28 05:17:05 +00:00
David Lawrence
5bc6f56bc1
Test that log files can be opened when they are configured, since
...
isc_log_open() can't effectively report failures when called in
isc_log_doit().
2001-04-26 02:38:08 +00:00
Brian Wellington
90c099e88e
762. [feature] named now uses the new configuration parser.
2001-03-04 21:21:39 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Mark Andrews
483958540f
581. [bug] log severity was not being correctly processed.
...
[RT #485 ]
2000-11-29 13:30:43 +00:00
Brian Wellington
8f7cae3d7b
#include <isc/result.h>
2000-08-25 01:08:20 +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
a38e5f0695
278. [bug] bin/named/logconf.c:category_fromconf() didn't take
...
note of when isc_log_categorybyname() wasn't able
to find the category name and would then apply the
channel list of the unknown category to all categories.
2000-06-23 17:59:08 +00:00
David Lawrence
aa900978da
allow stderr channels to be configured
2000-06-22 22:30:12 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
David Lawrence
7efc8c3f69
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.
Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
David Lawrence
80150fb04a
oh good lord. the casting problem is really truly fixed this time. mea culpa.
2000-05-11 15:36:20 +00:00
David Lawrence
24fe57b6da
sorry, screwed up the cast in the last revision. cast a pointer to an int,
...
when i wanted to cast the int to unsigned then make a pointer.
2000-05-11 15:25:05 +00:00
David Lawrence
2ffe094fab
fixed argument type mismatch in dns_c_logchan_getversions call
2000-05-10 18:38:21 +00:00
David Lawrence
0cdff5948e
file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative
2000-05-10 01:50:58 +00:00
David Lawrence
8a47ea1dad
a few lingering (mem|str)(cmp|cpy|len) missing prototypes
2000-05-09 15:02:20 +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
a0f6cda5fd
the 'default_debug' log channel was not set up when
...
'category default' was present in the config file
2000-04-28 18:53:45 +00:00