aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorРоман Донченко <dpb@corrigendum.ru>2020-10-11 02:42:05 +0300
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2020-10-11 08:35:55 +0000
commit69e1aa860bf4230be6576f8367db2c8595b4e7a3 (patch)
treedda930620de01e5af724199258d126c0f3f4e2ca /wsutil
parentd3f2fa401959a8541d8ad71e2890330c0e262cc9 (diff)
Fix many spelling errors
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/filesystem.c2
-rw-r--r--wsutil/filesystem.h2
-rw-r--r--wsutil/nstime.c2
-rw-r--r--wsutil/rsa.c2
-rw-r--r--wsutil/strptime.c2
-rw-r--r--wsutil/win32-utils.c2
-rw-r--r--wsutil/ws_cpuid.h2
-rw-r--r--wsutil/ws_mempbrk_sse42.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c
index bf899f67a6..726e8d8467 100644
--- a/wsutil/filesystem.c
+++ b/wsutil/filesystem.c
@@ -1666,7 +1666,7 @@ create_persconffile_profile(const char *profilename, char **pf_dir_path_return)
* Something with that pathname exists; if it's not
* a directory, we'll get an error if we try to put
* something in it, so we don't fail here, we wait
- * for that attempt fo fail.
+ * for that attempt to fail.
*/
ret = 0;
}
diff --git a/wsutil/filesystem.h b/wsutil/filesystem.h
index b204fe5932..284dd1d01e 100644
--- a/wsutil/filesystem.h
+++ b/wsutil/filesystem.h
@@ -162,7 +162,7 @@ WS_DLL_PUBLIC int create_persconffile_profile(const char *profilename,
char **pf_dir_path_return);
/*
- * Returns the list of known profile config filesnames
+ * Returns the list of known profile config filenames
*/
WS_DLL_PUBLIC const GHashTable * allowed_profile_filenames(void);
diff --git a/wsutil/nstime.c b/wsutil/nstime.c
index 2b2020d340..16d6e0adcc 100644
--- a/wsutil/nstime.c
+++ b/wsutil/nstime.c
@@ -57,7 +57,7 @@ gboolean nstime_is_unset(const nstime_t *nstime)
}
-/** funcion: nstime_copy
+/** function: nstime_copy
*
* a = b
*/
diff --git a/wsutil/rsa.c b/wsutil/rsa.c
index c883e3c077..740173db59 100644
--- a/wsutil/rsa.c
+++ b/wsutil/rsa.c
@@ -90,7 +90,7 @@ rsa_load_pem_key(FILE *fp, char **err)
{
/* gnutls makes our work much harder, since we have to work internally with
* s-exp formatted data, but PEM loader exports only in "gnutls_datum_t"
- * format, and a datum -> s-exp convertion function does not exist.
+ * format, and a datum -> s-exp conversion function does not exist.
*/
gnutls_x509_privkey_t priv_key;
gnutls_datum_t key;
diff --git a/wsutil/strptime.c b/wsutil/strptime.c
index af1fe17d34..e525ca38e6 100644
--- a/wsutil/strptime.c
+++ b/wsutil/strptime.c
@@ -283,7 +283,7 @@ strptime_internal (rp, fmt, tm, decided, era_cnt)
}
/* Any character but `%' must be matched by the same character
- in the iput string. */
+ in the input string. */
if (*fmt != '%')
{
match_char (*fmt++, *rp++);
diff --git a/wsutil/win32-utils.c b/wsutil/win32-utils.c
index eed56d851d..c8917c694e 100644
--- a/wsutil/win32-utils.c
+++ b/wsutil/win32-utils.c
@@ -232,7 +232,7 @@ BOOL win32_create_process(const char *application_name, const char *command_line
// e.g. if we're running under "Run As", ConEmu, or Visual Studio. On Windows
// <= 7 our child process needs to break away from it so that we can cleanly
// call AssignProcessToJobObject on *our* job.
- // Windows >= 8 supports nested jobs so this isn't neccessary there.
+ // Windows >= 8 supports nested jobs so this isn't necessary there.
// https://blogs.msdn.microsoft.com/winsdk/2014/09/22/job-object-insanity/
//
if (! IsWindowsVersionOrGreater(6, 2, 0)) { // Windows 8
diff --git a/wsutil/ws_cpuid.h b/wsutil/ws_cpuid.h
index d649e55ced..a8803245b8 100644
--- a/wsutil/ws_cpuid.h
+++ b/wsutil/ws_cpuid.h
@@ -47,7 +47,7 @@ static gboolean
ws_cpuid(guint32 *CPUInfo _U_, int selector _U_)
{
/*
- * TODO: need a test if older proccesors have the cpuid instruction.
+ * TODO: need a test if older processors have the cpuid instruction.
*
* The correct way to test for this, according to the Intel64/IA-32
* documentation from Intel, in section 17.1 "USING THE CPUID
diff --git a/wsutil/ws_mempbrk_sse42.c b/wsutil/ws_mempbrk_sse42.c
index ac8b8ce105..d0193cec37 100644
--- a/wsutil/ws_mempbrk_sse42.c
+++ b/wsutil/ws_mempbrk_sse42.c
@@ -124,7 +124,7 @@ ws_mempbrk_sse42_exec(const char *haystack, size_t haystacklen, const ws_mempbrk
if (idx < 16 - offset)
{
/* found NUL @ 'idx', need to switch to slower mempbrk */
- return ws_mempbrk_portable_exec(haystack + idx + 1, haystacklen - idx - 1, pattern, found_needle); /* haystacklen is bigger than 16 & idx < 16 so no undeflow here */
+ return ws_mempbrk_portable_exec(haystack + idx + 1, haystacklen - idx - 1, pattern, found_needle); /* haystacklen is bigger than 16 & idx < 16 so no underflow here */
}
aligned += 16;
haystacklen -= (16 - offset);