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
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
Andreas Gustafsson
b28d2a3d7b
the established alternate spelling of 'template' is
...
'templet', not 'templat'
2000-10-20 22:09:01 +00:00
Brian Wellington
1dc5c713eb
removed unused variable
2000-10-19 01:10:24 +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
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
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
7ec4367f3d
434. [func] New function isc_file_isabsolute().
2000-09-08 18:37:28 +00:00
Michael Graff
1deaf52c98
kill persistent errors. Always retry the I/O now.
2000-09-07 01:59:57 +00:00
Michael Graff
e558faa60b
make unreachable errors on unconnected UDP sockets be soft errors, rather than hard ones.
2000-09-06 22:55:33 +00:00
Brian Wellington
1b32bc7da1
417. [func] Add isc_app_block() and isc_app_unblock(), which
...
allow an application to handle signals while
blocking.
2000-09-01 21:31:54 +00:00
Andreas Gustafsson
04cec6dc5b
comment style
2000-08-31 17:10:58 +00:00
Mark Andrews
7523838d84
make error message more informative.
2000-08-31 13:38:55 +00:00
Brian Wellington
5a842a6fc3
The non-threaded version does a better job avoiding starvation.
2000-08-30 23:47:16 +00:00
Brian Wellington
aa3f41bafc
signals were broken in the non-threaded version
2000-08-30 01:43:59 +00:00
Brian Wellington
ae8b7e02a8
Non threaded isc_app_* - basically an event loop that calls into the
...
task, timer, and socket modules.
2000-08-30 00:58:28 +00:00
Brian Wellington
efafe4fa7f
Non-threaded socket manager.
2000-08-29 23:58:17 +00:00
Brian Wellington
fafb62400d
When --disable-threads is passed, use "nothreads" instead of "pthreads" in
...
the build process.
2000-08-29 18:24:01 +00:00
Brian Wellington
a44038277a
MOre calls to DESTROYLOCK
2000-08-26 01:31:56 +00:00
Brian Wellington
bba01d378b
Since the result of isc_mutex_destroy() is being ignored, cast it to void.
2000-08-26 01:10:54 +00:00
Brian Wellington
569c05295c
removed a chunk of dead debugging code.
2000-08-25 22:07:52 +00:00
Brian Wellington
960d37edc3
Setting event->ev_sender to a bogus non-null value is no longer necessary.
2000-08-25 18:58:35 +00:00
Mark Andrews
44215b932d
392. [func] Add ISC_R_FAMILYNOSUPPORT. Returned when OS does
...
not support the given address family requested.
391. [clarity] ISC_R_FAMILY -> ISC_R_FAMILYMISMATCH.
2000-08-15 01:43:38 +00:00
Andreas Gustafsson
a3e7b6450e
style
2000-08-10 23:42:17 +00:00
Brian Wellington
5e989d1777
If isc_socket_bind tries to bind to a socket with a different address
...
family than the address specified, return a meaningful error.
2000-08-10 23:11:12 +00:00
Brian Wellington
3d37f10b91
On send, treat EPERM like ISC_R_HOSTUNREACH. send() seems to return EPERM
...
on Linux when firewall rules block the send.
2000-08-10 21:47:46 +00:00
Brian Wellington
cd7ffa4c12
381. [bug] Check for IPV6_RECVPKTINFO and use it instead of
...
IPV6_PKTINFO if found. [RT #229 ]
2000-08-10 00:05:45 +00:00
David Lawrence
450e48205f
Ensure argument to isdigit() is within valid range by "&"ing with 0xff.
2000-08-03 13:44:02 +00:00
David Lawrence
e15ecf08f2
use ISC_TF() to set an isc_boolean_t return value
2000-08-02 15:28:13 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington
153d59973f
Allow keyboard operations to be interrupted by the interrupt or quit
...
character.
2000-07-31 20:36:08 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
febf5f8b55
355. [func] Added isc_dir_createunique(), similar to mkdtemp().
2000-07-27 02:04:36 +00:00
Brian Wellington
da892e9733
Typo in comment - isc_time_microdiff returns microseconds, not milliseconds.
2000-07-14 16:59:32 +00:00
Andreas Gustafsson
0072e42780
use isc_log_wouldlog() in manager_log()
2000-07-13 01:38:40 +00:00
Brian Wellington
2935e25e99
Removed debugging code that is no longer useful.
2000-07-13 01:22:56 +00:00
Brian Wellington
febc974d0f
Use isc_log_wouldlog() to avoid calling strerror() whenever possible.
2000-07-13 01:13:53 +00:00
Andreas Gustafsson
211ac47e07
use isc_log_wouldlog() to avoid unnecessary formatting work
...
when the debug level does not warrant logging
2000-07-13 00:25:38 +00:00