From: Dmitry V. Levin Date: Sat, 12 Dec 2020 16:50:12 +0000 (+0300) Subject: debuginfod: fix spelling typos in error diagnostics and comments X-Git-Tag: elfutils-0.183~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f0e6c5372250692cdaf35913143d33fcc60d17e;p=thirdparty%2Felfutils.git debuginfod: fix spelling typos in error diagnostics and comments Initalize -> Initialize Unsucessful -> Unsuccessful expession -> expression incompatiblity -> incompatibility Signed-off-by: Dmitry V. Levin --- diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index 0a7e458f6..379af2872 100644 --- a/debuginfod/ChangeLog +++ b/debuginfod/ChangeLog @@ -1,3 +1,10 @@ +2020-12-12 Dmitry V. Levin + + * debuginfod-client.c (debuginfod_query_server): Fix spelling typos in + comments. + * debuginfod.cxx: Likewise. + (parse_opt): Fix spelling typos in error diagnostics. + 2020-12-08 Dmitry V. Levin * Makefile.am [LIBDEBUGINFOD]: Create libdebuginfod.so.1 first, turn diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index a99f3c148..de26af5bb 100644 --- a/debuginfod/debuginfod-client.c +++ b/debuginfod/debuginfod-client.c @@ -751,7 +751,7 @@ debuginfod_query_server (debuginfod_client *c, /* thereafter, goto out1 on error. */ - /* Initalize handle_data with default values. */ + /* Initialize handle_data with default values. */ for (int i = 0; i < num_urls; i++) { data[i].handle = NULL; @@ -954,7 +954,7 @@ debuginfod_query_server (debuginfod_client *c, if (msg->data.result != CURLE_OK) { - /* Unsucessful query, determine error code. */ + /* Unsuccessful query, determine error code. */ switch (msg->data.result) { case CURLE_COULDNT_RESOLVE_HOST: rc = -EHOSTUNREACH; break; // no NXDOMAIN diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx index 41698787c..9a6971868 100644 --- a/debuginfod/debuginfod.cxx +++ b/debuginfod/debuginfod.cxx @@ -125,7 +125,7 @@ string_endswith(const string& haystack, const string& needle) } -// Roll this identifier for every sqlite schema incompatiblity. +// Roll this identifier for every sqlite schema incompatibility. #define BUILDIDS "buildids9" #if SQLITE_VERSION_NUMBER >= 3008000 @@ -521,13 +521,13 @@ parse_opt (int key, char *arg, regfree (&file_include_regex); rc = regcomp (&file_include_regex, arg, REG_EXTENDED|REG_NOSUB); if (rc != 0) - argp_failure(state, 1, EINVAL, "regular expession"); + argp_failure(state, 1, EINVAL, "regular expression"); break; case 'X': regfree (&file_exclude_regex); rc = regcomp (&file_exclude_regex, arg, REG_EXTENDED|REG_NOSUB); if (rc != 0) - argp_failure(state, 1, EINVAL, "regular expession"); + argp_failure(state, 1, EINVAL, "regular expression"); break; case ARGP_KEY_FDCACHE_FDS: fdcache_fds = atol (arg);