From 1016f2638f8a34a802ce41043d5369553ac14246 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Sun, 18 Jan 2009 00:34:19 +0000 Subject: [PATCH] spelling --- lib/isc/base32.c | 4 ++-- lib/isc/entropy.c | 4 ++-- lib/isc/win32/dir.c | 4 ++-- lib/isc/win32/entropy.c | 4 ++-- lib/isc/win32/interfaceiter.c | 4 ++-- lib/isc/win32/netdb.h | 4 ++-- lib/isc/win32/socket.c | 18 +++++++++--------- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/lib/isc/base32.c b/lib/isc/base32.c index 0deabc526a..cf01f2c826 100644 --- a/lib/isc/base32.c +++ b/lib/isc/base32.c @@ -14,7 +14,7 @@ * 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 */ @@ -171,7 +171,7 @@ base32_decode_char(base32_decode_ctx_t *ctx, int c) { if (last > 32) last -= 33; /* - * Check that padding is contigious. + * Check that padding is contiguous. */ if (last != 32 && ctx->seen_32 != 0) return (ISC_R_BADBASE32); diff --git a/lib/isc/entropy.c b/lib/isc/entropy.c index cb578f06b4..b5e4716ebc 100644 --- a/lib/isc/entropy.c +++ b/lib/isc/entropy.c @@ -15,7 +15,7 @@ * 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 * \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 * variable so the next value will get xored in rotated to * 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 * pool is empty. */ diff --git a/lib/isc/win32/dir.c b/lib/isc/win32/dir.c index 93cc650e36..1fa91da223 100644 --- a/lib/isc/win32/dir.c +++ b/lib/isc/win32/dir.c @@ -15,7 +15,7 @@ * 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 */ @@ -118,7 +118,7 @@ isc_dir_read(isc_dir_t *dir) { &dir->entry.find_data) == FALSE) /* * 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. */ if (GetLastError() == ERROR_NO_MORE_FILES) diff --git a/lib/isc/win32/entropy.c b/lib/isc/win32/entropy.c index a505ab3b1c..4c8dd8cd8f 100644 --- a/lib/isc/win32/entropy.c +++ b/lib/isc/win32/entropy.c @@ -15,10 +15,10 @@ * 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 diff --git a/lib/isc/win32/interfaceiter.c b/lib/isc/win32/interfaceiter.c index 1451249590..01aee954c7 100644 --- a/lib/isc/win32/interfaceiter.c +++ b/lib/isc/win32/interfaceiter.c @@ -15,7 +15,7 @@ * 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. @@ -46,7 +46,7 @@ void InitSockets(void); /* * 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 * for copying a network mask obtained by SIOCGIFNETMASK (it does * not have a valid address family). diff --git a/lib/isc/win32/netdb.h b/lib/isc/win32/netdb.h index 4e3a935977..8634673448 100644 --- a/lib/isc/win32/netdb.h +++ b/lib/isc/win32/netdb.h @@ -15,7 +15,7 @@ * 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 #define NETDB_H 1 @@ -60,7 +60,7 @@ struct addrinfo { #define NETDB_INTERNAL -1 /* see errno */ #define NETDB_SUCCESS 0 /* no problem */ #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_DATA 4 /* Valid name, no data record of requested type */ #define NO_ADDRESS NO_DATA /* no address, look for MX record */ diff --git a/lib/isc/win32/socket.c b/lib/isc/win32/socket.c index 5a67819fe2..4ba15a7f04 100644 --- a/lib/isc/win32/socket.c +++ b/lib/isc/win32/socket.c @@ -15,7 +15,7 @@ * 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 * higher, and Windows XP and higher. @@ -87,7 +87,7 @@ LPFN_ACCEPTEX ISCAcceptEx; LPFN_GETACCEPTEXSOCKADDRS ISCGetAcceptExSockaddrs; /* - * Run expensive internal consistancy checks. + * Run expensive internal consistency checks. */ #ifdef ISC_SOCKET_CONSISTENCY_CHECKS #define CONSISTENT(sock) consistent(sock) @@ -489,7 +489,7 @@ iocompletionport_init(isc_socketmgr_t *manager) { REQUIRE(VALID_MANAGER(manager)); /* * 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); if (hHeapHandle == NULL) { @@ -1514,7 +1514,7 @@ consistent(isc_socket_t *sock) { /* * 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 * 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 @@ -1722,7 +1722,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type, } #endif #endif /* ISC_PLATFORM_HAVEIPV6 */ -#endif /* definef(USE_CMSG) */ +#endif /* defined(USE_CMSG) */ #if defined(SO_RCVBUF) optlen = sizeof(size); @@ -2355,7 +2355,7 @@ SocketIoThread(LPVOID ThreadContext) { if (senddone_is_active(sock, lpo->dev)) { lpo->dev->result = isc_result; socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0, - "cancelled_send"); + "canceled_send"); send_senddone_event(sock, &lpo->dev); } break; @@ -2372,7 +2372,7 @@ SocketIoThread(LPVOID ThreadContext) { free_socket(&lpo->adev->newsocket, __LINE__); lpo->adev->result = isc_result; socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0, - "cancelled_accept"); + "canceled_accept"); send_acceptdone_event(sock, &lpo->adev); } break; @@ -2385,7 +2385,7 @@ SocketIoThread(LPVOID ThreadContext) { if (connectdone_is_active(sock, lpo->cdev)) { lpo->cdev->result = isc_result; socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0, - "cancelled_connect"); + "canceled_connect"); send_connectdone_event(sock, &lpo->cdev); } 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_socket_accept(isc_socket_t *sock,