mirror of
https://github.com/curl/curl.git
synced 2026-08-26 11:43:32 +03:00
tidy-up: OS names
Use these words and casing more consistently across text, comments and one curl tool output: AIX, ALPN, ANSI, BSD, Cygwin, Darwin, FreeBSD, GitHub, HP-UX, Linux, macOS, MS-DOS, MSYS, MinGW, NTLM, POSIX, Solaris, UNIX, Unix, Unicode, WINE, WebDAV, Win32, winbind, WinIDN, Windows, Windows CE, Winsock. Mostly OS names and a few more. Also a couple of other minor text fixups. Closes #14360
This commit is contained in:
parent
a4ad7dc5a3
commit
f81f351b9a
146 changed files with 355 additions and 358 deletions
|
|
@ -422,11 +422,11 @@ static bool read_data_block(unsigned char *buffer, ssize_t maxlen,
|
|||
|
||||
#if defined(USE_WINSOCK) && !defined(CURL_WINDOWS_APP)
|
||||
/*
|
||||
* WinSock select() does not support standard file descriptors,
|
||||
* Winsock select() does not support standard file descriptors,
|
||||
* it can only check SOCKETs. The following function is an attempt
|
||||
* to re-create a select() function with support for other handle types.
|
||||
*
|
||||
* select() function with support for WINSOCK2 sockets and all
|
||||
* select() function with support for Winsock2 sockets and all
|
||||
* other handle types supported by WaitForMultipleObjectsEx() as
|
||||
* well as disk files, anonymous and names pipes, and character input.
|
||||
*
|
||||
|
|
@ -683,7 +683,7 @@ static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
|
|||
/* loop over the handles in the input descriptor sets */
|
||||
nfd = 0; /* number of handled file descriptors */
|
||||
nth = 0; /* number of internal waiting threads */
|
||||
nws = 0; /* number of handled WINSOCK sockets */
|
||||
nws = 0; /* number of handled Winsock sockets */
|
||||
for(fd = 0; fd < nfds; fd++) {
|
||||
wsasock = curlx_sitosk(fd);
|
||||
wsaevents.lNetworkEvents = 0;
|
||||
|
|
@ -829,7 +829,7 @@ static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
|
|||
FD_CLR(wsasock, exceptfds);
|
||||
}
|
||||
else {
|
||||
/* try to handle the event with the WINSOCK2 functions */
|
||||
/* try to handle the event with the Winsock2 functions */
|
||||
wsaevents.lNetworkEvents = 0;
|
||||
error = WSAEnumNetworkEvents(wsasock, handle, &wsaevents);
|
||||
if(error != SOCKET_ERROR) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue