Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
1016f263
Commit
1016f263
authored
Jan 18, 2009
by
Francis Dupont
Browse files
spelling
parent
3b8b4455
Changes
7
Hide whitespace changes
Inline
Side-by-side
lib/isc/base32.c
View file @
1016f263
...
...
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: base32.c,v 1.
3
200
8
/0
4/04 23:47:01 tbox
Exp $ */
/* $Id: base32.c,v 1.
4
200
9
/0
1/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 contig
i
ous.
* Check that padding is contig
u
ous.
*/
if
(
last
!=
32
&&
ctx
->
seen_32
!=
0
)
return
(
ISC_R_BADBASE32
);
...
...
lib/isc/entropy.c
View file @
1016f263
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: entropy.c,v 1.1
8
200
7
/0
6
/1
9 23:47:17 tbox
Exp $ */
/* $Id: entropy.c,v 1.1
9
200
9
/0
1
/1
8 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 relativ
e
ly prime to the word size
* to try to spread the bits throughout the pool quickly when the
* pool is empty.
*/
...
...
lib/isc/win32/dir.c
View file @
1016f263
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dir.c,v 1.1
6
200
8/11/02 23:47:01 tbox
Exp $ */
/* $Id: dir.c,v 1.1
7
200
9/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 occur
r
ed. The former is not
* really an error, but the latter is.
*/
if
(
GetLastError
()
==
ERROR_NO_MORE_FILES
)
...
...
lib/isc/win32/entropy.c
View file @
1016f263
...
...
@@ -15,10 +15,10 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: entropy.c,v 1.
8
200
7
/0
6
/1
9 23:47:19 tbox
Exp $ */
/* $Id: entropy.c,v 1.
9
200
9
/0
1
/1
8 00:18:17 fdupont
Exp $ */
/*
* This is the system depen
e
dent part of the ISC entropy API.
* This is the system dependent part of the ISC entropy API.
*/
#include <config.h>
...
...
lib/isc/win32/interfaceiter.c
View file @
1016f263
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfaceiter.c,v 1.1
3
200
8
/0
4
/18
19:47:48 each
Exp $ */
/* $Id: interfaceiter.c,v 1.1
4
200
9
/0
1
/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 explicit
l
y
* 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).
...
...
lib/isc/win32/netdb.h
View file @
1016f263
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: netdb.h,v 1.
7
200
7
/0
6
/1
9 23:47:19 tbox
Exp $ */
/* $Id: netdb.h,v 1.
8
200
9
/0
1
/1
8 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-Authorit
at
ive 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 */
...
...
lib/isc/win32/socket.c
View file @
1016f263
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.7
2
2009/01/
05 23:47:54 tbox
Exp $ */
/* $Id: socket.c,v 1.7
3
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 consist
a
ncy checks.
* Run expensive internal consist
e
ncy 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 mini
u
mum 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 veri
f
y 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
/* define
f
(USE_CMSG) */
#endif
/* define
d
(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
,
"cancel
l
ed_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
,
"cancel
l
ed_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
,
"cancel
l
ed_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 ag
g
ressive accept() XXXMLG
*/
isc_result_t
isc_socket_accept
(
isc_socket_t
*
sock
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment