Andreas Gustafsson
10e22ebcc3
605. [func] New function isc_lex_getlasttokentext().
2000-12-09 02:05:26 +00:00
Brian Wellington
bb812feb3c
line numbers could be corrupted by very large tokens.
2000-12-09 00:41:33 +00:00
David Lawrence
e544b507b8
602. [func] Cope automatically with UnixWare's broken
...
IN6_IS_ADDR_* macros. [RT #539 ]
2000-12-08 00:55:51 +00:00
Mark Andrews
6fda157766
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND*
2000-12-07 20:15:58 +00:00
David Lawrence
b161f87be8
Updated API to support i18n message arguments to isc_log_{,v}write{,1}.
...
Provided isc_log_i{,v}write{,1}, with appropriate macro substitutions,
for files that are not yet converted to the new API. When everything
is converted, the added functions will be removed.
2000-12-07 19:30:28 +00:00
Brian Wellington
1afae09da4
redundant code
2000-12-06 23:39:04 +00:00
David Lawrence
92f9189aee
move definition of check_overrun() before its first use
2000-12-06 20:34:34 +00:00
David Lawrence
f616ef2ea9
missing close parenthesis for an isc_msgcat_get() in an
...
"#if ISC_MEM_TRACKLINES" block.
2000-12-06 20:32:12 +00:00
Brian Wellington
17aac384e0
595. [port] On Linux 2.2, socket() returns EINVAL when it
...
should return EAFNOSUPPORT. Work around this.
2000-12-06 01:53:38 +00:00
David Lawrence
ee57537f1d
missing close parenthesis after an isc_mgscat_get()
2000-12-06 01:28:02 +00:00
David Lawrence
77078ddc9a
added msgs.h
2000-12-06 01:24:24 +00:00
David Lawrence
87762baad1
oops, guess you guys need this
2000-12-06 01:21:51 +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
6e8d5fd217
missed some #ifdef->#if changes
2000-12-01 00:52:38 +00:00
Andreas Gustafsson
c52e5c8ed1
test the various memory debug flags with #if instead of #ifdef
...
so that they can be turned off by passing -DISC_MEM_FOO=0 on the compiler
command line; removed some historical cruft
2000-12-01 00:32:02 +00:00
Andreas Gustafsson
16ef05fe1b
incremented
2000-11-30 23:06:32 +00:00
Andreas Gustafsson
25303900d1
missing semicolon
2000-11-29 01:51:54 +00:00
Andreas Gustafsson
1d90a73d6d
Make reloads work again after condition variable hack; added comments
2000-11-29 01:50:49 +00:00
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