[codespell] fix spelling mistakes

This commit is contained in:
Armin Novak
2024-11-28 11:49:55 +01:00
parent 47c95aa799
commit 601249115f
9 changed files with 26 additions and 16 deletions

View File

@@ -485,7 +485,7 @@ Noteworthy changes:
by just turning on logging
* Full OpenSSL 3 support
* Internal implementations for RC4, MD4 and MD5 (required for non critical
parts in RDP but not part of more recend SSL libraries)
parts in RDP but not part of more recent SSL libraries)
* Updated RDP protocol support
* Improved xfreerdp remote app support
* Reworked internal state machine for both client and server implementations

View File

@@ -1862,7 +1862,7 @@ BOOL xf_setup_x11(xfContext* xfc)
xfc->UseXThreads = TRUE;
#if !defined(NDEBUG)
/* uncomment below if debugging to prevent keyboard grap */
/* uncomment below if debugging to prevent keyboard grab */
xfc->debug = TRUE;
#endif

View File

@@ -440,7 +440,7 @@ BOOL proxy_parse_uri(rdpSettings* settings, const char* uri_in)
{
if (_stricmp("http", protocol) == 0)
{
/* The default is 80. Also for Proxys. */
/* The default is 80. Also for Proxies. */
port = 80;
}
else

View File

@@ -198,7 +198,7 @@ static const XKB_VARIANT ca_variants[] = {
{ "multi", KBD_CANADIAN_MULTILINGUAL_STANDARD }, /* Multilingual, first part */
{ "multi-2gr", KBD_CANADIAN_MULTILINGUAL_STANDARD }, /* Multilingual, second part */
{ "ike", KBD_INUKTITUT_LATIN }, /* Inuktitut */
{ "shs", 0 }, /* Secwepemctsin */
{ "shs" /* codespell:ignore shs */, 0 }, /* Secwepemctsin */
{ "kut", 0 }, /* Ktunaxa */
{ "", 0 },
};

View File

@@ -900,8 +900,8 @@ static INLINE void ssse3_RGBToAVC444YUVv2_BGRX_DOUBLE_ROW(
const __m128i mask =
_mm_set_epi8((char)0x80, (char)0x80, (char)0x80, (char)0x80, (char)0x80,
(char)0x80, (char)0x80, (char)0x80, 15, 13, 11, 9, 7, 5, 3, 1);
const __m128i udo = _mm_shuffle_epi8(uo, mask);
_mm_storel_epi64((__m128i*)yOddChromaDst1, udo);
const __m128i udo /* codespell:ignore udo */ = _mm_shuffle_epi8(uo, mask);
_mm_storel_epi64((__m128i*)yOddChromaDst1, udo); // codespell:ignore udo
yOddChromaDst1 += 8;
}

View File

@@ -19,3 +19,6 @@ wan
bre
sur
numer
requestor
addin
Nome

View File

@@ -324,7 +324,7 @@ WINPR_PRAGMA_DIAG_IGNORED_RESERVED_IDENTIFIER
#define _In_count_(size)
#define _In_count_c_(size)
#define _In_count_x_(size)
#define _In_defensive_(annotes)
#define _In_defensive_(annotates)
#define _In_opt_
#define _In_opt_bytecount_(size)
#define _In_opt_bytecount_c_(size)
@@ -369,7 +369,7 @@ WINPR_PRAGMA_DIAG_IGNORED_RESERVED_IDENTIFIER
#define _Inout_count_(size)
#define _Inout_count_c_(size)
#define _Inout_count_x_(size)
#define _Inout_defensive_(annotes)
#define _Inout_defensive_(annotates)
#define _Inout_opt_
#define _Inout_opt_bytecap_(size)
#define _Inout_opt_bytecap_c_(size)
@@ -450,7 +450,7 @@ WINPR_PRAGMA_DIAG_IGNORED_RESERVED_IDENTIFIER
#define _Out_cap_x_(size)
#define _Out_capcount_(capcount)
#define _Out_capcount_x_(capcount)
#define _Out_defensive_(annotes)
#define _Out_defensive_(annotates)
#define _Out_opt_
#define _Out_opt_bytecap_(size)
#define _Out_opt_bytecap_c_(size)

View File

@@ -185,8 +185,9 @@ struct sockaddr_in6_old
typedef union sockaddr_gen
{
struct sockaddr Address;
struct sockaddr_in AddressIn;
struct sockaddr_in AddressIn; /* codespell:ignore addressin */
struct sockaddr_in6_old AddressIn6;
} sockaddr_gen;
WINPR_PRAGMA_DIAG_PUSH
@@ -351,8 +352,10 @@ extern "C"
WINPR_API struct hostent* _gethostbyaddr(const char* addr, int len, int type);
WINPR_API struct hostent* _gethostbyname(const char* name);
WINPR_API int _gethostname(char* name, int namelen);
WINPR_API struct servent* _getservbyport(int port, const char* proto);
WINPR_API struct servent* _getservbyname(const char* name, const char* proto);
WINPR_API struct servent* /* codespell:ignore servent */ _getservbyport(int port,
const char* proto);
WINPR_API struct servent* /* codespell:ignore servent */ _getservbyname(const char* name,
const char* proto);
WINPR_API struct protoent* _getprotobynumber(int number);
WINPR_API struct protoent* _getprotobyname(const char* name);

View File

@@ -1266,16 +1266,20 @@ int _gethostname(char* name, int namelen)
return status;
}
struct servent* _getservbyport(int port, const char* proto)
struct servent* /* codespell:ignore servent */ _getservbyport(int port, const char* proto)
{
struct servent* serv = NULL;
struct servent* serv = NULL; // codespell:ignore servent
serv = getservbyport(port, proto);
return serv;
}
struct servent* _getservbyname(const char* name, const char* proto)
struct servent* /* codespell:ignore servent */
_getservbyname(const char* name, const char* proto) // codespell:ignore servent
{
struct servent* serv = NULL;
struct servent* serv = NULL; // codespell:ignore servent
serv = getservbyname(name, proto);
return serv;
}