mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
spelling
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: base32.c,v 1.3 2008/04/04 23:47:01 tbox Exp $ */
|
/* $Id: base32.c,v 1.4 2009/01/18 00:32:04 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ base32_decode_char(base32_decode_ctx_t *ctx, int c) {
|
|||||||
if (last > 32)
|
if (last > 32)
|
||||||
last -= 33;
|
last -= 33;
|
||||||
/*
|
/*
|
||||||
* Check that padding is contigious.
|
* Check that padding is contiguous.
|
||||||
*/
|
*/
|
||||||
if (last != 32 && ctx->seen_32 != 0)
|
if (last != 32 && ctx->seen_32 != 0)
|
||||||
return (ISC_R_BADBASE32);
|
return (ISC_R_BADBASE32);
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: entropy.c,v 1.18 2007/06/19 23:47:17 tbox Exp $ */
|
/* $Id: entropy.c,v 1.19 2009/01/18 00:34:19 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file
|
/*! \file
|
||||||
* \brief
|
* \brief
|
||||||
@@ -290,7 +290,7 @@ entropypool_add_word(isc_entropypool_t *rp, isc_uint32_t val) {
|
|||||||
* If we have looped around the pool, increment the rotate
|
* If we have looped around the pool, increment the rotate
|
||||||
* variable so the next value will get xored in rotated to
|
* variable so the next value will get xored in rotated to
|
||||||
* a different position.
|
* a different position.
|
||||||
* Increment by a value that is relativly prime to the word size
|
* Increment by a value that is relatively prime to the word size
|
||||||
* to try to spread the bits throughout the pool quickly when the
|
* to try to spread the bits throughout the pool quickly when the
|
||||||
* pool is empty.
|
* pool is empty.
|
||||||
*/
|
*/
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dir.c,v 1.16 2008/11/02 23:47:01 tbox Exp $ */
|
/* $Id: dir.c,v 1.17 2009/01/18 00:16:33 fdupont Exp $ */
|
||||||
|
|
||||||
/* Principal Authors: DCL */
|
/* Principal Authors: DCL */
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ isc_dir_read(isc_dir_t *dir) {
|
|||||||
&dir->entry.find_data) == FALSE)
|
&dir->entry.find_data) == FALSE)
|
||||||
/*
|
/*
|
||||||
* Either the last file has been processed or
|
* Either the last file has been processed or
|
||||||
* an error has occured. The former is not
|
* an error has occurred. The former is not
|
||||||
* really an error, but the latter is.
|
* really an error, but the latter is.
|
||||||
*/
|
*/
|
||||||
if (GetLastError() == ERROR_NO_MORE_FILES)
|
if (GetLastError() == ERROR_NO_MORE_FILES)
|
||||||
|
@@ -15,10 +15,10 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: entropy.c,v 1.8 2007/06/19 23:47:19 tbox Exp $ */
|
/* $Id: entropy.c,v 1.9 2009/01/18 00:18:17 fdupont Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is the system depenedent part of the ISC entropy API.
|
* This is the system dependent part of the ISC entropy API.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: interfaceiter.c,v 1.13 2008/04/18 19:47:48 each Exp $ */
|
/* $Id: interfaceiter.c,v 1.14 2009/01/18 00:20:27 fdupont Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Note that this code will need to be revisited to support IPv6 Interfaces.
|
* Note that this code will need to be revisited to support IPv6 Interfaces.
|
||||||
@@ -46,7 +46,7 @@ void InitSockets(void);
|
|||||||
/*
|
/*
|
||||||
* Extract the network address part from a "struct sockaddr".
|
* Extract the network address part from a "struct sockaddr".
|
||||||
*
|
*
|
||||||
* The address family is given explicity
|
* The address family is given explicitly
|
||||||
* instead of using src->sa_family, because the latter does not work
|
* instead of using src->sa_family, because the latter does not work
|
||||||
* for copying a network mask obtained by SIOCGIFNETMASK (it does
|
* for copying a network mask obtained by SIOCGIFNETMASK (it does
|
||||||
* not have a valid address family).
|
* not have a valid address family).
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: netdb.h,v 1.7 2007/06/19 23:47:19 tbox Exp $ */
|
/* $Id: netdb.h,v 1.8 2009/01/18 00:22:40 fdupont Exp $ */
|
||||||
|
|
||||||
#ifndef NETDB_H
|
#ifndef NETDB_H
|
||||||
#define NETDB_H 1
|
#define NETDB_H 1
|
||||||
@@ -60,7 +60,7 @@ struct addrinfo {
|
|||||||
#define NETDB_INTERNAL -1 /* see errno */
|
#define NETDB_INTERNAL -1 /* see errno */
|
||||||
#define NETDB_SUCCESS 0 /* no problem */
|
#define NETDB_SUCCESS 0 /* no problem */
|
||||||
#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */
|
#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */
|
||||||
#define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */
|
#define TRY_AGAIN 2 /* Non-Authoritative Host not found, or SERVERFAIL */
|
||||||
#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */
|
#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */
|
||||||
#define NO_DATA 4 /* Valid name, no data record of requested type */
|
#define NO_DATA 4 /* Valid name, no data record of requested type */
|
||||||
#define NO_ADDRESS NO_DATA /* no address, look for MX record */
|
#define NO_ADDRESS NO_DATA /* no address, look for MX record */
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: socket.c,v 1.72 2009/01/05 23:47:54 tbox Exp $ */
|
/* $Id: socket.c,v 1.73 2009/01/18 00:27:17 fdupont Exp $ */
|
||||||
|
|
||||||
/* This code uses functions which are only available on Server 2003 and
|
/* This code uses functions which are only available on Server 2003 and
|
||||||
* higher, and Windows XP and higher.
|
* higher, and Windows XP and higher.
|
||||||
@@ -87,7 +87,7 @@ LPFN_ACCEPTEX ISCAcceptEx;
|
|||||||
LPFN_GETACCEPTEXSOCKADDRS ISCGetAcceptExSockaddrs;
|
LPFN_GETACCEPTEXSOCKADDRS ISCGetAcceptExSockaddrs;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Run expensive internal consistancy checks.
|
* Run expensive internal consistency checks.
|
||||||
*/
|
*/
|
||||||
#ifdef ISC_SOCKET_CONSISTENCY_CHECKS
|
#ifdef ISC_SOCKET_CONSISTENCY_CHECKS
|
||||||
#define CONSISTENT(sock) consistent(sock)
|
#define CONSISTENT(sock) consistent(sock)
|
||||||
@@ -489,7 +489,7 @@ iocompletionport_init(isc_socketmgr_t *manager) {
|
|||||||
REQUIRE(VALID_MANAGER(manager));
|
REQUIRE(VALID_MANAGER(manager));
|
||||||
/*
|
/*
|
||||||
* Create a private heap to handle the socket overlapped structure
|
* Create a private heap to handle the socket overlapped structure
|
||||||
* The miniumum number of structures is 10, there is no maximum
|
* The minimum number of structures is 10, there is no maximum
|
||||||
*/
|
*/
|
||||||
hHeapHandle = HeapCreate(0, 10 * sizeof(IoCompletionInfo), 0);
|
hHeapHandle = HeapCreate(0, 10 * sizeof(IoCompletionInfo), 0);
|
||||||
if (hHeapHandle == NULL) {
|
if (hHeapHandle == NULL) {
|
||||||
@@ -1514,7 +1514,7 @@ consistent(isc_socket_t *sock) {
|
|||||||
/*
|
/*
|
||||||
* Maybe free the socket.
|
* Maybe free the socket.
|
||||||
*
|
*
|
||||||
* This function will veriy tht the socket is no longer in use in any way,
|
* This function will verify tht the socket is no longer in use in any way,
|
||||||
* either internally or externally. This is the only place where this
|
* either internally or externally. This is the only place where this
|
||||||
* check is to be made; if some bit of code believes that IT is done with
|
* check is to be made; if some bit of code believes that IT is done with
|
||||||
* the socket (e.g., some reference counter reaches zero), it should call
|
* the socket (e.g., some reference counter reaches zero), it should call
|
||||||
@@ -1722,7 +1722,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif /* ISC_PLATFORM_HAVEIPV6 */
|
#endif /* ISC_PLATFORM_HAVEIPV6 */
|
||||||
#endif /* definef(USE_CMSG) */
|
#endif /* defined(USE_CMSG) */
|
||||||
|
|
||||||
#if defined(SO_RCVBUF)
|
#if defined(SO_RCVBUF)
|
||||||
optlen = sizeof(size);
|
optlen = sizeof(size);
|
||||||
@@ -2355,7 +2355,7 @@ SocketIoThread(LPVOID ThreadContext) {
|
|||||||
if (senddone_is_active(sock, lpo->dev)) {
|
if (senddone_is_active(sock, lpo->dev)) {
|
||||||
lpo->dev->result = isc_result;
|
lpo->dev->result = isc_result;
|
||||||
socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0,
|
socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0,
|
||||||
"cancelled_send");
|
"canceled_send");
|
||||||
send_senddone_event(sock, &lpo->dev);
|
send_senddone_event(sock, &lpo->dev);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -2372,7 +2372,7 @@ SocketIoThread(LPVOID ThreadContext) {
|
|||||||
free_socket(&lpo->adev->newsocket, __LINE__);
|
free_socket(&lpo->adev->newsocket, __LINE__);
|
||||||
lpo->adev->result = isc_result;
|
lpo->adev->result = isc_result;
|
||||||
socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0,
|
socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0,
|
||||||
"cancelled_accept");
|
"canceled_accept");
|
||||||
send_acceptdone_event(sock, &lpo->adev);
|
send_acceptdone_event(sock, &lpo->adev);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -2385,7 +2385,7 @@ SocketIoThread(LPVOID ThreadContext) {
|
|||||||
if (connectdone_is_active(sock, lpo->cdev)) {
|
if (connectdone_is_active(sock, lpo->cdev)) {
|
||||||
lpo->cdev->result = isc_result;
|
lpo->cdev->result = isc_result;
|
||||||
socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0,
|
socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0,
|
||||||
"cancelled_connect");
|
"canceled_connect");
|
||||||
send_connectdone_event(sock, &lpo->cdev);
|
send_connectdone_event(sock, &lpo->cdev);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -3115,7 +3115,7 @@ isc_socket_listen(isc_socket_t *sock, unsigned int backlog) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This should try to do agressive accept() XXXMLG
|
* This should try to do aggressive accept() XXXMLG
|
||||||
*/
|
*/
|
||||||
isc_result_t
|
isc_result_t
|
||||||
isc_socket_accept(isc_socket_t *sock,
|
isc_socket_accept(isc_socket_t *sock,
|
||||||
|
Reference in New Issue
Block a user