Mark Andrews
40dd9cb8cc
1024. [port] HP and Sun decided to use the same macros and
...
structures for different things.
2001-10-03 05:08:32 +00:00
Andreas Gustafsson
1299e93989
1011. [cleanup] Removed isc_dir_current().
2001-09-20 21:21:53 +00:00
Mark Andrews
ae5df22719
iadd missing const
2001-09-20 06:50:34 +00:00
Mark Andrews
ad8e6236a4
add missing const to declaration.
2001-09-20 06:50:08 +00:00
Andreas Gustafsson
1de63e34f1
1004. [port] Deal with recvfrom() returning EHOSTDOWN. [RT #1770 ]
2001-09-18 22:54:02 +00:00
Brian Wellington
aba9f3dd7e
remove an invalid close paren
2001-09-05 21:05:36 +00:00
Andreas Gustafsson
26f327f1f5
const correctness
2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d
check return value of strftime()
2001-09-05 17:05:47 +00:00
Andreas Gustafsson
33f87146a8
needs #include <isc/print.h>
2001-09-05 17:03:42 +00:00
Andreas Gustafsson
6184f9fc1e
REQUIRE(len > 0)
2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86
added isc_time_formattimestamp() (Unix only so far);
...
call it from log.c [RT #1687 ]
2001-08-31 21:51:27 +00:00
Mark Andrews
4b87939256
strerror() -> isc__strerror() [RT #1689 ]
2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107
string formats
2001-08-31 04:47:59 +00:00
Andreas Gustafsson
faa96aba6d
removed empty line
2001-08-30 20:55:37 +00:00
Mark Andrews
59251c9e9c
isc_file_truncate()
2001-08-30 04:55:36 +00:00
Mark Andrews
91579a2424
add isc_strerror to build
2001-08-30 04:49:36 +00:00
Mark Andrews
c654449ccf
isc__strerror
2001-08-30 04:33:20 +00:00
Mark Andrews
28fc90e6c8
#857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
...
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Mark Andrews
2c0b26955e
961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
...
was not defined. [RT #1482 ]
2001-08-16 07:27:48 +00:00
Mark Andrews
6f7660093e
959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584 ]
2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e
silence format warning: remove unused arg.
2001-08-12 00:12:14 +00:00
Andreas Gustafsson
76c8294c81
format string bugs and improved format string checking [RT #1578 ]
2001-08-08 22:54:55 +00:00
Andreas Gustafsson
d2a7d7e26c
all failures opening /dev/random were reported as
...
'I/O error'. This was highly confusing.
2001-07-18 01:31:13 +00:00
Andreas Gustafsson
ba35e9924e
added isc_file_ischdiridempotent()
2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c
added unix implementation of isc_file_absolutepath()
2001-07-16 17:26:44 +00:00
Mark Andrews
bddfe77128
936. [func] Warn when non dotted decimal quad's are used.
...
[RT #1084 ]
935. [bug] inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Andreas Gustafsson
aa0dc8d920
934. [port] Deal with systems where accept() spuriously returns
...
ECONNRESET.
2001-07-15 22:50:24 +00:00
Andreas Gustafsson
86a733bc74
use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
...
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Brian Wellington
bb5de15290
REQUIRE that parameters are not NULL in many functions [RT #1470 ]
2001-07-10 04:23:01 +00:00
Andreas Gustafsson
e76d4c91bf
coding style
2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1
924. [port] Extend pre-RFC2133 support. [RT #987 ]
2001-07-09 08:07:41 +00:00
Andreas Gustafsson
305795c093
finish app.h move
2001-07-06 22:12:21 +00:00
Andreas Gustafsson
675a191f43
moved <isc/app.h> to OS-independent include directory
2001-07-06 19:50:05 +00:00
Mark Andrews
2bc98b7d91
910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT.
2001-06-25 03:56:58 +00:00
David Lawrence
2d67c24744
906. [port] Separated the system independent portion of
...
lib/isc/unix/entropy.c into lib/isc/entropy.c
and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Andreas Gustafsson
19872fdfb7
convert more socket errors to specific ISC error codes, notably ECONNRESET
2001-06-15 22:07:51 +00:00
Mark Andrews
9a6573e16b
sys/select.h not sys/socket.h
2001-06-12 01:35:42 +00:00
David Lawrence
04260c5c48
895. [func] New function, isc_dir_current(), akin to POSIX's
...
getcwd().
2001-06-08 23:50:32 +00:00
David Lawrence
504f7802d4
893. [func] Removed isc_file_test() and added isc_file_exists()
...
for the basic functionality that was being added
with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
224e84bc0e
misc. stuff related to [RT #1293 ]
2001-06-07 00:21:53 +00:00
Brian Wellington
33e49e8fdc
#include <isc/magic.h>
2001-06-05 06:34:11 +00:00
David Lawrence
92ef1a9b9d
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land
2001-06-04 19:33:39 +00:00
Brian Wellington
d0b6ece407
ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS
2001-06-01 01:11:28 +00:00
David Lawrence
64c7a503c2
ensure that INADDR_LOOPBACK is defined
2001-05-31 10:54:51 +00:00
David Lawrence
50b7860fff
new function isc_file_test() as framework for determining various attributes
...
of a pathname
2001-05-31 10:53:14 +00:00
Andreas Gustafsson
740ae0808f
when returning a socket error, use isc__errno2result() instead
...
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +00:00
Andreas Gustafsson
fd5847ef09
828. [bug] The errno value from recvfrom() could be overwritten
...
by logging code. [RT #1293 ]
2001-05-14 18:20:03 +00:00
Andreas Gustafsson
c3ebcedbe5
Add isc_file_progname(), with trivial POSIX implementation, and
...
call it from main(). A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Brian Wellington
d144ea1d1c
isc_file_basename should return a (const char *)
2001-05-05 02:47:21 +00:00
Brian Wellington
f2194a8ba9
implement isc_file_basename()
2001-05-03 18:59:30 +00:00