Mark Andrews
73d7583d98
update copyrights
2002-02-08 03:57:47 +00:00
Danny Mayer
c6d29fbd5f
Added isc_fsaccess_changeowner function similar to the code to set file access attributes
2002-02-02 01:01:15 +00:00
Danny Mayer
6fedbb60b2
Change freebuf flag to be local to calls to NTstrerror() and be threadsafe
2002-01-25 03:39:25 +00:00
Mark Andrews
fa85f47357
pullup:
...
1108. [bug] On Win32, rndc was hanging when named was not running
due to failure to select for exceptional conditions
in select(). [RT #1870 ]
win32 fixes for:
1081. [bug] Multicast queries were incorrectly identified
based on the source address, not the destination
address.
1066. [bug] Provide a thread safe wrapper for strerror().
[RT #1689 ] (socket.c only)
General cleanup from mainline.
2002-01-25 00:24:58 +00:00
Danny Mayer
efd263562b
Removed C++ "//" comment lines
2002-01-24 23:43:28 +00:00
Danny Mayer
d7979cbb6c
Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage.
2002-01-24 23:19:35 +00:00
Andreas Gustafsson
7366e9c47d
pullup:
...
1174. [bug] Win32: add WSAECONNRESET to the expected errors
from connect(). [RT #2308 ]
2002-01-23 01:07:54 +00:00
Mark Andrews
d073663cb4
1174. [bug] Win32: add WSAECONNRESET to the expected errors
...
from connect(). [RT #2308 ]
2002-01-10 03:50:13 +00:00
Danny Mayer
13f20ab1fa
Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999
2001-12-19 03:46:57 +00:00
Mark Andrews
0cfa2fb26d
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Danny Mayer
d67b892041
isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message
2001-11-22 03:08:12 +00:00
Danny Mayer
d5f394f4c4
Change strerror references to use isc__strerror [RT #1689 ]
2001-11-21 05:07:25 +00:00
Andreas Gustafsson
945f7311ca
Don't return a value from isc__strerror(); it was never used, and
...
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
6cd7bd1fb5
spacing
2001-11-19 22:32:04 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Danny Mayer
33b8775d3a
Updated to support tree organization changes and to support the lib/bind9 library code
2001-11-18 03:11:06 +00:00
Andreas Gustafsson
36d8518388
indentation
2001-11-15 19:06:04 +00:00
Danny Mayer
5c4e92b973
Added support for NTFS disks
2001-11-13 05:07:57 +00:00
Danny Mayer
afce5ee1c8
On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear
2001-11-08 03:29:05 +00:00
Danny Mayer
e209942448
Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870 ]
2001-11-07 04:24:38 +00:00
Danny Mayer
93c498f0c6
ntfile.c now unnecessary as the iob array is now properly referenced
2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559
Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work
2001-11-02 05:02:15 +00:00
Andreas Gustafsson
30e3e23338
replaced the name RLIMIT_NOFILE by WIN32_MAX_OPEN_FILES, since
...
it was used for something completely unrelated to the Unix meaning of
RLIMIT_NOFILE
2001-10-31 00:32:42 +00:00
Danny Mayer
7e7bede4bd
Fix indentation
2001-10-26 02:29:43 +00:00
Danny Mayer
339335189b
Added support for max open files for Win32
2001-10-26 01:25:29 +00:00
Andreas Gustafsson
dcfc52bbba
Added a version.h file for each library; made version
...
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
b38ab99bdc
patch from Danny:
...
Fixed formattimestamp to use locale specific dates and times, the same way
as Unix format
2001-10-13 01:57:37 +00:00
Andreas Gustafsson
6c6ceac1bc
reverted incorrect commit
2001-10-08 18:58:11 +00:00
Danny Mayer
f3fcde886c
Fixed formattimestamp to use locale specific dates and times, the same way as Unix format
2001-10-08 01:20:08 +00:00
Danny Mayer
4186249fea
Eliminate unnecessary macro and increase buffer length MAX_NAME_LENGTH
2001-10-06 01:10:06 +00:00
Danny Mayer
5ea492b94d
Restore Andrea's changes along with the updates
2001-10-05 22:25:54 +00:00
Danny Mayer
49d23a92a9
Check for malloc out-of-memory conditions, changed return codes to provide more meaningful error codes. Minor cleanup
2001-10-05 05:51:50 +00:00
Andreas Gustafsson
1b8eaf4143
style
2001-10-01 20:58:51 +00:00
Andreas Gustafsson
1ebadd777b
pullup:
...
1021. [bug] On Win32, log message timestamps were one month
later than they should have been, and the server
would exhibit unspecified behavior in December.
2001-10-01 01:42:38 +00:00
Danny Mayer
37f08fab28
Timestamp was one month later than it should have been. SYSTEMTIME starts with January=1
2001-09-30 02:41:11 +00:00
Andreas Gustafsson
513dd4a616
style
2001-09-28 23:34:55 +00:00
Danny Mayer
7e351cd18f
Added named service location in Registry
2001-09-25 01:41:43 +00:00
Danny Mayer
ecde762a60
Code to fetch list of NT Groups for a given account. This is used for retrieving privilege information and rights for an account as well as for NTFS File system and other object security
2001-09-25 01:37:02 +00:00
Andreas Gustafsson
1299e93989
1011. [cleanup] Removed isc_dir_current().
2001-09-20 21:21:53 +00:00
Andreas Gustafsson
94c8b1aa0f
pullup:
...
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745 ]
2001-09-17 22:28:57 +00:00
Danny Mayer
8423b244ec
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745 ]
2001-09-16 06:19:22 +00:00
Andreas Gustafsson
f17bffa68d
pullup:
...
isc_time_formattimestamp() created static const for bad time string
2001-09-05 17:32:05 +00:00
Andreas Gustafsson
b1436346a0
pullup:
...
isc_file_getmodtime() does not need write access to file
2001-09-05 17:29:25 +00:00
Andreas Gustafsson
26f327f1f5
const correctness
2001-09-05 17:22:55 +00:00
Danny Mayer
e78a28ffb5
isc_time_formattimestamp() created static const for bad time string
2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1
isc_file_getmodtime() does not need write access to file
2001-09-05 04:17:13 +00:00
Andreas Gustafsson
7ee450d5f6
pullup:
...
972. [bug] The file modification time code in zone.c was using the
wrong epoch. [RT #1667 ]
(This pullup includes not only the changes to zone.c, but all the
recent epoch-related fixes)
2001-09-05 00:38:13 +00:00
Andreas Gustafsson
e5094285ce
pullup:
...
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-04 19:36:33 +00:00