Andreas Gustafsson
eb70ba210b
spacing
2001-09-06 01:06:24 +00:00
Andreas Gustafsson
847169dab2
980. [bug] Incoming zone transfers restarting after an error
...
could trigger an assertion failure. [RT #1692 ]
2001-09-05 23:02:28 +00:00
Brian Wellington
ed29aefe31
[RT #1709 ]
...
Change isc_entropy_usebestsource() to have saner semantics:
- If an invalid file is specified, an error will be returned instead of the
keyboard being used.
- If no file is specified but a random device is present, the keyboard will
be used if there is an error opening the random device.
- ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
only device used. Otherwise, passing '-r keyboard' is meaningless
on a machine with a random device, since the keyboard will not be used.
Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington
aba9f3dd7e
remove an invalid close paren
2001-09-05 21:05:36 +00:00
Andreas Gustafsson
26f327f1f5
const correctness
2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d
check return value of strftime()
2001-09-05 17:05:47 +00:00
Andreas Gustafsson
33f87146a8
needs #include <isc/print.h>
2001-09-05 17:03:42 +00:00
Andreas Gustafsson
e282509475
80 columns
2001-09-05 16:55:05 +00:00
Mark Andrews
e6e233e73f
remove extranous debugging
2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade
Call dns_master_dumpinc() for "regular" dumps.
2001-09-05 14:13:29 +00:00
Mark Andrews
ed03e26c44
Add dns_dumpctx_db() and dns_dumpctx_version().
2001-09-05 10:28:55 +00:00
Mark Andrews
7f006841fc
Assertion failure when ISC_MEM_DEBUGRECORD set.
2001-09-05 06:26:07 +00:00
Mark Andrews
1d32e01f17
testing wrong variable
2001-09-05 06:04:58 +00:00
Danny Mayer
e78a28ffb5
isc_time_formattimestamp() created static const for bad time string
2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1
isc_file_getmodtime() does not need write access to file
2001-09-05 04:17:13 +00:00
Mark Andrews
c6b5faa001
remove extraneous UNUSED().
2001-09-04 14:27:42 +00:00
Mark Andrews
9aba20edee
979. [func] Incremental master file dumping. dns_master_dumpinc(),
...
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
e8d86192fc
978. [bug] dns_db_attachversion() had an invalid REQUIRE()
...
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer
aa7638fce5
Fix some signed/unsigned mismatches when comparing offsets
2001-09-04 04:14:31 +00:00
Danny Mayer
6f2e507e7e
Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files
2001-09-04 03:22:23 +00:00
Danny Mayer
7c7b389ae0
Added isc_file_truncate routine
2001-09-04 03:10:33 +00:00
Danny Mayer
dcc35bf6a4
Previous update was missing the release version of telling how to build the resource file [RT #1668 ]
2001-09-04 03:05:55 +00:00
Mark Andrews
bae5d9fcb4
977. [bug] Improve "not at top of zone" error message.
2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96
zone_settimer() nolonger needs to calculate the interval between two times.
...
[RT #1691 ]
2001-09-03 01:21:19 +00:00
Danny Mayer
a22a4084dd
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-01 05:22:04 +00:00
Andreas Gustafsson
847ed3fccf
new configuration data type cfg_type_sizenodefault,
...
which can be a size or the string 'unlimited' but not the string
'default'. This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f
allow setting a default max-journal-size in the options or view
2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe
call the new option for setting the maximum journal
...
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Andreas Gustafsson
355cc22e32
The epoch is once again zero in Win32;
...
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson
43f117d5f0
typo in comment
2001-09-01 00:46:04 +00:00
Andreas Gustafsson
b3034d815c
isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after
2001-09-01 00:18:43 +00:00
Andreas Gustafsson
bdec94477c
isc_file_getmodtime() should call GetFileTime(), not file_stats(),
...
so that the time returned is a native win32 FILETIME
2001-09-01 00:05:38 +00:00
Andreas Gustafsson
528baec07b
removed C++ comments; comment and indentation style
2001-08-31 23:57:05 +00:00
Andreas Gustafsson
ff8cd3afa7
implemented isc_time_formattimestamp() for Win32.
...
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Andreas Gustafsson
6184f9fc1e
REQUIRE(len > 0)
2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86
added isc_time_formattimestamp() (Unix only so far);
...
call it from log.c [RT #1687 ]
2001-08-31 21:51:27 +00:00
Andreas Gustafsson
0674850fcb
in dns_zone_notifyreceive(), the variable 'now' was
...
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648
in zone_settimer(), it seems cleaner to check whether
...
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Mark Andrews
4b87939256
strerror() -> isc__strerror() [RT #1689 ]
2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107
string formats
2001-08-31 04:47:59 +00:00
Mark Andrews
cfa3ab7f89
Timers now use isc_time_t rather than isc_stdtime_t.
...
zone->expiretime now has a consistant epoch [RT #1686 ]
2001-08-31 02:01:56 +00:00
Andreas Gustafsson
39125379e5
made mkstemp() static
2001-08-30 21:16:41 +00:00
Andreas Gustafsson
faa96aba6d
removed empty line
2001-08-30 20:55:37 +00:00
Andreas Gustafsson
c2df80e759
lower case
2001-08-30 20:40:27 +00:00
Andreas Gustafsson
9ec3c7b42d
mem.c did not compile when ISC_MEM_TRACKLINES was not defined
2001-08-30 20:23:44 +00:00
Mark Andrews
6668eca26b
972. [bug] The file modification time code in zone.c was using the
...
wrong epoch. [RT #1667 ]
2001-08-30 06:48:43 +00:00
Mark Andrews
06a960c681
971. [func] 'try-edns' can be use to disable edns on all queries.
2001-08-30 05:52:18 +00:00
Mark Andrews
90989375ca
Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set.
2001-08-30 05:40:04 +00:00
Mark Andrews
bd3091eb7d
compact journals on succesful dumps to the zone file.
2001-08-30 05:24:44 +00:00
Mark Andrews
cc0a5f7142
journal-size can now be set from named.conf
2001-08-30 05:23:00 +00:00