Commit graph

1141 commits

Author SHA1 Message Date
Andreas Gustafsson
8e7ce54bef Make omapi clients work on single-threaded systems by
means of a gross hack involving recursive invocation of the
event loop. [RT #505]
2000-11-29 01:27:09 +00:00
Andreas Gustafsson
1f1ff380e0 switch() was missing all break; statements, causing setting of resource
limits to always fail
2000-11-28 21:40:52 +00:00
Andreas Gustafsson
78aa86abc6 typos 2000-11-27 17:49:41 +00:00
Mark Andrews
07892e4443 Memory leak when ISC_MEM_TRACKLINES is defined. 2000-11-25 06:40:54 +00:00
Mark Andrews
8a0ff6c15c 576. [doc] isc_log_create() description did not match reality.
575.   [bug]           isc_log_create() was not setting internal state
                        correctly to reflect the default channels created.
2000-11-24 01:37:26 +00:00
Brian Wellington
bfa244d5d4 Mark callback sources as bad if the get() routine returns failure. Also
some other cleanup, and a reversal of the incorrect destroylock patch.
2000-11-23 01:04:00 +00:00
Brian Wellington
a452eb6b5d a mutex wasn't being destroyed 2000-11-23 00:26:11 +00:00
Andreas Gustafsson
20e1ac3376 removed unused variable poke_needed 2000-11-22 23:48:14 +00:00
Brian Wellington
b0214977e8 Instead of storing parentheses deltas, just copy lex->paren_count and
restore it on ungettoken().  This is much easier (thanks, Mark).
2000-11-20 00:41:50 +00:00
Brian Wellington
cfd8d65ec1 #include <ctype.h> 2000-11-19 22:10:03 +00:00
Brian Wellington
fb1ee7bee0 isc_hex_fromtext didn't handle lowercase a-f 2000-11-19 20:58:58 +00:00
Brian Wellington
bea3d187ee fixed another assertion failure. 2000-11-18 21:15:23 +00:00
Brian Wellington
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +00:00
Andreas Gustafsson
fcf28b759c Don't log ENFILE and EMFILE as unexpected errors 2000-11-18 02:56:48 +00:00
Brian Wellington
6a9f7f6e51 fix paren handling in quoted strings again. 2000-11-18 01:02:39 +00:00
Brian Wellington
66a39bda9c parentheses in strings were handled incorrectly. 2000-11-18 00:54:19 +00:00
Andreas Gustafsson
0d8fe6131e treat EHOSTDOWN (if defined) the same as EHOSTUNREACH rather than as an
unexpected error [RT #215]
2000-11-17 21:04:12 +00:00
Brian Wellington
729916054d if a string token was immediately followed by an EOF token, ungetting the
string token would fail.
2000-11-17 00:34:37 +00:00
Brian Wellington
308785a470 If a token is ungotten, the source is no longer at EOF. 2000-11-16 03:44:41 +00:00
Brian Wellington
09ce346fd8 ungetting eof tokens could trigger an assertion. 2000-11-16 03:03:16 +00:00
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