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
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
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +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
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +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
David Lawrence
6fa1cb5754
189. [func] isc_time_secondsastimet(), a new function, will ensure
...
that the number of seconds in an isc_time_t does not
exceed the range of a time_t, or return ISC_R_RANGE.
Similarly, isc_time_now(), isc_time_nowplusinterval(),
isc_time_add() and isc_time_subtract() now check the
range for overflow/underflow. In the case of
isc_time_subtract, this changed a calling requirement
(ie, something that could generate an assertion)
into merely a condition that returns an error result.
isc_time_add() and isc_time_subtract() were void-
valued before but now return isc_result_t.
The seconds member isc_time_t on Unix platforms was changed from time_t
to unsigned int.
unix/time.c now uses macros for nanoseconds per second, nanoseconds per
microsecond and microseconds per second to make sure that the right
number of zeros appears each place the constant is used.
unix/time.c functions which take initialized isc_(interval|time)_t arguments
INSIST() that the nanoseconds value is less than one full second.
unix/time.c's isc_time_microdiff was broken because it did multiplication and
addition with unsigned integers and attempted to set them a 64 bit int to
avoid overflow, but C's ints don't promote to 64 bits on machines that only
have 32 bit longs. Fixed.
Added all the pertinent documentation to time.h.
2000-05-18 17:08:32 +00:00
David Lawrence
681bd61239
isc/{unix,win32}/include/isc/ipv6.h moved to isc/include/isc/ipv6.h
2000-05-09 00:55:59 +00:00
David Lawrence
5610876d1b
win32 isc/condition.h did not need <isc/result.h>
2000-04-28 23:55:08 +00:00
David Lawrence
b99d080717
141. [cleanup] <isc/stdtime.h> does not need <time.h> or <isc/result.h>.
2000-04-28 23:53:55 +00:00
David Lawrence
b905ff7cbe
140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>.
2000-04-28 23:23:52 +00:00
David Lawrence
027212247d
136. [cleanup] <isc/commandline.h>, <isc/interfaceiter.h>,
...
<isc/net.h> and Win32's <isc/thread.h> needed
ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS.
2000-04-28 22:09:15 +00:00
David Lawrence
a2605214c2
135. [cleanup] Win32's <isc/condition.h> did not need
...
<isc/boolean.h>, now uses <isc/types.h> in place
of <isc/time.h>, and needed ISC_LANG_BEGINDECLS
and ISC_LANG_ENDDECLS.
2000-04-28 21:39:34 +00:00
David Lawrence
2c9c974d98
undef ISC_PLAFORM_HAVESALEN and remove obsolete emacs c-mode comment
2000-04-28 21:22:15 +00:00
David Lawrence
738922ba7b
133. [cleanup] <isc/ipv6.h> needs <isc/platform.h>.
2000-04-28 21:19:55 +00:00
David Lawrence
dc91d010db
128. [cleanup] <isc/dir.h> had ISC_LANG_BEGINDECLS instead of
...
ISC_LANG_ENDDECLS at end of header.
2000-04-28 17:46:30 +00:00
David Lawrence
2d78d06402
125. [cleanup] <isc/eventclass.h>, <isc/ipv6.h>, <isc/magic.h>,
...
<isc/mutex.h>, <isc/once.h>, <isc/region.h>, and
<isc/resultclass.h> do not need <isc/lang.h>.
2000-04-28 17:19:11 +00:00
David Lawrence
58bc93c3dd
81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need
...
<isc/lang.h>.
2000-04-25 21:16:12 +00:00
David Lawrence
0a7bde9fa8
isc_interval_t and isc_time_t typedefs moved to isc/types.h
2000-04-25 19:33:07 +00:00
David Lawrence
2cc9a6a0f7
Prototype for new function isc_time_subtract.
...
Comment cleanups (ie, many "'t' are a valid." comments made grammatically
correct).
win32's file.h added missing ISC_LANG_ENDDECLS.
2000-04-24 21:38:55 +00:00
David Lawrence
11d732daac
added isc_time_seconds, isc_time_nanoseconds
...
fixed isc_time_settoepoch and isc_time_isepoch
2000-03-10 17:50:36 +00:00
Bob Halley
ca41b452ed
update copyrights
2000-02-03 23:08:31 +00:00
Michael Graff
58aaab3687
isc_stdtime_get() now returns void, not isc_result_t.
1999-12-16 23:29:07 +00:00
Bob Halley
0e1bef59f0
add isc_dir_chdir; change argument order of isc_dir_open
1999-10-31 19:08:17 +00:00
Bob Halley
89acdfd744
add comment documenting needed conversion
1999-10-30 03:52:58 +00:00
James Brister
5f42ef032d
Fixed CPP macro name that wasn't changed when platform.h was created.
1999-10-10 17:11:41 +00:00
David Lawrence
d3e7d196cd
isc_time_millidiff is now isc_time_microdiff
1999-10-09 02:39:53 +00:00
David Lawrence
7c47a2a03c
netdb.h for win32
1999-10-06 19:43:19 +00:00
David Lawrence
a72b5fec9d
makefiles and cvsignores for the win32 subtree
1999-10-06 19:41:39 +00:00
David Lawrence
f164ff7b52
win32 needs inet_pton()
1999-10-06 19:37:25 +00:00
David Lawrence
a91a5c2322
New CPP macros ISC_DIR_NAMEMAX and ISC_DIR_PATHMAX; win32 are based
...
on _MAX_FNAME and _MAX_PATH, unix are "reasonable values" (256 and 1024)
because unix is inconsistent about this.
1999-10-06 19:36:13 +00:00
David Lawrence
7182ad9121
removed the mutex method
1999-10-06 19:25:41 +00:00
David Lawrence
8671e8306b
configure ISC_NET_NEEDPORTT if "typedef isc_uint16_t in_port_t" is needed
1999-10-01 02:11:34 +00:00
David Lawrence
b8255b5084
First stab at NT networking interface via the ISC header files.
...
Though source modules things compile, no programs have yet been
built and tested that actually use networking (as opposed to support
functions, like inet_aton).
1999-09-27 21:15:35 +00:00
Michael Graff
e141888b93
protect with <isc/lang.h> and ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS
1999-09-24 23:24:51 +00:00
David Lawrence
bdec0dc85e
win32 interface for isc_stdtime_get
1999-09-23 18:34:27 +00:00
David Lawrence
cb73e2bfac
isc_once_do() for NT. Two different methods were coded and one
...
should be decided on; it is kind of a toss-up to me personally.
One method is slightly more complicated but the other uses a spin lock.
See once.c for details.
1999-09-23 18:14:16 +00:00
David Lawrence
05d763d642
Fixed prototype for isc_condition_waituntil.
...
Fixed calls to isc_time_now and isc_time_millidiff.
1999-09-23 18:06:47 +00:00
David Lawrence
d5069ac954
Fixed function prototypes to match unix/include/isc/time.h protos.
...
Wrote isc_time_nowplusinterval, a new function added to unix/time.c.
Made some LARGE_INTEGERS to be ULARGE_INTEGERS to ameliorate any
possible hint of a signed vs unsigned problem, even though it would
not happen for 28,847 more years from now.
Assert t1 and t2 not NULL in isc_time_millidiff.
1999-09-23 18:03:39 +00:00
David Lawrence
49e558760e
directory scanning API for unix/nt portability
1999-09-23 17:31:59 +00:00
Michael Graff
2f072c2982
Update copyrights
1999-09-15 23:03:43 +00:00
David Lawrence
b906092cb1
MSVC++ does not allow "long long". This uses the MSVC++ native types
...
to specify integers of the appropriate bit widths.
1999-09-09 15:19:43 +00:00
Bob Halley
1633838b82
update copyrights
1998-12-12 20:48:14 +00:00
Bob Halley
f671a5c51c
add isc_mutex_trylock()
1998-11-11 19:03:08 +00:00
Bob Halley
b592e197fe
update
1998-10-27 03:12:07 +00:00
Bob Halley
4d6964d70a
checkpoint
1998-10-26 23:07:57 +00:00
Bob Halley
d3239a41d1
eliminate detach
1998-10-23 23:51:09 +00:00
Bob Halley
b07a162e29
type changes for _beginthreadex
1998-10-23 23:02:01 +00:00
Bob Halley
9fbefe0ace
convert back to UNIX text format
1998-10-23 06:02:07 +00:00