Commit graph

1121 commits

Author SHA1 Message Date
David Lawrence
78e5d07050 comment why <sys/time.h> is needed 2000-11-15 22:41:56 +00:00
Mark Andrews
edc9f47a1d add #include <sys/time.h> 2000-11-15 03:58:53 +00:00
David Lawrence
21ec512685 some systems do not implement all of the resources of
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
Andreas Gustafsson
4b7018f4cc illegal token after #endif 2000-11-15 01:31:45 +00:00
Brian Wellington
b8d6376e1b the ungettoken changes also broke multiline records. 2000-11-15 00:42:53 +00:00
David Lawrence
7ff4d6ebca compile unix/resource.c 2000-11-14 23:43:36 +00:00
David Lawrence
3fdfcc7977 use symbolic constant for formatting 64 bit ints 2000-11-14 23:42:29 +00:00
David Lawrence
1097943242 would have helped if the MIN/MAX for all of the signed integers were not
reversed.
2000-11-14 23:41:46 +00:00
David Lawrence
6c7b702df1 symbolic constant for the format string of a 64 bit long 2000-11-14 23:40:31 +00:00
David Lawrence
d653744935 isc_resource_t, isc_resourcevalue_t 2000-11-14 23:39:34 +00:00
David Lawrence
015c481e8b new functions, isc_resource_getlimit and isc_resource_setlimit, via new
header file, <isc/resource.h>
2000-11-14 23:39:15 +00:00
David Lawrence
b59aac4816 new functions, isc_resource_getlimit and isc_resource_setlimit 2000-11-14 23:38:10 +00:00
David Lawrence
1ab0c9558f map EPERM to ISC_R_NOPERM 2000-11-14 23:37:26 +00:00
David Lawrence
91676aba50 provide errno by way of errno.h 2000-11-14 23:37:10 +00:00
David Lawrence
be9a4bd82a symbolic constants for integral maximums and signed integral minimums 2000-11-14 23:35:43 +00:00
Brian Wellington
1f2f5445ec remove an uninitialized variable warning 2000-11-13 21:29:27 +00:00
Mark Andrews
733e928f71 552. [bug] We were not correctly detecting the end of all c-style
comments.  [RT #455]
2000-11-13 04:09:40 +00:00
Brian Wellington
66f7feef55 the ungettoken changes broken line number reporting 2000-11-10 01:41:00 +00:00
Brian Wellington
066faef119 548. [func] The lexer now ungets tokens more correctly. 2000-11-09 02:23:40 +00:00
Brian Wellington
60a7fe5da1 remove uninitialized variable. 2000-11-08 18:24:37 +00:00
Brian Wellington
add4043305 The identical gettoken() routines in rdata.c, hex.c, and base64.c have
been replaced with isc_lex_getmastertoken().
2000-11-08 01:56:15 +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
Andreas Gustafsson
b28d2a3d7b the established alternate spelling of 'template' is
'templet', not 'templat'
2000-10-20 22:09:01 +00:00
Mark Andrews
4b6d5b2312 528. [func] The ISC_LIST_XXXX macros now perform sanity checks
on their arguements.  ISC_LIST_XXXXUNSAFE can be use
                        to skip the checks however use with caution.
2000-10-20 13:35:58 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Mark Andrews
643f42815f Modified list macros w/ checking currently disabled. 2000-10-20 01:57:57 +00:00
Brian Wellington
1dc5c713eb removed unused variable 2000-10-19 01:10:24 +00:00
Mark Andrews
78bdbbaccb 'more_frags' lost the memory after the last fragment. Add the remaining
memory to the appropriate free list.
2000-10-13 05:37:17 +00:00
Brian Wellington
c0150ad6aa Don't call UNEXPECTED_ERROR if setsockopt(SO_TIMESTAMP) returns ENOPROTOOPT. 2000-10-12 00:35:49 +00:00
Mark Andrews
3030ea490c If the rename failed in isc_file_renameunique() unlink the temporary file. 2000-10-07 06:55:01 +00:00
Brian Wellington
e0521dac5d Not all of the setsockopt failures logged the reason for failure. 2000-10-07 00:16:50 +00:00
Mark Andrews
9282d220f4 New functions isc_file_template(), isc_file_renameunique().
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate().  The later is now written using isc_file_template().
2000-10-03 05:45:39 +00:00
Brian Wellington
2c18231946 The nonthreaded private include files should be deleted by the sanitizer. 2000-09-28 21:32:51 +00:00
Brian Wellington
0d89afffb2 Make sure #else and #endif for ISC_PLATFORM_USETHREADS are marked as such. 2000-09-28 21:31:08 +00:00
Mark Andrews
cd5475efa4 Describe and enforce the contract for isc_event_allocate().
Silent failure for bad args is not the BIND 9 way.
2000-09-27 22:53:33 +00:00
Brian Wellington
c76926d714 comment updates 2000-09-26 22:14:35 +00:00
Brian Wellington
df03463a37 Allow *_log_setcontext() to be called multiple times, so that *_lctx
can be set to NULL once the log context has been freed.
2000-09-26 22:10:44 +00:00
Andreas Gustafsson
94361d5867 simplified isc_random_jitter() and eliminated floating
point from the code using it in zone.c
2000-09-26 17:23:19 +00:00
Brian Wellington
3f123dcc2f 487. [port] flockfile() is not defined on all systems.
Also check for libpthreads, if libpthread isn't found.
2000-09-22 18:52:39 +00:00
Michael Graff
08ad332552 put a break in the switch 2000-09-21 21:40:29 +00:00
Michael Graff
e710c2162a check for more expected error values in connect() case 2000-09-21 21:30:27 +00:00
Andreas Gustafsson
922e6a3c2a 478. [bug] "make install" failed if the directory specified with
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Andreas Gustafsson
c89ac488df 472. [bug] Off-by-one error caused isc_time_add() to sometimes
produce invalid time values.
2000-09-18 18:43:03 +00:00
Brian Wellington
f3f22040a8 The ipv6 probe fails if IPv6 is disabled. 2000-09-15 20:52:27 +00:00
Bob Halley
3302ed8d6e bitstring assertion addition; doc fixes 2000-09-13 00:11:45 +00:00
Andreas Gustafsson
a9d3c26ed0 some CPP macros were not fully parenthesized 2000-09-12 23:27:44 +00:00
Bob Halley
83d2840b6f fix erroneous isc_bitstring_copy() REQUIRE 2000-09-12 19:26:40 +00:00
Brian Wellington
0fded1c8b7 remove warnings. 2000-09-12 13:46:12 +00:00
Andreas Gustafsson
b7e031d517 435. [bug] dns_zone_dump() overwrote existing zone files
rather than writing to a temporary file and
                        renaming.  This could lead to empty or partial
                        zone files being left around in certain error
                        conditions involving the initial transfer of a
                        slave zone, interfering with subsequent server
                        startup. [RT #282]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
e881887f18 commented 2000-09-08 21:25:21 +00:00