Commit graph

980 commits

Author SHA1 Message Date
David Lawrence
de8e189332 300. [bug] Using both <isc/net.h> and <lwres/net.h> didn't work
on platforms lacking IPv6 because each included their
			own ipv6 header file for the missing definitions.  Now
			each library's ipv6.h defines the wrapper symbol of
			the other (ISC_IPV6_H and LWRES_IPV6_H).
2000-07-01 01:41:54 +00:00
David Lawrence
641689bff4 note in the comment that isc_time_microdiff returns 0 if t1 < t2.
no need to pull up.
2000-06-30 22:40:32 +00:00
Andreas Gustafsson
fe8d130967 make install didn't work when using separate build dir 2000-06-30 00:29:29 +00:00
Michael Graff
2e0e781ba4 use the correct function name in debugging statements 2000-06-29 07:40:58 +00:00
David Lawrence
de88422aec only define ISC_MEM_DEBUG if it is not already defined, or if ISC_MEM_DEBUGOFF
is not defined.  no need to pull this one up to v9_0.
2000-06-28 03:46:37 +00:00
Andreas Gustafsson
33e482fa3e edited comment, no functional change 2000-06-27 21:04:12 +00:00
Michael Sawyer
d8afbf2f30 Force SIGHUP to be in state SIG_DFL when starting, since Solaris would break
that, if run from under cron.
2000-06-27 18:49:14 +00:00
Andreas Gustafsson
a7d4703552 commented 2000-06-26 22:59:22 +00:00
David Lawrence
2298aec5a1 test for high bit being set in isc_file_settime needed to use an
unsigned long long constant to work correctly on platforms that have
a 64 bit timeval.tv_sec and 32 bit ints.
2000-06-26 21:33:57 +00:00
Brian Wellington
98164bc1ad Printing a size_t as either %d or %u doesn't work on some 64 bit architectures. 2000-06-26 20:27:42 +00:00
Michael Graff
a72ca8608c revert part of a previous commit. This makes net/host unreachable hard errors again. 2000-06-26 20:16:01 +00:00
Brian Wellington
0191211ce5 Casting void * to unsigned long works better than casting to isc_uint32_t 2000-06-26 18:41:06 +00:00
Michael Graff
53b63f5467 minor change to make certain 'on' is defined. This used to be used only by USE_CMSG, but is also used to turn on BSD compatibility, so test on SO_BSDCOMPAT too. 2000-06-26 18:20:25 +00:00
Michael Graff
18a8c21c77 turn on BSD compatibility to avoid the annoying linux 'return host unreachable for unconnected UDP datagrams' bug. 2000-06-26 17:48:26 +00:00
James Brister
8775909be9 282. [bug] lexer now returns ISC_R_RANGE if parsed integer is
too big for an usigned long.
2000-06-23 22:32:10 +00:00
David Lawrence
24de6390c1 "entropy.c", line 1319: remark(1552): variable "ent" was set but never used 2000-06-23 22:06:47 +00:00
David Lawrence
438d4a305d include order lint 2000-06-23 21:43:46 +00:00
Michael Graff
79f9369c4f gc DOIO_UNEXPECTED as it was never used 2000-06-23 19:58:38 +00:00
David Lawrence
c244584cad 276. [bug] isc_log_categorybyname() and isc_log_modulebyname()
would fail to find the first member of any category
                        or module array apart from the internal defaults.
                        Thus, for example, the "notify" category was improperly
                        configured by named.

This resolves RT #132, "Logging channels definition problems."
2000-06-23 17:52:20 +00:00
David Lawrence
544f8fd0be protect sys/types.h from check-includes.pl removal recommendation 2000-06-23 03:08:18 +00:00
David Lawrence
b654509b18 protect limits.h from check-includes.pl removal recommendation 2000-06-23 03:07:45 +00:00
David Lawrence
ec32c6b366 use isc/lang.h and add protective UNIX_ERRNO2RESULT_H wrapper 2000-06-23 03:03:57 +00:00
David Lawrence
ac9e556e49 use isc/lang.h and fix ISC_STDIO_H wrapper 2000-06-23 03:03:14 +00:00
David Lawrence
e9acb52098 use isc/lang.h and fix ISC_SHA1_H wrapper 2000-06-23 03:02:58 +00:00
David Lawrence
76d6c9e54f protect isc/formatcheck.h from check-includes.pl removal recommendation 2000-06-23 03:02:41 +00:00
David Lawrence
d7984899c8 use isc/lang.h 2000-06-23 03:02:04 +00:00
David Lawrence
bac5798358 use isc/lang.h and add protective ISC_FSACCESS_H wrapper 2000-06-23 03:01:46 +00:00
David Lawrence
8dfc0c1ab0 does not need isc/magic.h 2000-06-23 03:01:12 +00:00
Michael Graff
0087d83906 thinko. Check for necessary entropy content correctly. 2000-06-23 02:31:10 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington
aed3b8cb4e cfmakeraw() is not posix 2000-06-22 20:50:55 +00:00
David Lawrence
7c74e180c2 update_copyrights 2000-06-22 03:00:36 +00:00
David Lawrence
038b0bd35c return the number of ncpus, instead of whatever random crap is on the stack 2000-06-22 02:23:39 +00:00
Michael Graff
0eb2572d79 add isc_thread_setconcurrency() 2000-06-22 01:48:24 +00:00
Brian Wellington
386a52a5ea Add isc/unix/os.c, which has isc_os_ncpus() 2000-06-22 01:06:35 +00:00
Michael Graff
9f95b0199c add an argument to indicate how long to wait before draining the keyboard's input queue. This keeps people from overrunning input into the shell, etc. 2000-06-22 00:25:33 +00:00
Michael Graff
8e7e1ef75b let the entropy source seed the pseudorandom source from _very_ bad sources like the time and the pid. Update the dispatcher to always expect success in these cases. 2000-06-21 22:12:23 +00:00
David Lawrence
49dbdb0186 update_copyrights 2000-06-21 22:05:07 +00:00
David Lawrence
8cbd9988dc the ipv6.h header file is now platform independent 2000-06-21 20:50:55 +00:00
Andreas Gustafsson
0302c5670c do includes in alphabetical order 2000-06-21 17:27:55 +00:00
Michael Graff
890fb60939 add keyboard API 2000-06-21 01:45:21 +00:00
Michael Graff
96e79f7ede Fully implement callback sources, and add a test program to test it. 2000-06-21 00:04:57 +00:00
Michael Graff
3036f326e5 attach to the memory context on manager create, and detach on destroy 2000-06-21 00:01:52 +00:00
Michael Graff
35250798eb Actually create sample sources now. 2000-06-20 19:10:19 +00:00
Michael Graff
b9672b61d8 add processing of sample sources, and of callback sources 2000-06-20 19:01:13 +00:00
Michael Graff
8470db5b12 clean up ; remove unneeded function arguments 2000-06-20 17:24:47 +00:00
David Lawrence
4acd8d2afe build fsaccess 2000-06-20 04:09:48 +00:00
David Lawrence
1f5eafd61b added ISC_R_NOTFILE and ISC_R_NOTDIRECTORY 2000-06-20 04:07:21 +00:00
David Lawrence
60f67141b8 added isc_fsaccess_t 2000-06-20 04:06:23 +00:00
David Lawrence
a904de0bc8 OS-independent filesystem permissions 2000-06-20 04:06:01 +00:00